SimBot 0.1.12 → 0.1.13
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 +12 -13
- data/Gemfile.lock +1 -1
- data/lib/SimBot/version.rb +1 -1
- data/lib/wash_trade.rb +3 -3
- 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: 0b51e3b9ab75581f85ffcec039f95e6c72866c67b1c34fba12bf7043bd23a7e3
|
4
|
+
data.tar.gz: 47514f63841786f5e32df4c1269a76fb29562777f5cbc0dc500c43ce664a0e2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf4f37fc2fa72180ef9d32467e60ccf954eb47b2e6322fa4c506307437183b33f81aa7d86b95ab9714a7ea20cd3968fb8902954dac363f23122f967fb01a062d
|
7
|
+
data.tar.gz: 5b911eb558750bcd6206f397804920aa1805ecbf9dff035152a6386bf2d4b47e6afb8c602026fcfcab50011c07463ecf76e524dfeac24193414e889ade812691
|
data/.idea/workspace.xml
CHANGED
@@ -2,9 +2,8 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="d905eaf2-5cab-434b-a4d1-1ccf165356a4" name="Default" comment="">
|
5
|
-
<change beforePath="$PROJECT_DIR$/
|
5
|
+
<change beforePath="$PROJECT_DIR$/SimBot-0.1.12.gem" beforeDir="false" />
|
6
6
|
<change beforePath="$PROJECT_DIR$/lib/SimBot/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/SimBot/version.rb" afterDir="false" />
|
7
|
-
<change beforePath="$PROJECT_DIR$/lib/utils.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/utils.rb" afterDir="false" />
|
8
7
|
<change beforePath="$PROJECT_DIR$/lib/wash_trade.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/wash_trade.rb" afterDir="false" />
|
9
8
|
</list>
|
10
9
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
@@ -109,8 +108,8 @@
|
|
109
108
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="true">
|
110
109
|
<entry file="file://$PROJECT_DIR$/lib/wash_trade.rb">
|
111
110
|
<provider selected="true" editor-type-id="text-editor">
|
112
|
-
<state relative-caret-position="
|
113
|
-
<caret line="
|
111
|
+
<state relative-caret-position="156">
|
112
|
+
<caret line="35" column="7" lean-forward="true" selection-start-line="35" selection-start-column="7" selection-end-line="35" selection-end-column="7" />
|
114
113
|
</state>
|
115
114
|
</provider>
|
116
115
|
</entry>
|
@@ -149,8 +148,8 @@
|
|
149
148
|
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
150
149
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
151
150
|
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
152
|
-
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
153
151
|
<option value="$PROJECT_DIR$/lib/wash_trade.rb" />
|
152
|
+
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
154
153
|
</list>
|
155
154
|
</option>
|
156
155
|
</component>
|
@@ -265,12 +264,12 @@
|
|
265
264
|
<updated>1525279604835</updated>
|
266
265
|
<workItem from="1525279607229" duration="36216000" />
|
267
266
|
<workItem from="1528301072964" duration="35313000" />
|
268
|
-
<workItem from="1528709208580" duration="
|
267
|
+
<workItem from="1528709208580" duration="10176000" />
|
269
268
|
</task>
|
270
269
|
<servers />
|
271
270
|
</component>
|
272
271
|
<component name="TimeTrackingManager">
|
273
|
-
<option name="totallyTimeSpent" value="
|
272
|
+
<option name="totallyTimeSpent" value="81705000" />
|
274
273
|
</component>
|
275
274
|
<component name="ToolWindowManager">
|
276
275
|
<frame x="1440" y="22" width="1615" height="1058" extended-state="0" />
|
@@ -543,17 +542,17 @@
|
|
543
542
|
</state>
|
544
543
|
</provider>
|
545
544
|
</entry>
|
546
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
545
|
+
<entry file="file://$PROJECT_DIR$/lib/wash_trade.rb">
|
547
546
|
<provider selected="true" editor-type-id="text-editor">
|
548
|
-
<state relative-caret-position="
|
549
|
-
<caret line="
|
547
|
+
<state relative-caret-position="156">
|
548
|
+
<caret line="35" column="7" lean-forward="true" selection-start-line="35" selection-start-column="7" selection-end-line="35" selection-end-column="7" />
|
550
549
|
</state>
|
551
550
|
</provider>
|
552
551
|
</entry>
|
553
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
552
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
554
553
|
<provider selected="true" editor-type-id="text-editor">
|
555
|
-
<state relative-caret-position="
|
556
|
-
<caret line="
|
554
|
+
<state relative-caret-position="23">
|
555
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
557
556
|
</state>
|
558
557
|
</provider>
|
559
558
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/SimBot/version.rb
CHANGED
data/lib/wash_trade.rb
CHANGED
@@ -5,6 +5,7 @@ module Deamons
|
|
5
5
|
require 'utils'
|
6
6
|
def initialize(api, market, freq)
|
7
7
|
@g_count = 1
|
8
|
+
@range = 1.015
|
8
9
|
@api = api
|
9
10
|
@market = market
|
10
11
|
@freq = freq
|
@@ -35,13 +36,12 @@ module Deamons
|
|
35
36
|
end
|
36
37
|
|
37
38
|
def move_price
|
38
|
-
range = 1.015
|
39
39
|
if @g_count > 60
|
40
|
-
range = rand(1.003...1.010)
|
40
|
+
@range = rand(1.003...1.010)
|
41
41
|
@g_count = 0
|
42
42
|
end
|
43
43
|
@g_count += 1
|
44
|
-
Utils.quote(@market) * rand(1.002
|
44
|
+
Utils.quote(@market) * rand(1.002...@range)
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attempts to write the pid of the forked process to the pid file.
|