SimBot 0.1.25 → 0.1.26

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: b552cea76906471d3a43cdd09fa90f79aeb87a511ec2293acbb92450b415fb81
4
- data.tar.gz: 312659bf7e3a28ef501e8bf7ddf4de2149fa157308a6d04e27ef4359431a2ddd
3
+ metadata.gz: ecf38cefe777ca32442de992829c6055d3fba4a41d192eb3f8af23a1983709b3
4
+ data.tar.gz: 2424f5352a1b9eb9a14f6b52159a9776c710123d34a43b16a71ec2487b7b3b00
5
5
  SHA512:
6
- metadata.gz: ffe7e222b41650742fb8b709d3673ee28f98899b9c787be6af316fac76688629098a1a8cd4dc088199bc09fea974321fcd5a6b7fa81165469e7bbc3c935bdeec
7
- data.tar.gz: 46ec1a55b0003ed1f3506265ae0191e03b3b87d22e221a194653fc227dc9783bf92eeaeb0b4d8e63547aeb6880f1bf594185c4f7df66d663b5bff56274d30e9b
6
+ metadata.gz: f2de0463c494824ff97333828809b305e96be84fb10bbd78ee2077b2e283864c5af4435b1cc6de84a6716b54958227ab09bf38c9e070292f681a5be2b75d698e
7
+ data.tar.gz: 9fefc087534e42817702e071c53f0cbff02d9239db174644d9914a4e45cafcc38fb02a242354eec17011eaea5d0a9f19ca2a1fbf873d48272a36c73470a01e90
data/.idea/workspace.xml CHANGED
@@ -96,8 +96,8 @@
96
96
  <file leaf-file-name="simple_mm.rb" pinned="false" current-in-tab="false">
97
97
  <entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
98
98
  <provider selected="true" editor-type-id="text-editor">
99
- <state relative-caret-position="293">
100
- <caret line="46" column="80" selection-start-line="46" selection-start-column="80" selection-end-line="46" selection-end-column="80" />
99
+ <state relative-caret-position="311">
100
+ <caret line="46" column="81" selection-start-line="46" selection-start-column="81" selection-end-line="46" selection-end-column="81" />
101
101
  </state>
102
102
  </provider>
103
103
  </entry>
@@ -177,8 +177,8 @@
177
177
  <option value="$PROJECT_DIR$/90285.errfile" />
178
178
  <option value="$PROJECT_DIR$/90657.outfile" />
179
179
  <option value="$PROJECT_DIR$/90429.outfile" />
180
- <option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
181
180
  <option value="$PROJECT_DIR$/lib/SimBot.rb" />
181
+ <option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
182
182
  <option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
183
183
  </list>
184
184
  </option>
@@ -308,12 +308,12 @@
308
308
  <workItem from="1531824473237" duration="2590000" />
309
309
  <workItem from="1532528275009" duration="12558000" />
310
310
  <workItem from="1532961242324" duration="27612000" />
311
- <workItem from="1534345863853" duration="1383000" />
311
+ <workItem from="1534345863853" duration="1441000" />
312
312
  </task>
313
313
  <servers />
314
314
  </component>
315
315
  <component name="TimeTrackingManager">
316
- <option name="totallyTimeSpent" value="156623000" />
316
+ <option name="totallyTimeSpent" value="156681000" />
317
317
  </component>
318
318
  <component name="ToolWindowManager">
319
319
  <frame x="36" y="22" width="1645" height="1028" extended-state="0" />
@@ -325,10 +325,10 @@
325
325
  <window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.50904554" side_tool="true" weight="0.3457207" />
326
326
  <window_info anchor="right" id="Database" order="3" />
327
327
  <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
328
- <window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764" weight="0.3536036" />
328
+ <window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764" visible="true" weight="0.3536036" />
329
329
  <window_info anchor="bottom" id="Version Control" order="7" weight="0.3292683" />
330
330
  <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
331
- <window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" visible="true" weight="0.33896396" />
331
+ <window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" weight="0.33896396" />
332
332
  <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
333
333
  <window_info id="Favorites" order="2" side_tool="true" />
334
334
  <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
@@ -575,8 +575,8 @@
575
575
  </entry>
576
576
  <entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
577
577
  <provider selected="true" editor-type-id="text-editor">
578
- <state relative-caret-position="293">
579
- <caret line="46" column="80" selection-start-line="46" selection-start-column="80" selection-end-line="46" selection-end-column="80" />
578
+ <state relative-caret-position="311">
579
+ <caret line="46" column="81" selection-start-line="46" selection-start-column="81" selection-end-line="46" selection-end-column="81" />
580
580
  </state>
581
581
  </provider>
582
582
  </entry>
@@ -39,12 +39,12 @@ module Deamons
39
39
  nums = (0..range).to_a.shuffle
40
40
  for i in (0..range)
41
41
  ord = data[:bids][nums[i]]
42
- txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 10, 'buy'))
42
+ txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 500, 'buy'))
43
43
  puts txID
44
44
  ord.push(txID['id'])
45
45
  @api.cancel_order(@order_book[:bids][nums[i]][-1]) if @order_book[:bids].size > 400
46
46
  ord = data[:asks][nums[i]]
47
- txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 10, 'sell'))
47
+ txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 500, 'sell'))
48
48
  ord.push(txID['id'])
49
49
  @api.cancel_order(@order_book[:asks][nums[i]][-1]) if @order_book[:asks].size > 400
50
50
  sleep(1)
@@ -1,3 +1,3 @@
1
1
  module SimBot
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
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.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Ovadia