SimBot 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +8 -13
- data/Gemfile.lock +1 -1
- data/lib/Deamons/simple_mm.rb +2 -2
- data/lib/SimBot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d0596a0c844308e6943928edc76254a8aad4857a040c403314096841461be73
|
4
|
+
data.tar.gz: 45df72d77d497db2d69281714057621aff2986338d60f0c32dbe16dd70316447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab2440d5e4810e868290687ec3d941a27499928691da1f51284a6cfea3ece809eb740d3601cb43955948446deb32c7386a8aa8b52b92d82be59038374dca3285
|
7
|
+
data.tar.gz: aa66f0b6c80ff4c933a93bf113315ea802fc9e3a8858bb2878ad9c232475d6ad2f3605158e1cd6aec1229b7d33ed13418896a1fc633d1b2525c2b8b7d636b2d5
|
data/.idea/workspace.xml
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="true">
|
39
39
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
40
40
|
<provider selected="true" editor-type-id="text-editor">
|
41
|
-
<state relative-caret-position="
|
41
|
+
<state relative-caret-position="441">
|
42
42
|
<caret line="70" column="27" selection-start-line="70" selection-start-column="27" selection-end-line="70" selection-end-column="27" />
|
43
43
|
</state>
|
44
44
|
</provider>
|
@@ -62,11 +62,6 @@
|
|
62
62
|
</provider>
|
63
63
|
</entry>
|
64
64
|
</file>
|
65
|
-
<file leaf-file-name="1974.errfile" pinned="false" current-in-tab="false">
|
66
|
-
<entry file="file://$PROJECT_DIR$/1974.errfile">
|
67
|
-
<provider selected="true" editor-type-id="text-editor" />
|
68
|
-
</entry>
|
69
|
-
</file>
|
70
65
|
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
71
66
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
72
67
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -101,8 +96,8 @@
|
|
101
96
|
<file leaf-file-name="simple_mm.rb" pinned="false" current-in-tab="false">
|
102
97
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
103
98
|
<provider selected="true" editor-type-id="text-editor">
|
104
|
-
<state relative-caret-position="
|
105
|
-
<caret line="45" column="
|
99
|
+
<state relative-caret-position="236">
|
100
|
+
<caret line="45" column="25" lean-forward="true" selection-start-line="34" selection-start-column="7" selection-end-line="35" />
|
106
101
|
</state>
|
107
102
|
</provider>
|
108
103
|
</entry>
|
@@ -309,12 +304,12 @@
|
|
309
304
|
<workItem from="1531747087172" duration="4944000" />
|
310
305
|
<workItem from="1531824473237" duration="2590000" />
|
311
306
|
<workItem from="1532528275009" duration="12558000" />
|
312
|
-
<workItem from="1532961242324" duration="
|
307
|
+
<workItem from="1532961242324" duration="23086000" />
|
313
308
|
</task>
|
314
309
|
<servers />
|
315
310
|
</component>
|
316
311
|
<component name="TimeTrackingManager">
|
317
|
-
<option name="totallyTimeSpent" value="
|
312
|
+
<option name="totallyTimeSpent" value="150714000" />
|
318
313
|
</component>
|
319
314
|
<component name="ToolWindowManager">
|
320
315
|
<frame x="1443" y="22" width="1645" height="1028" extended-state="0" />
|
@@ -587,15 +582,15 @@
|
|
587
582
|
</entry>
|
588
583
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
589
584
|
<provider selected="true" editor-type-id="text-editor">
|
590
|
-
<state relative-caret-position="
|
585
|
+
<state relative-caret-position="441">
|
591
586
|
<caret line="70" column="27" selection-start-line="70" selection-start-column="27" selection-end-line="70" selection-end-column="27" />
|
592
587
|
</state>
|
593
588
|
</provider>
|
594
589
|
</entry>
|
595
590
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
596
591
|
<provider selected="true" editor-type-id="text-editor">
|
597
|
-
<state relative-caret-position="
|
598
|
-
<caret line="45" column="
|
592
|
+
<state relative-caret-position="236">
|
593
|
+
<caret line="45" column="25" lean-forward="true" selection-start-line="34" selection-start-column="7" selection-end-line="35" />
|
599
594
|
</state>
|
600
595
|
</provider>
|
601
596
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/Deamons/simple_mm.rb
CHANGED
@@ -25,7 +25,7 @@ module Deamons
|
|
25
25
|
loop do
|
26
26
|
data = Utils.binane_order_book
|
27
27
|
populate_order_book(data)
|
28
|
-
sleep(
|
28
|
+
sleep(500)
|
29
29
|
count += 1
|
30
30
|
rescue ::StandardError => e
|
31
31
|
STDERR.puts e.backtrace
|
@@ -46,7 +46,7 @@ module Deamons
|
|
46
46
|
txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 100, 'sell'))
|
47
47
|
ord.push(txID['id'])
|
48
48
|
@api.cancel_order(@order_book[:asks][nums[i]][-1]) if @order_book[:asks].size > 2
|
49
|
-
sleep(
|
49
|
+
sleep(1)
|
50
50
|
end
|
51
51
|
@order_book = data
|
52
52
|
puts data.inspect
|
data/lib/SimBot/version.rb
CHANGED