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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a441c0eab14bf41e786f9f56d917ee5eb743a8d8936514d072260447a005d8e
4
- data.tar.gz: 56486b83294eff1eed4754333ca0c9a0624aa1ef4917bc570e1d3246c912ebd2
3
+ metadata.gz: 8d0596a0c844308e6943928edc76254a8aad4857a040c403314096841461be73
4
+ data.tar.gz: 45df72d77d497db2d69281714057621aff2986338d60f0c32dbe16dd70316447
5
5
  SHA512:
6
- metadata.gz: c3e6399e96be872d07380377c4e850568351289d2c8d05b5cda421702963ea0bb0382e26d67302066d9354f409502c7ffafe521c5c2dbc8ab660182ad86880d7
7
- data.tar.gz: 5afef96b3af1a147472744b9834e93cb94a6ab3fbd0c4cb79bb58807fa13979952f8a4e2133bdf07e2311eaff3e4177428c844f5e0f03d7c7d05bb4353fd6e4d
6
+ metadata.gz: ab2440d5e4810e868290687ec3d941a27499928691da1f51284a6cfea3ece809eb740d3601cb43955948446deb32c7386a8aa8b52b92d82be59038374dca3285
7
+ data.tar.gz: aa66f0b6c80ff4c933a93bf113315ea802fc9e3a8858bb2878ad9c232475d6ad2f3605158e1cd6aec1229b7d33ed13418896a1fc633d1b2525c2b8b7d636b2d5
@@ -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="460">
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="224">
105
- <caret line="45" column="88" selection-start-line="45" selection-start-column="88" selection-end-line="45" selection-end-column="88" />
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="22537000" />
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="150165000" />
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="460">
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="224">
598
- <caret line="45" column="88" selection-start-line="45" selection-start-column="88" selection-end-line="45" selection-end-column="88" />
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>
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- SimBot (0.1.21)
4
+ SimBot (0.1.22)
5
5
  json
6
6
  mail
7
7
  rest-client
@@ -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(50)
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(0.1)
49
+ sleep(1)
50
50
  end
51
51
  @order_book = data
52
52
  puts data.inspect
@@ -1,3 +1,3 @@
1
1
  module SimBot
2
- VERSION = "0.1.22"
2
+ VERSION = "0.1.23"
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.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Ovadia