SimBot 0.1.6 → 0.1.7
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 +22 -26
- data/Gemfile.lock +1 -1
- data/lib/SimBot/version.rb +1 -1
- data/lib/wash_trade.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f23731bdfcde34aa3eb420707de46304af93442a5ae88dd75259fb72b72db81c
|
4
|
+
data.tar.gz: 96a2ceeec7de26a051c5058109280d9b4fb6980f4d5aa1e223c446d61c1a8dd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22c8bb00038be21ba541de53ea3885fd73e4f617e1b2f96eb3e3606562c8c4f74b904581d91482b529b7d34cbb5bd2ddf5573f21095c48e978f368c44e1c85bd
|
7
|
+
data.tar.gz: c4618db0c1411cfa7e2cf65ce0f9b52e155e8bb62756a18093f7f498907144249b3478bb68afb77b821aa22d710156ad71af52478f5ebf15c25eedd6d42d3245
|
data/.idea/workspace.xml
CHANGED
@@ -3,14 +3,9 @@
|
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="d905eaf2-5cab-434b-a4d1-1ccf165356a4" name="Default" comment="">
|
5
5
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
6
|
-
<change beforePath="$PROJECT_DIR$/SimBot-0.1.1.gem" beforeDir="false" />
|
7
|
-
<change beforePath="$PROJECT_DIR$/SimBot-0.1.2.gem" beforeDir="false" />
|
8
|
-
<change beforePath="$PROJECT_DIR$/SimBot-0.1.3.gem" beforeDir="false" />
|
9
|
-
<change beforePath="$PROJECT_DIR$/SimBot-0.1.4.gem" beforeDir="false" />
|
10
6
|
<change beforePath="$PROJECT_DIR$/SimBot-0.1.5.gem" beforeDir="false" />
|
11
|
-
<change beforePath="$PROJECT_DIR$/
|
12
|
-
<change beforePath="$PROJECT_DIR$/lib/
|
13
|
-
<change beforePath="$PROJECT_DIR$/lib/SimBot/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/SimBot/version.rb" afterDir="false" />
|
7
|
+
<change beforePath="$PROJECT_DIR$/SimBot-0.1.6.gem" beforeDir="false" />
|
8
|
+
<change beforePath="$PROJECT_DIR$/lib/wash_trade.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/wash_trade.rb" afterDir="false" />
|
14
9
|
</list>
|
15
10
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
16
11
|
<option name="TRACKING_ENABLED" value="true" />
|
@@ -26,11 +21,11 @@
|
|
26
21
|
<splitter split-orientation="horizontal" split-proportion="0.52644426">
|
27
22
|
<split-first>
|
28
23
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
29
|
-
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="
|
24
|
+
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="true">
|
30
25
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
31
26
|
<provider selected="true" editor-type-id="text-editor">
|
32
|
-
<state relative-caret-position="
|
33
|
-
<caret line="
|
27
|
+
<state relative-caret-position="276">
|
28
|
+
<caret line="12" column="62" selection-start-line="12" selection-start-column="54" selection-end-line="12" selection-end-column="62" />
|
34
29
|
</state>
|
35
30
|
</provider>
|
36
31
|
</entry>
|
@@ -53,11 +48,11 @@
|
|
53
48
|
</provider>
|
54
49
|
</entry>
|
55
50
|
</file>
|
56
|
-
<file leaf-file-name="version.rb" pinned="false" current-in-tab="
|
51
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
57
52
|
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
58
53
|
<provider selected="true" editor-type-id="text-editor">
|
59
|
-
<state relative-caret-position="
|
60
|
-
<caret line="
|
54
|
+
<state relative-caret-position="69">
|
55
|
+
<caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
|
61
56
|
</state>
|
62
57
|
</provider>
|
63
58
|
</entry>
|
@@ -114,8 +109,8 @@
|
|
114
109
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="true">
|
115
110
|
<entry file="file://$PROJECT_DIR$/lib/wash_trade.rb">
|
116
111
|
<provider selected="true" editor-type-id="text-editor">
|
117
|
-
<state relative-caret-position="
|
118
|
-
<caret line="
|
112
|
+
<state relative-caret-position="236">
|
113
|
+
<caret line="29" column="18" lean-forward="true" selection-start-line="29" selection-start-column="18" selection-end-line="29" selection-end-column="18" />
|
119
114
|
</state>
|
120
115
|
</provider>
|
121
116
|
</entry>
|
@@ -155,6 +150,7 @@
|
|
155
150
|
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
156
151
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
157
152
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
153
|
+
<option value="$PROJECT_DIR$/lib/wash_trade.rb" />
|
158
154
|
</list>
|
159
155
|
</option>
|
160
156
|
</component>
|
@@ -267,12 +263,12 @@
|
|
267
263
|
<option name="presentableId" value="Default" />
|
268
264
|
<updated>1525279604835</updated>
|
269
265
|
<workItem from="1525279607229" duration="36216000" />
|
270
|
-
<workItem from="1528301072964" duration="
|
266
|
+
<workItem from="1528301072964" duration="33362000" />
|
271
267
|
</task>
|
272
268
|
<servers />
|
273
269
|
</component>
|
274
270
|
<component name="TimeTrackingManager">
|
275
|
-
<option name="totallyTimeSpent" value="
|
271
|
+
<option name="totallyTimeSpent" value="69578000" />
|
276
272
|
</component>
|
277
273
|
<component name="ToolWindowManager">
|
278
274
|
<frame x="1440" y="22" width="1615" height="1058" extended-state="0" />
|
@@ -282,7 +278,7 @@
|
|
282
278
|
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
|
283
279
|
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
|
284
280
|
<window_info anchor="bottom" id="Version Control" order="7" />
|
285
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722"
|
281
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
286
282
|
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49619377" weight="0.41463414" />
|
287
283
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22504768" />
|
288
284
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
@@ -474,24 +470,24 @@
|
|
474
470
|
</state>
|
475
471
|
</provider>
|
476
472
|
</entry>
|
477
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
473
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
478
474
|
<provider selected="true" editor-type-id="text-editor">
|
479
|
-
<state relative-caret-position="
|
480
|
-
<caret line="
|
475
|
+
<state relative-caret-position="69">
|
476
|
+
<caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
|
481
477
|
</state>
|
482
478
|
</provider>
|
483
479
|
</entry>
|
484
480
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
485
481
|
<provider selected="true" editor-type-id="text-editor">
|
486
|
-
<state relative-caret-position="
|
487
|
-
<caret line="
|
482
|
+
<state relative-caret-position="276">
|
483
|
+
<caret line="12" column="62" selection-start-line="12" selection-start-column="54" selection-end-line="12" selection-end-column="62" />
|
488
484
|
</state>
|
489
485
|
</provider>
|
490
486
|
</entry>
|
491
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
487
|
+
<entry file="file://$PROJECT_DIR$/lib/wash_trade.rb">
|
492
488
|
<provider selected="true" editor-type-id="text-editor">
|
493
|
-
<state relative-caret-position="
|
494
|
-
<caret line="
|
489
|
+
<state relative-caret-position="236">
|
490
|
+
<caret line="29" column="18" lean-forward="true" selection-start-line="29" selection-start-column="18" selection-end-line="29" selection-end-column="18" />
|
495
491
|
</state>
|
496
492
|
</provider>
|
497
493
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/SimBot/version.rb
CHANGED
data/lib/wash_trade.rb
CHANGED
@@ -20,7 +20,7 @@ module Deamons
|
|
20
20
|
def start
|
21
21
|
count = 0
|
22
22
|
loop do
|
23
|
-
vol = rand(
|
23
|
+
vol = rand(0.2...2)
|
24
24
|
price = Utils.get_bchbtc_price
|
25
25
|
@api.post_order(@market, price, vol, 'sell')
|
26
26
|
delay = (1.00 / @freq)
|
@@ -29,6 +29,8 @@ module Deamons
|
|
29
29
|
puts "order ##{count} placed"
|
30
30
|
count += 1
|
31
31
|
end
|
32
|
+
rescue ::StandardError => e
|
33
|
+
puts e
|
32
34
|
end
|
33
35
|
|
34
36
|
# Attempts to write the pid of the forked process to the pid file.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SimBot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Ovadia
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|