SimBot 0.1.16 → 0.1.17
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 +19 -19
- data/Gemfile.lock +1 -1
- data/lib/Deamons/wash_trade.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: 32b72163e384024a1a359f8c4caeb4608b1a2231276d90ab1c30bc7849a7df29
|
4
|
+
data.tar.gz: 62012e0a2f95efa08ac5aba1a6b240787cab9dc34abadd95b15ac8b42f8bbf68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da356aafe472b1ded9f4bee88bafa3f8d5d883d6aceebbff4bc9ae420956b69266fbad6cd428abe7dbb39b818784c26d459f2a90ebd4753807f0ccfae9bd13e9
|
7
|
+
data.tar.gz: 6aff922044db7acf9cacfeb1f0ad182ad94670a0acccd25ff60af58a677f2bd711f152c49c84b22d8a79c54165190a0ac38845d4e483251ecce6708272863f6a
|
data/.idea/workspace.xml
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="true">
|
30
30
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
31
31
|
<provider selected="true" editor-type-id="text-editor">
|
32
|
-
<state relative-caret-position="
|
33
|
-
<caret line="
|
32
|
+
<state relative-caret-position="322">
|
33
|
+
<caret line="14" column="49" selection-start-line="14" selection-start-column="49" selection-end-line="14" selection-end-column="49" />
|
34
34
|
</state>
|
35
35
|
</provider>
|
36
36
|
</entry>
|
@@ -87,8 +87,8 @@
|
|
87
87
|
<file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
|
88
88
|
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
89
89
|
<provider selected="true" editor-type-id="text-editor">
|
90
|
-
<state relative-caret-position="
|
91
|
-
<caret line="
|
90
|
+
<state relative-caret-position="23">
|
91
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
92
92
|
</state>
|
93
93
|
</provider>
|
94
94
|
</entry>
|
@@ -96,8 +96,8 @@
|
|
96
96
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="false">
|
97
97
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
98
98
|
<provider selected="true" editor-type-id="text-editor">
|
99
|
-
<state relative-caret-position="
|
100
|
-
<caret line="
|
99
|
+
<state relative-caret-position="251">
|
100
|
+
<caret line="30" column="51" lean-forward="true" selection-start-line="30" selection-start-column="51" selection-end-line="30" selection-end-column="51" />
|
101
101
|
</state>
|
102
102
|
</provider>
|
103
103
|
</entry>
|
@@ -155,8 +155,8 @@
|
|
155
155
|
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
156
156
|
<option value="$PROJECT_DIR$/SimBot.gemspec" />
|
157
157
|
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
158
|
-
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
159
158
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
159
|
+
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
160
160
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
161
161
|
</list>
|
162
162
|
</option>
|
@@ -269,18 +269,18 @@
|
|
269
269
|
<workItem from="1528301072964" duration="35313000" />
|
270
270
|
<workItem from="1528709208580" duration="28075000" />
|
271
271
|
<workItem from="1529482548938" duration="7932000" />
|
272
|
-
<workItem from="1531747087172" duration="
|
272
|
+
<workItem from="1531747087172" duration="2980000" />
|
273
273
|
</task>
|
274
274
|
<servers />
|
275
275
|
</component>
|
276
276
|
<component name="TimeTrackingManager">
|
277
|
-
<option name="totallyTimeSpent" value="
|
277
|
+
<option name="totallyTimeSpent" value="110516000" />
|
278
278
|
</component>
|
279
279
|
<component name="ToolWindowManager">
|
280
280
|
<frame x="1545" y="22" width="1645" height="1058" extended-state="0" />
|
281
281
|
<editor active="true" />
|
282
282
|
<layout>
|
283
|
-
<window_info
|
283
|
+
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.18964441" />
|
284
284
|
<window_info anchor="bottom" id="TODO" order="6" />
|
285
285
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
286
286
|
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.51341236" side_tool="true" weight="0.3540305" />
|
@@ -289,7 +289,7 @@
|
|
289
289
|
<window_info anchor="bottom" id="Version Control" order="7" weight="0.3292683" />
|
290
290
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764" weight="0.3540305" />
|
291
291
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
292
|
-
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49619377" visible="true" weight="0.34422657" />
|
292
|
+
<window_info active="true" anchor="bottom" id="Terminal" order="7" sideWeight="0.49619377" visible="true" weight="0.34422657" />
|
293
293
|
<window_info id="Favorites" order="2" side_tool="true" />
|
294
294
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
295
295
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
@@ -816,24 +816,24 @@
|
|
816
816
|
</state>
|
817
817
|
</provider>
|
818
818
|
</entry>
|
819
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
819
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
820
820
|
<provider selected="true" editor-type-id="text-editor">
|
821
|
-
<state relative-caret-position="
|
822
|
-
<caret line="
|
821
|
+
<state relative-caret-position="322">
|
822
|
+
<caret line="14" column="49" selection-start-line="14" selection-start-column="49" selection-end-line="14" selection-end-column="49" />
|
823
823
|
</state>
|
824
824
|
</provider>
|
825
825
|
</entry>
|
826
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
826
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
827
827
|
<provider selected="true" editor-type-id="text-editor">
|
828
|
-
<state relative-caret-position="
|
829
|
-
<caret line="
|
828
|
+
<state relative-caret-position="251">
|
829
|
+
<caret line="30" column="51" lean-forward="true" selection-start-line="30" selection-start-column="51" selection-end-line="30" selection-end-column="51" />
|
830
830
|
</state>
|
831
831
|
</provider>
|
832
832
|
</entry>
|
833
833
|
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
834
834
|
<provider selected="true" editor-type-id="text-editor">
|
835
|
-
<state relative-caret-position="
|
836
|
-
<caret line="
|
835
|
+
<state relative-caret-position="23">
|
836
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
837
837
|
</state>
|
838
838
|
</provider>
|
839
839
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/Deamons/wash_trade.rb
CHANGED
@@ -28,10 +28,10 @@ module Deamons
|
|
28
28
|
vol = rand(0.1...1)
|
29
29
|
price = aug_price
|
30
30
|
@api.post_order(@market, price, vol, 'sell')
|
31
|
-
delay = (1.00 / @freq)
|
32
|
-
sleep(delay)
|
33
31
|
@api.post_order(@market, price, vol, 'buy')
|
34
32
|
puts "order ##{count} placed"
|
33
|
+
delay = (1.00 / @freq)
|
34
|
+
sleep(delay)
|
35
35
|
count += 1
|
36
36
|
rescue ::StandardError => e
|
37
37
|
STDERR.puts e
|
data/lib/SimBot/version.rb
CHANGED