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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0967b764cab71885201675984bf0e86616cf8c1f9fb5c4ed19f48e42a10db71
4
- data.tar.gz: 5003486c7f52fff2462a212587b3f47ce1cd0ed30aea58b99df33b256b7e1a21
3
+ metadata.gz: 32b72163e384024a1a359f8c4caeb4608b1a2231276d90ab1c30bc7849a7df29
4
+ data.tar.gz: 62012e0a2f95efa08ac5aba1a6b240787cab9dc34abadd95b15ac8b42f8bbf68
5
5
  SHA512:
6
- metadata.gz: f1a43d02eca8b0a92e26dcfadadaf76767cef9c8267c260151e683ff5a2958f8a33bf3e84baf44ab660d47e5fa1341a3fafdc535bb9bdff8618c1dfa153dfcee
7
- data.tar.gz: a79c2938413c583c5952015a29138330d94607cdc3603ff75bd20e1bbc1ebda1450af515bcfbed1f128b433a313b8e5bda75735fc45adb2ebdd446c4735eca6a
6
+ metadata.gz: da356aafe472b1ded9f4bee88bafa3f8d5d883d6aceebbff4bc9ae420956b69266fbad6cd428abe7dbb39b818784c26d459f2a90ebd4753807f0ccfae9bd13e9
7
+ data.tar.gz: 6aff922044db7acf9cacfeb1f0ad182ad94670a0acccd25ff60af58a677f2bd711f152c49c84b22d8a79c54165190a0ac38845d4e483251ecce6708272863f6a
@@ -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="46">
33
- <caret line="2" column="23" lean-forward="true" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
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="69">
91
- <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
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="621">
100
- <caret line="27" column="26" selection-start-line="27" selection-start-column="26" selection-end-line="27" selection-end-column="26" />
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="2489000" />
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="110025000" />
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 active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18964441" />
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/Deamons/wash_trade.rb">
819
+ <entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
820
820
  <provider selected="true" editor-type-id="text-editor">
821
- <state relative-caret-position="621">
822
- <caret line="27" column="26" selection-start-line="27" selection-start-column="26" selection-end-line="27" selection-end-column="26" />
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/SimBot.rb">
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="46">
829
- <caret line="2" column="23" lean-forward="true" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
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="69">
836
- <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
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>
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- SimBot (0.1.15)
4
+ SimBot (0.1.16)
5
5
  json
6
6
  pusher-client
7
7
  rest-client
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SimBot
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SimBot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Ovadia