SimBot 0.1.36 → 0.1.37
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 +47 -31
- data/lib/Deamons/wash_trade.rb +1 -1
- data/lib/SimBot/version.rb +1 -1
- 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: c06abc25699c0e07964a7a640a2d887ef91b2a2d98b472128916722bcd194245
|
4
|
+
data.tar.gz: a0c54890f711b1ecc361077cfe17f754d9c8fe0862b4a444b1945820092f50a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a16954c01f0d434c78ec85a4f926a7e3e08a8a92d3298fadd1c4da5348c93f0833794b60b57241c8a46cf65e20a0dcfbacadecb9de0217a54a59fad672dd4ad
|
7
|
+
data.tar.gz: 67bffb1ab6337ce4c5f35f88c8eab5abccb50019c602836f16200791f5bcbe74e18369fa856c322e17eb021a7ea09a3edb952bacd829db533b22112277c1b9aa
|
data/.idea/workspace.xml
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
|
12
12
|
<change beforePath="$PROJECT_DIR$/SimBot.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/SimBot.gemspec" afterDir="false" />
|
13
13
|
<change beforePath="$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb" afterDir="false" />
|
14
|
+
<change beforePath="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" afterDir="false" />
|
14
15
|
<change beforePath="$PROJECT_DIR$/lib/SimBot.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/SimBot.rb" afterDir="false" />
|
15
16
|
<change beforePath="$PROJECT_DIR$/lib/SimBot/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/SimBot/version.rb" afterDir="false" />
|
16
17
|
<change beforePath="$PROJECT_DIR$/lib/utils.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/utils.rb" afterDir="false" />
|
@@ -103,8 +104,8 @@
|
|
103
104
|
<file leaf-file-name="bitcoind.rb" pinned="false" current-in-tab="false">
|
104
105
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
105
106
|
<provider selected="true" editor-type-id="text-editor">
|
106
|
-
<state relative-caret-position="
|
107
|
-
<caret line="
|
107
|
+
<state relative-caret-position="115">
|
108
|
+
<caret line="5" column="19" lean-forward="true" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
|
108
109
|
</state>
|
109
110
|
</provider>
|
110
111
|
</entry>
|
@@ -121,8 +122,17 @@
|
|
121
122
|
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
122
123
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
123
124
|
<provider selected="true" editor-type-id="text-editor">
|
124
|
-
<state relative-caret-position="
|
125
|
-
<caret line="
|
125
|
+
<state relative-caret-position="170">
|
126
|
+
<caret line="9" column="18" lean-forward="true" selection-start-line="9" selection-start-column="18" selection-end-line="9" selection-end-column="18" />
|
127
|
+
</state>
|
128
|
+
</provider>
|
129
|
+
</entry>
|
130
|
+
</file>
|
131
|
+
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="false">
|
132
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
133
|
+
<provider selected="true" editor-type-id="text-editor">
|
134
|
+
<state relative-caret-position="381">
|
135
|
+
<caret line="29" column="16" lean-forward="true" selection-start-line="29" selection-start-column="16" selection-end-line="29" selection-end-column="16" />
|
126
136
|
</state>
|
127
137
|
</provider>
|
128
138
|
</entry>
|
@@ -188,7 +198,6 @@
|
|
188
198
|
<option value="$PROJECT_DIR$/90429.outfile" />
|
189
199
|
<option value="$PROJECT_DIR$/98588.errfile" />
|
190
200
|
<option value="$PROJECT_DIR$/lib/ApiController/peatio.rb" />
|
191
|
-
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
192
201
|
<option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
|
193
202
|
<option value="$PROJECT_DIR$/lib/Deamons/geth.rb" />
|
194
203
|
<option value="$PROJECT_DIR$/lib/Deamons/ngrok.rb" />
|
@@ -200,6 +209,7 @@
|
|
200
209
|
<option value="$PROJECT_DIR$/.ruby-version" />
|
201
210
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
202
211
|
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
212
|
+
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
203
213
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
204
214
|
</list>
|
205
215
|
</option>
|
@@ -237,6 +247,12 @@
|
|
237
247
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
238
248
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
239
249
|
</path>
|
250
|
+
<path>
|
251
|
+
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
252
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
253
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
254
|
+
<item name="Deamons" type="462c0819:PsiDirectoryNode" />
|
255
|
+
</path>
|
240
256
|
<path>
|
241
257
|
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
242
258
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
@@ -330,12 +346,12 @@
|
|
330
346
|
<workItem from="1540392568366" duration="1094000" />
|
331
347
|
<workItem from="1543308539466" duration="4000" />
|
332
348
|
<workItem from="1543413426007" duration="137000" />
|
333
|
-
<workItem from="1543938137760" duration="
|
349
|
+
<workItem from="1543938137760" duration="1196000" />
|
334
350
|
</task>
|
335
351
|
<servers />
|
336
352
|
</component>
|
337
353
|
<component name="TimeTrackingManager">
|
338
|
-
<option name="totallyTimeSpent" value="
|
354
|
+
<option name="totallyTimeSpent" value="182894000" />
|
339
355
|
</component>
|
340
356
|
<component name="TodoView">
|
341
357
|
<todo-panel id="selected-file">
|
@@ -357,7 +373,7 @@
|
|
357
373
|
<window_info anchor="right" id="Database" order="3" />
|
358
374
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
359
375
|
<window_info anchor="bottom" id="Version Control" order="10" weight="0.3292683" />
|
360
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" weight="0.
|
376
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" visible="true" weight="0.35262594" />
|
361
377
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
362
378
|
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.6988555" weight="0.44097695" />
|
363
379
|
<window_info id="Favorites" order="2" side_tool="true" />
|
@@ -512,13 +528,6 @@
|
|
512
528
|
</state>
|
513
529
|
</provider>
|
514
530
|
</entry>
|
515
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
516
|
-
<provider selected="true" editor-type-id="text-editor">
|
517
|
-
<state relative-caret-position="540">
|
518
|
-
<caret line="36" column="18" selection-start-line="36" selection-start-column="18" selection-end-line="36" selection-end-column="18" />
|
519
|
-
</state>
|
520
|
-
</provider>
|
521
|
-
</entry>
|
522
531
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/litecoind.rb">
|
523
532
|
<provider selected="true" editor-type-id="text-editor">
|
524
533
|
<state relative-caret-position="225">
|
@@ -554,13 +563,6 @@
|
|
554
563
|
</state>
|
555
564
|
</provider>
|
556
565
|
</entry>
|
557
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
558
|
-
<provider selected="true" editor-type-id="text-editor">
|
559
|
-
<state relative-caret-position="92">
|
560
|
-
<caret line="4" column="5" selection-start-line="4" selection-start-column="5" selection-end-line="4" selection-end-column="5" />
|
561
|
-
</state>
|
562
|
-
</provider>
|
563
|
-
</entry>
|
564
566
|
<entry file="file://$PROJECT_DIR$/.idea/.rakeTasks">
|
565
567
|
<provider selected="true" editor-type-id="text-editor">
|
566
568
|
<state relative-caret-position="105">
|
@@ -568,13 +570,6 @@
|
|
568
570
|
</state>
|
569
571
|
</provider>
|
570
572
|
</entry>
|
571
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb">
|
572
|
-
<provider selected="true" editor-type-id="text-editor">
|
573
|
-
<state relative-caret-position="437">
|
574
|
-
<caret line="19" column="72" selection-start-line="19" selection-start-column="72" selection-end-line="19" selection-end-column="72" />
|
575
|
-
</state>
|
576
|
-
</provider>
|
577
|
-
</entry>
|
578
573
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/geth.rb">
|
579
574
|
<provider selected="true" editor-type-id="text-editor">
|
580
575
|
<state relative-caret-position="644">
|
@@ -596,6 +591,20 @@
|
|
596
591
|
</state>
|
597
592
|
</provider>
|
598
593
|
</entry>
|
594
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb">
|
595
|
+
<provider selected="true" editor-type-id="text-editor">
|
596
|
+
<state relative-caret-position="437">
|
597
|
+
<caret line="19" column="72" selection-start-line="19" selection-start-column="72" selection-end-line="19" selection-end-column="72" />
|
598
|
+
</state>
|
599
|
+
</provider>
|
600
|
+
</entry>
|
601
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
602
|
+
<provider selected="true" editor-type-id="text-editor">
|
603
|
+
<state relative-caret-position="115">
|
604
|
+
<caret line="5" column="19" lean-forward="true" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
|
605
|
+
</state>
|
606
|
+
</provider>
|
607
|
+
</entry>
|
599
608
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
600
609
|
<provider selected="true" editor-type-id="text-editor">
|
601
610
|
<state relative-caret-position="-408">
|
@@ -605,8 +614,15 @@
|
|
605
614
|
</entry>
|
606
615
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
607
616
|
<provider selected="true" editor-type-id="text-editor">
|
608
|
-
<state relative-caret-position="
|
609
|
-
<caret line="
|
617
|
+
<state relative-caret-position="170">
|
618
|
+
<caret line="9" column="18" lean-forward="true" selection-start-line="9" selection-start-column="18" selection-end-line="9" selection-end-column="18" />
|
619
|
+
</state>
|
620
|
+
</provider>
|
621
|
+
</entry>
|
622
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
623
|
+
<provider selected="true" editor-type-id="text-editor">
|
624
|
+
<state relative-caret-position="381">
|
625
|
+
<caret line="29" column="16" lean-forward="true" selection-start-line="29" selection-start-column="16" selection-end-line="29" selection-end-column="16" />
|
610
626
|
</state>
|
611
627
|
</provider>
|
612
628
|
</entry>
|
data/lib/Deamons/wash_trade.rb
CHANGED
@@ -27,7 +27,7 @@ module Deamons
|
|
27
27
|
loop do
|
28
28
|
vol = rand(0.05...0.225) * (Math.sin(Time.now.hour / 6.00)
|
29
29
|
+ 1.00) * Utils.rand_for_hour(1.5, 2)
|
30
|
-
vol /=
|
30
|
+
vol /= 1
|
31
31
|
price = aug_price
|
32
32
|
@api.post_order(@market, price, vol, 'buy')
|
33
33
|
@api.post_order(@market, price, vol, 'sell')
|
data/lib/SimBot/version.rb
CHANGED