SimBot 0.1.24 → 0.1.25
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 +132 -148
- data/Gemfile.lock +1 -1
- data/lib/Deamons/simple_mm.rb +5 -4
- data/lib/SimBot.rb +10 -10
- data/lib/SimBot/version.rb +1 -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: b552cea76906471d3a43cdd09fa90f79aeb87a511ec2293acbb92450b415fb81
|
4
|
+
data.tar.gz: 312659bf7e3a28ef501e8bf7ddf4de2149fa157308a6d04e27ef4359431a2ddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffe7e222b41650742fb8b709d3673ee28f98899b9c787be6af316fac76688629098a1a8cd4dc088199bc09fea974321fcd5a6b7fa81165469e7bbc3c935bdeec
|
7
|
+
data.tar.gz: 46ec1a55b0003ed1f3506265ae0191e03b3b87d22e221a194653fc227dc9783bf92eeaeb0b4d8e63547aeb6880f1bf594185c4f7df66d663b5bff56274d30e9b
|
data/.idea/workspace.xml
CHANGED
@@ -35,11 +35,11 @@
|
|
35
35
|
<splitter split-orientation="horizontal" split-proportion="0.5059264">
|
36
36
|
<split-first>
|
37
37
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
38
|
-
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="
|
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="
|
42
|
-
<caret line="
|
41
|
+
<state relative-caret-position="412">
|
42
|
+
<caret line="30" column="82" selection-start-line="30" selection-start-column="82" selection-end-line="30" selection-end-column="82" />
|
43
43
|
</state>
|
44
44
|
</provider>
|
45
45
|
</entry>
|
@@ -53,11 +53,11 @@
|
|
53
53
|
</provider>
|
54
54
|
</entry>
|
55
55
|
</file>
|
56
|
-
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="
|
56
|
+
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
57
57
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
58
58
|
<provider selected="true" editor-type-id="text-editor">
|
59
|
-
<state relative-caret-position="
|
60
|
-
<caret line="
|
59
|
+
<state relative-caret-position="496">
|
60
|
+
<caret line="116" column="93" selection-start-line="116" selection-start-column="31" selection-end-line="116" selection-end-column="93" />
|
61
61
|
</state>
|
62
62
|
</provider>
|
63
63
|
</entry>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
<file leaf-file-name="barong.rb" pinned="false" current-in-tab="false">
|
70
70
|
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
71
71
|
<provider selected="true" editor-type-id="text-editor">
|
72
|
-
<state
|
72
|
+
<state>
|
73
73
|
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
74
74
|
</state>
|
75
75
|
</provider>
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<file leaf-file-name="peatio.rb" pinned="false" current-in-tab="false">
|
79
79
|
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
80
80
|
<provider selected="true" editor-type-id="text-editor">
|
81
|
-
<state relative-caret-position="
|
81
|
+
<state relative-caret-position="782">
|
82
82
|
<caret line="34" column="24" selection-start-line="34" selection-start-column="24" selection-end-line="34" selection-end-column="24" />
|
83
83
|
</state>
|
84
84
|
</provider>
|
@@ -87,8 +87,8 @@
|
|
87
87
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="false">
|
88
88
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
89
89
|
<provider selected="true" editor-type-id="text-editor">
|
90
|
-
<state relative-caret-position="
|
91
|
-
<caret line="40" column="7"
|
90
|
+
<state relative-caret-position="920">
|
91
|
+
<caret line="40" column="7" selection-start-line="40" selection-start-column="7" selection-end-line="40" selection-end-column="7" />
|
92
92
|
</state>
|
93
93
|
</provider>
|
94
94
|
</entry>
|
@@ -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="
|
100
|
-
<caret line="
|
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" />
|
101
101
|
</state>
|
102
102
|
</provider>
|
103
103
|
</entry>
|
@@ -105,8 +105,8 @@
|
|
105
105
|
<file leaf-file-name="mailer.rb" pinned="false" current-in-tab="false">
|
106
106
|
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
107
107
|
<provider selected="true" editor-type-id="text-editor">
|
108
|
-
<state relative-caret-position="
|
109
|
-
<caret line="29" column="5"
|
108
|
+
<state relative-caret-position="604">
|
109
|
+
<caret line="29" column="5" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
110
110
|
</state>
|
111
111
|
</provider>
|
112
112
|
</entry>
|
@@ -169,13 +169,16 @@
|
|
169
169
|
<option value="$PROJECT_DIR$/SimBot.gemspec" />
|
170
170
|
<option value="$PROJECT_DIR$/93964.outfile" />
|
171
171
|
<option value="$PROJECT_DIR$/lib/ApiController/barong.rb" />
|
172
|
-
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
173
172
|
<option value="$PROJECT_DIR$/lib/ApiController/peatio.rb" />
|
174
173
|
<option value="$PROJECT_DIR$/99700.errfile" />
|
175
174
|
<option value="$PROJECT_DIR$/2002.outfile" />
|
176
|
-
<option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
|
177
|
-
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
178
175
|
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
176
|
+
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
177
|
+
<option value="$PROJECT_DIR$/90285.errfile" />
|
178
|
+
<option value="$PROJECT_DIR$/90657.outfile" />
|
179
|
+
<option value="$PROJECT_DIR$/90429.outfile" />
|
180
|
+
<option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
|
181
|
+
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
179
182
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
180
183
|
</list>
|
181
184
|
</option>
|
@@ -190,7 +193,7 @@
|
|
190
193
|
<packageJsonPaths />
|
191
194
|
</component>
|
192
195
|
<component name="ProjectFrameBounds">
|
193
|
-
<option name="x" value="
|
196
|
+
<option name="x" value="36" />
|
194
197
|
<option name="y" value="22" />
|
195
198
|
<option name="width" value="1645" />
|
196
199
|
<option name="height" value="1028" />
|
@@ -200,7 +203,6 @@
|
|
200
203
|
<foldersAlwaysOnTop value="true" />
|
201
204
|
</navigator>
|
202
205
|
<panes>
|
203
|
-
<pane id="Scope" />
|
204
206
|
<pane id="ProjectPane">
|
205
207
|
<subPane>
|
206
208
|
<expand>
|
@@ -235,6 +237,7 @@
|
|
235
237
|
<select />
|
236
238
|
</subPane>
|
237
239
|
</pane>
|
240
|
+
<pane id="Scope" />
|
238
241
|
</panes>
|
239
242
|
</component>
|
240
243
|
<component name="PropertiesComponent">
|
@@ -304,27 +307,28 @@
|
|
304
307
|
<workItem from="1531747087172" duration="4944000" />
|
305
308
|
<workItem from="1531824473237" duration="2590000" />
|
306
309
|
<workItem from="1532528275009" duration="12558000" />
|
307
|
-
<workItem from="1532961242324" duration="
|
310
|
+
<workItem from="1532961242324" duration="27612000" />
|
311
|
+
<workItem from="1534345863853" duration="1383000" />
|
308
312
|
</task>
|
309
313
|
<servers />
|
310
314
|
</component>
|
311
315
|
<component name="TimeTrackingManager">
|
312
|
-
<option name="totallyTimeSpent" value="
|
316
|
+
<option name="totallyTimeSpent" value="156623000" />
|
313
317
|
</component>
|
314
318
|
<component name="ToolWindowManager">
|
315
|
-
<frame x="
|
319
|
+
<frame x="36" y="22" width="1645" height="1028" extended-state="0" />
|
316
320
|
<editor active="true" />
|
317
321
|
<layout>
|
318
|
-
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.
|
322
|
+
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.19900188" />
|
319
323
|
<window_info anchor="bottom" id="TODO" order="6" />
|
320
324
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
321
325
|
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.50904554" side_tool="true" weight="0.3457207" />
|
322
326
|
<window_info anchor="right" id="Database" order="3" />
|
323
327
|
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
|
324
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764"
|
328
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764" weight="0.3536036" />
|
325
329
|
<window_info anchor="bottom" id="Version Control" order="7" weight="0.3292683" />
|
326
330
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
327
|
-
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" weight="0.33896396" />
|
331
|
+
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" visible="true" weight="0.33896396" />
|
328
332
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
329
333
|
<window_info id="Favorites" order="2" side_tool="true" />
|
330
334
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
@@ -340,19 +344,19 @@
|
|
340
344
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
341
345
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
342
346
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
347
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
343
348
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2123369" />
|
344
349
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
345
350
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
346
351
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
347
352
|
<window_info anchor="bottom" id="TODO" order="6" />
|
348
|
-
<window_info anchor="bottom" id="Version Control" order="11" />
|
349
353
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
350
354
|
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
351
355
|
<window_info anchor="right" id="Database" order="3" />
|
352
356
|
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.49619377" weight="0.41463414" />
|
353
357
|
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
|
354
358
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
355
|
-
<window_info anchor="bottom" id="
|
359
|
+
<window_info anchor="bottom" id="Version Control" order="11" />
|
356
360
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
357
361
|
<window_info anchor="bottom" id="Message" order="0" />
|
358
362
|
<window_info anchor="bottom" id="Messages" order="12" sideWeight="0.49965397" weight="0.3293348" />
|
@@ -374,225 +378,205 @@
|
|
374
378
|
</breakpoint-manager>
|
375
379
|
</component>
|
376
380
|
<component name="editorHistoryManager">
|
377
|
-
<entry file="file://$PROJECT_DIR$/
|
378
|
-
<provider selected="true" editor-type-id="text-editor" />
|
379
|
-
</entry>
|
380
|
-
<entry file="file://$PROJECT_DIR$/98638.errfile">
|
381
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
381
382
|
<provider selected="true" editor-type-id="text-editor">
|
382
|
-
<state relative-caret-position="
|
383
|
+
<state relative-caret-position="1610">
|
384
|
+
<caret line="70" column="27" selection-start-line="70" selection-start-column="27" selection-end-line="70" selection-end-column="27" />
|
385
|
+
</state>
|
383
386
|
</provider>
|
384
387
|
</entry>
|
385
|
-
<entry file="file://$PROJECT_DIR
|
388
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
386
389
|
<provider selected="true" editor-type-id="text-editor">
|
387
|
-
<state relative-caret-position="
|
388
|
-
<caret line="
|
390
|
+
<state relative-caret-position="322">
|
391
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
389
392
|
</state>
|
390
393
|
</provider>
|
391
394
|
</entry>
|
392
|
-
<entry file="file://$PROJECT_DIR$/
|
395
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
393
396
|
<provider selected="true" editor-type-id="text-editor">
|
394
|
-
<state relative-caret-position="
|
395
|
-
<caret line="
|
397
|
+
<state relative-caret-position="2668">
|
398
|
+
<caret line="116" column="78" selection-start-line="116" selection-start-column="78" selection-end-line="116" selection-end-column="78" />
|
396
399
|
</state>
|
397
400
|
</provider>
|
398
401
|
</entry>
|
399
|
-
<entry file="file://$PROJECT_DIR$/
|
400
|
-
<provider selected="true" editor-type-id="text-editor" />
|
401
|
-
</entry>
|
402
|
-
<entry file="file://$PROJECT_DIR$/98934.errfile">
|
403
|
-
<provider selected="true" editor-type-id="text-editor" />
|
404
|
-
</entry>
|
405
|
-
<entry file="file://$PROJECT_DIR$/98990.outfile">
|
402
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
406
403
|
<provider selected="true" editor-type-id="text-editor">
|
407
|
-
<state relative-caret-position="
|
408
|
-
<caret line="
|
404
|
+
<state relative-caret-position="299">
|
405
|
+
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
409
406
|
</state>
|
410
407
|
</provider>
|
411
408
|
</entry>
|
412
|
-
<entry file="file://$PROJECT_DIR$/
|
413
|
-
<provider selected="true" editor-type-id="text-editor" />
|
414
|
-
</entry>
|
415
|
-
<entry file="file://$PROJECT_DIR$/99082.errfile">
|
409
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
416
410
|
<provider selected="true" editor-type-id="text-editor">
|
417
|
-
<state relative-caret-position="
|
411
|
+
<state relative-caret-position="782">
|
412
|
+
<caret line="34" column="24" selection-start-line="34" selection-start-column="24" selection-end-line="34" selection-end-column="24" />
|
413
|
+
</state>
|
418
414
|
</provider>
|
419
415
|
</entry>
|
420
|
-
<entry file="file://$PROJECT_DIR$/
|
416
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
421
417
|
<provider selected="true" editor-type-id="text-editor">
|
422
|
-
<state relative-caret-position="
|
418
|
+
<state relative-caret-position="920">
|
419
|
+
<caret line="40" column="7" lean-forward="true" selection-start-line="40" selection-start-column="7" selection-end-line="40" selection-end-column="7" />
|
420
|
+
</state>
|
423
421
|
</provider>
|
424
422
|
</entry>
|
425
|
-
<entry file="file://$PROJECT_DIR$/
|
423
|
+
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
426
424
|
<provider selected="true" editor-type-id="text-editor">
|
427
|
-
<state relative-caret-position="
|
428
|
-
<caret line="
|
425
|
+
<state relative-caret-position="667">
|
426
|
+
<caret line="29" column="5" lean-forward="true" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
429
427
|
</state>
|
430
428
|
</provider>
|
431
429
|
</entry>
|
432
|
-
<entry file="file://$PROJECT_DIR$/
|
433
|
-
<provider selected="true" editor-type-id="text-editor" />
|
434
|
-
</entry>
|
435
|
-
<entry file="file://$PROJECT_DIR$/99238.outfile">
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
436
431
|
<provider selected="true" editor-type-id="text-editor">
|
437
|
-
<state relative-caret-position="
|
438
|
-
<caret line="
|
432
|
+
<state relative-caret-position="23">
|
433
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
439
434
|
</state>
|
440
435
|
</provider>
|
441
436
|
</entry>
|
442
|
-
<entry file="file://$PROJECT_DIR$/
|
443
|
-
<provider selected="true" editor-type-id="text-editor" />
|
444
|
-
</entry>
|
445
|
-
<entry file="file://$PROJECT_DIR$/99296.outfile">
|
437
|
+
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
446
438
|
<provider selected="true" editor-type-id="text-editor">
|
447
|
-
<state relative-caret-position="
|
448
|
-
<caret line="
|
439
|
+
<state relative-caret-position="943">
|
440
|
+
<caret line="41" column="3" selection-start-line="41" selection-start-column="3" selection-end-line="41" selection-end-column="3" />
|
449
441
|
</state>
|
450
442
|
</provider>
|
451
443
|
</entry>
|
452
|
-
<entry file="file://$PROJECT_DIR$/
|
444
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
453
445
|
<provider selected="true" editor-type-id="text-editor">
|
454
|
-
<state relative-caret-position="
|
455
|
-
<caret line="
|
446
|
+
<state relative-caret-position="1035">
|
447
|
+
<caret line="45" column="91" selection-start-line="45" selection-start-column="91" selection-end-line="45" selection-end-column="91" />
|
456
448
|
</state>
|
457
449
|
</provider>
|
458
450
|
</entry>
|
459
|
-
<entry file="file://$PROJECT_DIR$/
|
460
|
-
|
461
|
-
|
462
|
-
<entry file="file://$PROJECT_DIR$/
|
451
|
+
<entry file="file://$PROJECT_DIR$/98638.errfile" />
|
452
|
+
<entry file="file://$PROJECT_DIR$/98808.errfile" />
|
453
|
+
<entry file="file://$PROJECT_DIR$/98808.outfile" />
|
454
|
+
<entry file="file://$PROJECT_DIR$/98990.outfile" />
|
455
|
+
<entry file="file://$PROJECT_DIR$/99082.errfile" />
|
456
|
+
<entry file="file://$PROJECT_DIR$/99150.errfile" />
|
457
|
+
<entry file="file://$PROJECT_DIR$/99150.outfile" />
|
458
|
+
<entry file="file://$PROJECT_DIR$/99238.outfile" />
|
459
|
+
<entry file="file://$PROJECT_DIR$/99296.outfile" />
|
460
|
+
<entry file="file://$PROJECT_DIR$/99343.outfile" />
|
461
|
+
<entry file="file://$PROJECT_DIR$/99431.errfile" />
|
462
|
+
<entry file="file://$PROJECT_DIR$/99482.errfile" />
|
463
|
+
<entry file="file://$PROJECT_DIR$/99548.outfile" />
|
464
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
463
465
|
<provider selected="true" editor-type-id="text-editor">
|
464
|
-
<state relative-caret-position="
|
466
|
+
<state relative-caret-position="782">
|
467
|
+
<caret line="34" column="24" selection-start-line="34" selection-start-column="24" selection-end-line="34" selection-end-column="24" />
|
468
|
+
</state>
|
465
469
|
</provider>
|
466
470
|
</entry>
|
467
|
-
<entry file="file://$PROJECT_DIR$/
|
468
|
-
|
469
|
-
|
470
|
-
<entry file="file://$PROJECT_DIR$/99482.errfile">
|
471
|
+
<entry file="file://$PROJECT_DIR$/99773.outfile" />
|
472
|
+
<entry file="file://$PROJECT_DIR$/18251.errfile" />
|
473
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
471
474
|
<provider selected="true" editor-type-id="text-editor">
|
472
|
-
<state relative-caret-position="
|
475
|
+
<state relative-caret-position="920">
|
476
|
+
<caret line="40" column="7" selection-start-line="40" selection-start-column="7" selection-end-line="40" selection-end-column="7" />
|
477
|
+
</state>
|
473
478
|
</provider>
|
474
479
|
</entry>
|
475
|
-
<entry file="file://$PROJECT_DIR$/
|
476
|
-
<provider selected="true" editor-type-id="text-editor" />
|
477
|
-
</entry>
|
478
|
-
<entry file="file://$PROJECT_DIR$/99548.outfile">
|
480
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
479
481
|
<provider selected="true" editor-type-id="text-editor">
|
480
|
-
<state
|
481
|
-
<caret line="13" column="
|
482
|
+
<state>
|
483
|
+
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
482
484
|
</state>
|
483
485
|
</provider>
|
484
486
|
</entry>
|
485
|
-
<entry file="file://$PROJECT_DIR$/
|
487
|
+
<entry file="file://$PROJECT_DIR$/90153.errfile">
|
486
488
|
<provider selected="true" editor-type-id="text-editor" />
|
487
489
|
</entry>
|
488
|
-
<entry file="file://$PROJECT_DIR$/
|
490
|
+
<entry file="file://$PROJECT_DIR$/90153.outfile">
|
489
491
|
<provider selected="true" editor-type-id="text-editor" />
|
490
492
|
</entry>
|
491
|
-
<entry file="file://$PROJECT_DIR$/
|
492
|
-
<provider selected="true" editor-type-id="text-editor"
|
493
|
-
<state relative-caret-position="122">
|
494
|
-
<caret line="34" column="24" selection-start-line="34" selection-start-column="24" selection-end-line="34" selection-end-column="24" />
|
495
|
-
</state>
|
496
|
-
</provider>
|
493
|
+
<entry file="file://$PROJECT_DIR$/90205.errfile">
|
494
|
+
<provider selected="true" editor-type-id="text-editor" />
|
497
495
|
</entry>
|
498
|
-
<entry file="file://$PROJECT_DIR$/
|
496
|
+
<entry file="file://$PROJECT_DIR$/90205.outfile">
|
499
497
|
<provider selected="true" editor-type-id="text-editor" />
|
500
498
|
</entry>
|
501
|
-
<entry file="file://$PROJECT_DIR$/
|
499
|
+
<entry file="file://$PROJECT_DIR$/90263.errfile">
|
502
500
|
<provider selected="true" editor-type-id="text-editor" />
|
503
501
|
</entry>
|
504
|
-
<entry file="file://$PROJECT_DIR$/
|
502
|
+
<entry file="file://$PROJECT_DIR$/90285.outfile">
|
505
503
|
<provider selected="true" editor-type-id="text-editor" />
|
506
504
|
</entry>
|
507
|
-
<entry file="file://$PROJECT_DIR$/
|
505
|
+
<entry file="file://$PROJECT_DIR$/90285.errfile">
|
508
506
|
<provider selected="true" editor-type-id="text-editor">
|
509
|
-
<state
|
510
|
-
<caret
|
507
|
+
<state>
|
508
|
+
<caret column="3" selection-start-column="3" selection-end-column="3" />
|
511
509
|
</state>
|
512
510
|
</provider>
|
513
511
|
</entry>
|
514
|
-
<entry file="file://$PROJECT_DIR$/
|
515
|
-
<provider selected="true" editor-type-id="text-editor" />
|
516
|
-
</entry>
|
517
|
-
<entry file="file://$PROJECT_DIR$/967.outfile">
|
512
|
+
<entry file="file://$PROJECT_DIR$/90341.errfile">
|
518
513
|
<provider selected="true" editor-type-id="text-editor" />
|
519
514
|
</entry>
|
520
|
-
<entry file="file://$PROJECT_DIR$/
|
515
|
+
<entry file="file://$PROJECT_DIR$/90341.outfile">
|
521
516
|
<provider selected="true" editor-type-id="text-editor" />
|
522
517
|
</entry>
|
523
|
-
<entry file="file://$PROJECT_DIR$/
|
518
|
+
<entry file="file://$PROJECT_DIR$/90391.errfile">
|
524
519
|
<provider selected="true" editor-type-id="text-editor" />
|
525
520
|
</entry>
|
526
|
-
<entry file="file://$PROJECT_DIR$/
|
521
|
+
<entry file="file://$PROJECT_DIR$/90391.outfile">
|
527
522
|
<provider selected="true" editor-type-id="text-editor" />
|
528
523
|
</entry>
|
529
|
-
<entry file="file://$PROJECT_DIR$/
|
524
|
+
<entry file="file://$PROJECT_DIR$/90263.pid">
|
530
525
|
<provider selected="true" editor-type-id="text-editor" />
|
531
526
|
</entry>
|
532
|
-
<entry file="file://$PROJECT_DIR$/
|
533
|
-
<provider selected="true" editor-type-id="
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
<entry file="file://$PROJECT_DIR$/1974.pid">
|
539
|
-
<provider selected="true" editor-type-id="text-editor" />
|
527
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
528
|
+
<provider selected="true" editor-type-id="text-editor">
|
529
|
+
<state relative-caret-position="496">
|
530
|
+
<caret line="116" column="93" selection-start-line="116" selection-start-column="31" selection-end-line="116" selection-end-column="93" />
|
531
|
+
</state>
|
532
|
+
</provider>
|
540
533
|
</entry>
|
541
|
-
<entry file="file://$PROJECT_DIR$/
|
534
|
+
<entry file="file://$PROJECT_DIR$/90535.outfile">
|
542
535
|
<provider selected="true" editor-type-id="text-editor" />
|
543
536
|
</entry>
|
544
|
-
<entry file="file://$PROJECT_DIR$/
|
537
|
+
<entry file="file://$PROJECT_DIR$/90611.errfile">
|
545
538
|
<provider selected="true" editor-type-id="text-editor" />
|
546
539
|
</entry>
|
547
|
-
<entry file="file://$PROJECT_DIR$/
|
540
|
+
<entry file="file://$PROJECT_DIR$/90611.outfile">
|
548
541
|
<provider selected="true" editor-type-id="text-editor" />
|
549
542
|
</entry>
|
550
|
-
<entry file="file://$PROJECT_DIR$/
|
543
|
+
<entry file="file://$PROJECT_DIR$/90657.outfile">
|
551
544
|
<provider selected="true" editor-type-id="text-editor">
|
552
|
-
<state
|
553
|
-
<caret
|
545
|
+
<state>
|
546
|
+
<caret column="7" selection-start-column="7" selection-end-column="7" />
|
554
547
|
</state>
|
555
548
|
</provider>
|
556
549
|
</entry>
|
557
|
-
<entry file="file://$PROJECT_DIR$/
|
558
|
-
<provider selected="true" editor-type-id="text-editor" />
|
559
|
-
</entry>
|
560
|
-
<entry file="file://$PROJECT_DIR$/18131.errfile">
|
561
|
-
<provider selected="true" editor-type-id="text-editor" />
|
562
|
-
</entry>
|
563
|
-
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
550
|
+
<entry file="file://$PROJECT_DIR$/90429.outfile">
|
564
551
|
<provider selected="true" editor-type-id="text-editor">
|
565
|
-
<state
|
566
|
-
<caret
|
552
|
+
<state>
|
553
|
+
<caret column="12" selection-start-column="12" selection-end-column="12" />
|
567
554
|
</state>
|
568
555
|
</provider>
|
569
556
|
</entry>
|
570
|
-
<entry file="file://$PROJECT_DIR$/
|
571
|
-
<provider selected="true" editor-type-id="text-editor" />
|
572
|
-
</entry>
|
573
|
-
<entry file="file://$PROJECT_DIR$/18251.errfile">
|
557
|
+
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
574
558
|
<provider selected="true" editor-type-id="text-editor">
|
575
|
-
<state relative-caret-position="
|
559
|
+
<state relative-caret-position="604">
|
560
|
+
<caret line="29" column="5" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
561
|
+
</state>
|
576
562
|
</provider>
|
577
563
|
</entry>
|
578
|
-
<entry file="file://$PROJECT_DIR$/
|
564
|
+
<entry file="file://$PROJECT_DIR$/90263.outfile">
|
579
565
|
<provider selected="true" editor-type-id="text-editor">
|
580
|
-
<state relative-caret-position="
|
581
|
-
<caret line="29" column="5" lean-forward="true" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
582
|
-
</state>
|
566
|
+
<state relative-caret-position="-5275" />
|
583
567
|
</provider>
|
584
568
|
</entry>
|
585
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
569
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
586
570
|
<provider selected="true" editor-type-id="text-editor">
|
587
|
-
<state relative-caret-position="
|
588
|
-
<caret line="
|
571
|
+
<state relative-caret-position="412">
|
572
|
+
<caret line="30" column="82" selection-start-line="30" selection-start-column="82" selection-end-line="30" selection-end-column="82" />
|
589
573
|
</state>
|
590
574
|
</provider>
|
591
575
|
</entry>
|
592
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/
|
576
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
593
577
|
<provider selected="true" editor-type-id="text-editor">
|
594
|
-
<state relative-caret-position="
|
595
|
-
<caret line="
|
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" />
|
596
580
|
</state>
|
597
581
|
</provider>
|
598
582
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/Deamons/simple_mm.rb
CHANGED
@@ -39,13 +39,14 @@ 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 /
|
42
|
+
txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 10, 'buy'))
|
43
|
+
puts txID
|
43
44
|
ord.push(txID['id'])
|
44
|
-
@api.cancel_order(@order_book[:bids][nums[i]][-1]) if @order_book[:bids].size >
|
45
|
+
@api.cancel_order(@order_book[:bids][nums[i]][-1]) if @order_book[:bids].size > 400
|
45
46
|
ord = data[:asks][nums[i]]
|
46
|
-
txID = JSON.parse(@api.post_order(@market, ord[0].to_f,
|
47
|
+
txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 10, 'sell'))
|
47
48
|
ord.push(txID['id'])
|
48
|
-
@api.cancel_order(@order_book[:asks][nums[i]][-1]) if @order_book[:asks].size >
|
49
|
+
@api.cancel_order(@order_book[:asks][nums[i]][-1]) if @order_book[:asks].size > 400
|
49
50
|
sleep(1)
|
50
51
|
end
|
51
52
|
@order_book = data
|
data/lib/SimBot.rb
CHANGED
@@ -13,11 +13,11 @@ module SimBot
|
|
13
13
|
class CLI < Thor
|
14
14
|
require 'utils'
|
15
15
|
desc 'wash', 'Start simulation bot parsing in base-url and auth token.'
|
16
|
-
method_option :email, type: :string, default: '
|
17
|
-
method_option :password, type: :string, default: '
|
18
|
-
method_option :peatio_base_url, type: :string, default: 'https://api.review.ovex.io/api/v2', desc: 'Peatio API base URL'
|
19
|
-
method_option :barong_base_url, type: :string, default: 'https://auth.review.ovex.io/api/v1', desc: 'Barong API base URL'
|
20
|
-
method_option :app_id, type: :string, default: '
|
16
|
+
method_option :email, type: :string, default: 'dhawkins@heliostech.fr', required: true, desc: 'Your OVEX email address'
|
17
|
+
method_option :password, type: :string, default: 'pjW74wrr', required: true, desc: 'Your OVEX password'
|
18
|
+
method_option :peatio_base_url, type: :string, default: 'https://api.review-e.ovex.io/api/v2', desc: 'Peatio API base URL'
|
19
|
+
method_option :barong_base_url, type: :string, default: 'https://auth.review-e.ovex.io/api/v1', desc: 'Barong API base URL'
|
20
|
+
method_option :app_id, type: :string, default: '2be3724b9b494dd55c66f7efa8ea', desc: 'Peatio applicaiton id from Barong'
|
21
21
|
method_option :market, type: :string, default: 'bchbtc', required: false, desc: 'OVEX market for SimBot to interact with'
|
22
22
|
method_option :freq, type: :numeric, default: 1, desc: 'Frequency for trades to be added'
|
23
23
|
def wash
|
@@ -25,11 +25,11 @@ module SimBot
|
|
25
25
|
Deamons::WashTrade.new(api, options[:market], options[:freq])
|
26
26
|
end
|
27
27
|
desc 'mm', 'Starts a market maker'
|
28
|
-
method_option :email, type: :string, default: '
|
29
|
-
method_option :password, type: :string, default: '
|
30
|
-
method_option :peatio_base_url, type: :string, default: 'https://api.review.ovex.io/api/v2', desc: 'Peatio API base URL'
|
31
|
-
method_option :barong_base_url, type: :string, default: 'https://auth.review.ovex.io/api/v1', desc: 'Barong API base URL'
|
32
|
-
method_option :app_id, type: :string, default: '
|
28
|
+
method_option :email, type: :string, default: 'dhawkins@heliostech.fr', required: true, desc: 'Your OVEX email address'
|
29
|
+
method_option :password, type: :string, default: 'pjW74wrr', required: true, desc: 'Your OVEX password'
|
30
|
+
method_option :peatio_base_url, type: :string, default: 'https://api.review-e.ovex.io/api/v2', desc: 'Peatio API base URL'
|
31
|
+
method_option :barong_base_url, type: :string, default: 'https://auth.review-e.ovex.io/api/v1', desc: 'Barong API base URL'
|
32
|
+
method_option :app_id, type: :string, default: '2be3724b9b494dd55c66f7efa8ea', desc: 'Peatio applicaiton id from Barong'
|
33
33
|
method_option :market, type: :string, default: 'bchbtc', required: false, desc: 'OVEX market for SimBot to interact with'
|
34
34
|
def mm
|
35
35
|
api = ApiController::Peatio.new(options[:peatio_base_url], options[:barong_base_url], options[:app_id], options[:email], options[:password])
|
data/lib/SimBot/version.rb
CHANGED
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.25
|
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-08-
|
11
|
+
date: 2018-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|