SimBot 0.1.27 → 0.1.28
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 +145 -111
- data/Gemfile.lock +1 -1
- data/lib/ApiController/peatio.rb +1 -1
- data/lib/Deamons/simple_mm.rb +1 -1
- data/lib/Deamons/wash_trade.rb +2 -1
- data/lib/SimBot.rb +12 -12
- 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: e8efaa639abdea13ef143bf2e6c9cb342d88b08f3ef9aba3bd7ab275c0f2a697
|
4
|
+
data.tar.gz: 3d20c9ca89926fba085760d93b8b0791f47b91951a59dc19d1cd37521be9ce6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb05f18c41b500a4b6ad3b0a264f24662bea48d708cfb45d5665ad7c8d22945fddea8ff7e036246812c37add119b7da9c7683a091fe6db3a092ad39dd4f3225
|
7
|
+
data.tar.gz: d3887c038d7454259171ddcaffd86f21eeefbc511b17204d644b867bff0989386f1c94c62ec6067e509f71a3518484bd7bbe958ec6e1a357352cb2c3d81a7688
|
data/.idea/workspace.xml
CHANGED
@@ -38,8 +38,17 @@
|
|
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="
|
42
|
-
<caret line="
|
41
|
+
<state relative-caret-position="236">
|
42
|
+
<caret line="20" column="58" selection-start-line="20" selection-start-column="58" selection-end-line="20" selection-end-column="58" />
|
43
|
+
</state>
|
44
|
+
</provider>
|
45
|
+
</entry>
|
46
|
+
</file>
|
47
|
+
<file leaf-file-name="SimBot_spec.rb" pinned="false" current-in-tab="false">
|
48
|
+
<entry file="file://$PROJECT_DIR$/spec/SimBot_spec.rb">
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
50
|
+
<state relative-caret-position="161">
|
51
|
+
<caret line="7" column="5" selection-start-line="7" selection-start-column="5" selection-end-line="7" selection-end-column="5" />
|
43
52
|
</state>
|
44
53
|
</provider>
|
45
54
|
</entry>
|
@@ -56,7 +65,7 @@
|
|
56
65
|
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
57
66
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
58
67
|
<provider selected="true" editor-type-id="text-editor">
|
59
|
-
<state relative-caret-position="
|
68
|
+
<state relative-caret-position="2668">
|
60
69
|
<caret line="116" column="93" selection-start-line="116" selection-start-column="31" selection-end-line="116" selection-end-column="93" />
|
61
70
|
</state>
|
62
71
|
</provider>
|
@@ -69,7 +78,7 @@
|
|
69
78
|
<file leaf-file-name="barong.rb" pinned="false" current-in-tab="false">
|
70
79
|
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
71
80
|
<provider selected="true" editor-type-id="text-editor">
|
72
|
-
<state>
|
81
|
+
<state relative-caret-position="299">
|
73
82
|
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
74
83
|
</state>
|
75
84
|
</provider>
|
@@ -78,8 +87,8 @@
|
|
78
87
|
<file leaf-file-name="peatio.rb" pinned="false" current-in-tab="false">
|
79
88
|
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
80
89
|
<provider selected="true" editor-type-id="text-editor">
|
81
|
-
<state relative-caret-position="
|
82
|
-
<caret line="
|
90
|
+
<state relative-caret-position="208">
|
91
|
+
<caret line="21" column="49" selection-start-line="21" selection-start-column="49" selection-end-line="21" selection-end-column="49" />
|
83
92
|
</state>
|
84
93
|
</provider>
|
85
94
|
</entry>
|
@@ -87,8 +96,8 @@
|
|
87
96
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="false">
|
88
97
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
89
98
|
<provider selected="true" editor-type-id="text-editor">
|
90
|
-
<state relative-caret-position="
|
91
|
-
<caret line="
|
99
|
+
<state relative-caret-position="186">
|
100
|
+
<caret line="29" column="19" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
|
92
101
|
</state>
|
93
102
|
</provider>
|
94
103
|
</entry>
|
@@ -96,8 +105,8 @@
|
|
96
105
|
<file leaf-file-name="simple_mm.rb" pinned="false" current-in-tab="false">
|
97
106
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
98
107
|
<provider selected="true" editor-type-id="text-editor">
|
99
|
-
<state relative-caret-position="
|
100
|
-
<caret line="
|
108
|
+
<state relative-caret-position="231">
|
109
|
+
<caret line="48" column="17" selection-start-line="48" selection-start-column="17" selection-end-line="48" selection-end-column="17" />
|
101
110
|
</state>
|
102
111
|
</provider>
|
103
112
|
</entry>
|
@@ -105,7 +114,7 @@
|
|
105
114
|
<file leaf-file-name="mailer.rb" pinned="false" current-in-tab="false">
|
106
115
|
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
107
116
|
<provider selected="true" editor-type-id="text-editor">
|
108
|
-
<state relative-caret-position="
|
117
|
+
<state relative-caret-position="667">
|
109
118
|
<caret line="29" column="5" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
110
119
|
</state>
|
111
120
|
</provider>
|
@@ -169,16 +178,17 @@
|
|
169
178
|
<option value="$PROJECT_DIR$/SimBot.gemspec" />
|
170
179
|
<option value="$PROJECT_DIR$/93964.outfile" />
|
171
180
|
<option value="$PROJECT_DIR$/lib/ApiController/barong.rb" />
|
172
|
-
<option value="$PROJECT_DIR$/lib/ApiController/peatio.rb" />
|
173
181
|
<option value="$PROJECT_DIR$/99700.errfile" />
|
174
182
|
<option value="$PROJECT_DIR$/2002.outfile" />
|
175
|
-
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
176
183
|
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
177
184
|
<option value="$PROJECT_DIR$/90285.errfile" />
|
178
185
|
<option value="$PROJECT_DIR$/90657.outfile" />
|
179
186
|
<option value="$PROJECT_DIR$/90429.outfile" />
|
180
|
-
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
181
187
|
<option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
|
188
|
+
<option value="$PROJECT_DIR$/98588.errfile" />
|
189
|
+
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
190
|
+
<option value="$PROJECT_DIR$/lib/ApiController/peatio.rb" />
|
191
|
+
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
182
192
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
183
193
|
</list>
|
184
194
|
</option>
|
@@ -193,9 +203,9 @@
|
|
193
203
|
<packageJsonPaths />
|
194
204
|
</component>
|
195
205
|
<component name="ProjectFrameBounds">
|
196
|
-
<option name="x" value="
|
206
|
+
<option name="x" value="1516" />
|
197
207
|
<option name="y" value="22" />
|
198
|
-
<option name="width" value="
|
208
|
+
<option name="width" value="1680" />
|
199
209
|
<option name="height" value="1028" />
|
200
210
|
</component>
|
201
211
|
<component name="ProjectView">
|
@@ -203,6 +213,7 @@
|
|
203
213
|
<foldersAlwaysOnTop value="true" />
|
204
214
|
</navigator>
|
205
215
|
<panes>
|
216
|
+
<pane id="Scope" />
|
206
217
|
<pane id="ProjectPane">
|
207
218
|
<subPane>
|
208
219
|
<expand>
|
@@ -219,29 +230,22 @@
|
|
219
230
|
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
220
231
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
221
232
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
222
|
-
<item name="ApiController" type="462c0819:PsiDirectoryNode" />
|
223
|
-
</path>
|
224
|
-
<path>
|
225
|
-
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
226
233
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
227
|
-
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
228
|
-
<item name="Deamons" type="462c0819:PsiDirectoryNode" />
|
229
234
|
</path>
|
230
235
|
<path>
|
231
236
|
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
232
237
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
233
|
-
<item name="
|
234
|
-
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
238
|
+
<item name="spec" type="462c0819:PsiDirectoryNode" />
|
235
239
|
</path>
|
236
240
|
</expand>
|
237
241
|
<select />
|
238
242
|
</subPane>
|
239
243
|
</pane>
|
240
|
-
<pane id="Scope" />
|
241
244
|
</panes>
|
242
245
|
</component>
|
243
246
|
<component name="PropertiesComponent">
|
244
247
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
248
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
245
249
|
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
246
250
|
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
247
251
|
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
|
@@ -308,12 +312,14 @@
|
|
308
312
|
<workItem from="1531824473237" duration="2590000" />
|
309
313
|
<workItem from="1532528275009" duration="12558000" />
|
310
314
|
<workItem from="1532961242324" duration="27612000" />
|
311
|
-
<workItem from="1534345863853" duration="
|
315
|
+
<workItem from="1534345863853" duration="3800000" />
|
316
|
+
<workItem from="1535884475044" duration="1850000" />
|
317
|
+
<workItem from="1538040677596" duration="3536000" />
|
312
318
|
</task>
|
313
319
|
<servers />
|
314
320
|
</component>
|
315
321
|
<component name="TimeTrackingManager">
|
316
|
-
<option name="totallyTimeSpent" value="
|
322
|
+
<option name="totallyTimeSpent" value="164426000" />
|
317
323
|
</component>
|
318
324
|
<component name="TodoView">
|
319
325
|
<todo-panel id="selected-file">
|
@@ -325,20 +331,19 @@
|
|
325
331
|
</todo-panel>
|
326
332
|
</component>
|
327
333
|
<component name="ToolWindowManager">
|
328
|
-
<frame x="
|
334
|
+
<frame x="1516" y="22" width="1680" height="1028" extended-state="0" />
|
329
335
|
<editor active="true" />
|
330
336
|
<layout>
|
337
|
+
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17460318" />
|
331
338
|
<window_info anchor="bottom" id="TODO" order="6" weight="0.32995495" />
|
339
|
+
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
332
340
|
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.50904554" side_tool="true" weight="0.3457207" />
|
341
|
+
<window_info anchor="right" id="Database" order="3" />
|
333
342
|
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
|
334
343
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48658764" weight="0.3536036" />
|
335
344
|
<window_info anchor="bottom" id="Version Control" order="7" weight="0.3292683" />
|
336
|
-
<window_info active="true" anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" visible="true" weight="0.33896396" />
|
337
|
-
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.19900188" />
|
338
|
-
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
339
|
-
<window_info anchor="right" id="Database" order="3" />
|
340
|
-
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
341
345
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
346
|
+
<window_info anchor="bottom" id="Terminal" order="7" sideWeight="0.49095446" visible="true" weight="0.3490991" />
|
342
347
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
343
348
|
<window_info id="Favorites" order="2" side_tool="true" />
|
344
349
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
@@ -348,6 +353,7 @@
|
|
348
353
|
<window_info anchor="bottom" id="Messages" order="7" sideWeight="0.49965397" weight="0.3293348" />
|
349
354
|
<window_info anchor="bottom" id="Message" order="0" />
|
350
355
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
356
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
351
357
|
</layout>
|
352
358
|
<layout-to-restore>
|
353
359
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
@@ -387,17 +393,73 @@
|
|
387
393
|
</breakpoint-manager>
|
388
394
|
</component>
|
389
395
|
<component name="editorHistoryManager">
|
396
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
397
|
+
<provider selected="true" editor-type-id="text-editor">
|
398
|
+
<state relative-caret-position="345">
|
399
|
+
<caret line="15" column="7" lean-forward="true" selection-start-line="15" selection-start-column="7" selection-end-line="15" selection-end-column="7" />
|
400
|
+
</state>
|
401
|
+
</provider>
|
402
|
+
</entry>
|
390
403
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
391
404
|
<provider selected="true" editor-type-id="text-editor">
|
392
|
-
<state relative-caret-position="
|
393
|
-
<caret line="
|
405
|
+
<state relative-caret-position="368">
|
406
|
+
<caret line="16" column="62" selection-start-line="16" selection-start-column="54" selection-end-line="16" selection-end-column="62" />
|
394
407
|
</state>
|
395
408
|
</provider>
|
396
409
|
</entry>
|
397
|
-
<entry file="file://$PROJECT_DIR
|
410
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
398
411
|
<provider selected="true" editor-type-id="text-editor">
|
399
|
-
<state relative-caret-position="
|
400
|
-
<caret line="
|
412
|
+
<state relative-caret-position="2668">
|
413
|
+
<caret line="116" column="93" selection-start-line="116" selection-start-column="31" selection-end-line="116" selection-end-column="93" />
|
414
|
+
</state>
|
415
|
+
</provider>
|
416
|
+
</entry>
|
417
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
418
|
+
<provider selected="true" editor-type-id="text-editor">
|
419
|
+
<state relative-caret-position="299">
|
420
|
+
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
421
|
+
</state>
|
422
|
+
</provider>
|
423
|
+
</entry>
|
424
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
425
|
+
<provider selected="true" editor-type-id="text-editor">
|
426
|
+
<state relative-caret-position="782">
|
427
|
+
<caret line="34" column="24" selection-start-line="34" selection-start-column="24" selection-end-line="34" selection-end-column="24" />
|
428
|
+
</state>
|
429
|
+
</provider>
|
430
|
+
</entry>
|
431
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
432
|
+
<provider selected="true" editor-type-id="text-editor">
|
433
|
+
<state relative-caret-position="920">
|
434
|
+
<caret line="40" column="7" selection-start-line="40" selection-start-column="7" selection-end-line="40" selection-end-column="7" />
|
435
|
+
</state>
|
436
|
+
</provider>
|
437
|
+
</entry>
|
438
|
+
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
439
|
+
<provider selected="true" editor-type-id="text-editor">
|
440
|
+
<state relative-caret-position="667">
|
441
|
+
<caret line="29" column="5" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
442
|
+
</state>
|
443
|
+
</provider>
|
444
|
+
</entry>
|
445
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
446
|
+
<provider selected="true" editor-type-id="text-editor">
|
447
|
+
<state relative-caret-position="23">
|
448
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
449
|
+
</state>
|
450
|
+
</provider>
|
451
|
+
</entry>
|
452
|
+
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
453
|
+
<provider selected="true" editor-type-id="text-editor">
|
454
|
+
<state relative-caret-position="943">
|
455
|
+
<caret line="41" column="3" selection-start-line="41" selection-start-column="3" selection-end-line="41" selection-end-column="3" />
|
456
|
+
</state>
|
457
|
+
</provider>
|
458
|
+
</entry>
|
459
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
460
|
+
<provider selected="true" editor-type-id="text-editor">
|
461
|
+
<state relative-caret-position="1104">
|
462
|
+
<caret line="48" column="17" selection-start-line="48" selection-start-column="17" selection-end-line="48" selection-end-column="17" />
|
401
463
|
</state>
|
402
464
|
</provider>
|
403
465
|
</entry>
|
@@ -470,122 +532,94 @@
|
|
470
532
|
<entry file="file://$PROJECT_DIR$/99431.errfile" />
|
471
533
|
<entry file="file://$PROJECT_DIR$/99482.errfile" />
|
472
534
|
<entry file="file://$PROJECT_DIR$/99548.outfile" />
|
473
|
-
<entry file="file://$PROJECT_DIR$/
|
535
|
+
<entry file="file://$PROJECT_DIR$/99773.outfile" />
|
536
|
+
<entry file="file://$PROJECT_DIR$/18251.errfile" />
|
537
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/barong.rb">
|
474
538
|
<provider selected="true" editor-type-id="text-editor">
|
475
|
-
<state relative-caret-position="
|
476
|
-
<caret line="
|
539
|
+
<state relative-caret-position="299">
|
540
|
+
<caret line="13" column="4" selection-start-line="13" selection-start-column="4" selection-end-line="13" selection-end-column="4" />
|
477
541
|
</state>
|
478
542
|
</provider>
|
479
543
|
</entry>
|
480
|
-
<entry file="file://$PROJECT_DIR$/
|
481
|
-
<entry file="file://$PROJECT_DIR$/
|
482
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
544
|
+
<entry file="file://$PROJECT_DIR$/90285.errfile" />
|
545
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
483
546
|
<provider selected="true" editor-type-id="text-editor">
|
484
|
-
<state relative-caret-position="
|
485
|
-
<caret line="
|
547
|
+
<state relative-caret-position="2668">
|
548
|
+
<caret line="116" column="93" selection-start-line="116" selection-start-column="31" selection-end-line="116" selection-end-column="93" />
|
486
549
|
</state>
|
487
550
|
</provider>
|
488
551
|
</entry>
|
489
|
-
<entry file="file://$PROJECT_DIR$/
|
552
|
+
<entry file="file://$PROJECT_DIR$/90657.outfile" />
|
553
|
+
<entry file="file://$PROJECT_DIR$/90429.outfile" />
|
554
|
+
<entry file="file://$PROJECT_DIR$/lib/mailer.rb">
|
490
555
|
<provider selected="true" editor-type-id="text-editor">
|
491
|
-
<state>
|
492
|
-
<caret line="
|
556
|
+
<state relative-caret-position="667">
|
557
|
+
<caret line="29" column="5" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" />
|
493
558
|
</state>
|
494
559
|
</provider>
|
495
560
|
</entry>
|
496
|
-
<entry file="file://$PROJECT_DIR$/
|
497
|
-
|
498
|
-
|
499
|
-
<entry file="file://$PROJECT_DIR$/90153.outfile">
|
500
|
-
<provider selected="true" editor-type-id="text-editor" />
|
501
|
-
</entry>
|
502
|
-
<entry file="file://$PROJECT_DIR$/90205.errfile">
|
503
|
-
<provider selected="true" editor-type-id="text-editor" />
|
504
|
-
</entry>
|
505
|
-
<entry file="file://$PROJECT_DIR$/90205.outfile">
|
506
|
-
<provider selected="true" editor-type-id="text-editor" />
|
507
|
-
</entry>
|
508
|
-
<entry file="file://$PROJECT_DIR$/90263.errfile">
|
509
|
-
<provider selected="true" editor-type-id="text-editor" />
|
510
|
-
</entry>
|
511
|
-
<entry file="file://$PROJECT_DIR$/90285.outfile">
|
512
|
-
<provider selected="true" editor-type-id="text-editor" />
|
513
|
-
</entry>
|
514
|
-
<entry file="file://$PROJECT_DIR$/90285.errfile">
|
561
|
+
<entry file="file://$PROJECT_DIR$/90263.outfile" />
|
562
|
+
<entry file="file://$PROJECT_DIR$/92142.outfile" />
|
563
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
515
564
|
<provider selected="true" editor-type-id="text-editor">
|
516
|
-
<state>
|
517
|
-
<caret
|
565
|
+
<state relative-caret-position="322">
|
566
|
+
<caret line="14" selection-start-line="14" selection-end-line="14" />
|
518
567
|
</state>
|
519
568
|
</provider>
|
520
569
|
</entry>
|
521
|
-
<entry file="file://$PROJECT_DIR$/
|
522
|
-
<provider selected="true" editor-type-id="text-editor" />
|
523
|
-
</entry>
|
524
|
-
<entry file="file://$PROJECT_DIR$/90341.outfile">
|
525
|
-
<provider selected="true" editor-type-id="text-editor" />
|
526
|
-
</entry>
|
527
|
-
<entry file="file://$PROJECT_DIR$/90391.errfile">
|
528
|
-
<provider selected="true" editor-type-id="text-editor" />
|
529
|
-
</entry>
|
530
|
-
<entry file="file://$PROJECT_DIR$/90391.outfile">
|
531
|
-
<provider selected="true" editor-type-id="text-editor" />
|
532
|
-
</entry>
|
533
|
-
<entry file="file://$PROJECT_DIR$/90263.pid">
|
534
|
-
<provider selected="true" editor-type-id="text-editor" />
|
535
|
-
</entry>
|
536
|
-
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
570
|
+
<entry file="file://$PROJECT_DIR$/98588.errfile">
|
537
571
|
<provider selected="true" editor-type-id="text-editor">
|
538
|
-
<state relative-caret-position="
|
539
|
-
<caret line="
|
572
|
+
<state relative-caret-position="452">
|
573
|
+
<caret line="1053" lean-forward="true" selection-start-line="1053" selection-end-line="1053" />
|
540
574
|
</state>
|
541
575
|
</provider>
|
542
576
|
</entry>
|
543
|
-
<entry file="file://$PROJECT_DIR$/
|
544
|
-
<provider selected="true" editor-type-id="text-editor"
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
<entry file="file://$PROJECT_DIR$/90611.outfile">
|
550
|
-
<provider selected="true" editor-type-id="text-editor" />
|
577
|
+
<entry file="file://$PROJECT_DIR$/spec/SimBot_spec.rb">
|
578
|
+
<provider selected="true" editor-type-id="text-editor">
|
579
|
+
<state relative-caret-position="161">
|
580
|
+
<caret line="7" column="5" selection-start-line="7" selection-start-column="5" selection-end-line="7" selection-end-column="5" />
|
581
|
+
</state>
|
582
|
+
</provider>
|
551
583
|
</entry>
|
552
|
-
<entry file="file://$PROJECT_DIR$/
|
584
|
+
<entry file="file://$PROJECT_DIR$/98672.errfile">
|
553
585
|
<provider selected="true" editor-type-id="text-editor">
|
554
|
-
<state>
|
555
|
-
<caret column="7" selection-start-column="7" selection-end-column="
|
586
|
+
<state relative-caret-position="161">
|
587
|
+
<caret line="7" column="64" selection-start-line="7" selection-start-column="64" selection-end-line="7" selection-end-column="64" />
|
556
588
|
</state>
|
557
589
|
</provider>
|
558
590
|
</entry>
|
559
|
-
<entry file="file://$PROJECT_DIR$/
|
591
|
+
<entry file="file://$PROJECT_DIR$/98975.errfile">
|
560
592
|
<provider selected="true" editor-type-id="text-editor">
|
561
|
-
<state>
|
562
|
-
<caret column="
|
593
|
+
<state relative-caret-position="207">
|
594
|
+
<caret line="9" column="73" selection-start-line="9" selection-start-column="42" selection-end-line="9" selection-end-column="73" />
|
563
595
|
</state>
|
564
596
|
</provider>
|
565
597
|
</entry>
|
566
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
598
|
+
<entry file="file://$PROJECT_DIR$/lib/ApiController/peatio.rb">
|
567
599
|
<provider selected="true" editor-type-id="text-editor">
|
568
|
-
<state relative-caret-position="
|
569
|
-
<caret line="
|
600
|
+
<state relative-caret-position="208">
|
601
|
+
<caret line="21" column="49" selection-start-line="21" selection-start-column="49" selection-end-line="21" selection-end-column="49" />
|
570
602
|
</state>
|
571
603
|
</provider>
|
572
604
|
</entry>
|
573
|
-
<entry file="file://$PROJECT_DIR$/
|
605
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
574
606
|
<provider selected="true" editor-type-id="text-editor">
|
575
|
-
<state relative-caret-position="
|
607
|
+
<state relative-caret-position="186">
|
608
|
+
<caret line="29" column="19" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
|
609
|
+
</state>
|
576
610
|
</provider>
|
577
611
|
</entry>
|
578
612
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
579
613
|
<provider selected="true" editor-type-id="text-editor">
|
580
|
-
<state relative-caret-position="
|
581
|
-
<caret line="
|
614
|
+
<state relative-caret-position="236">
|
615
|
+
<caret line="20" column="58" selection-start-line="20" selection-start-column="58" selection-end-line="20" selection-end-column="58" />
|
582
616
|
</state>
|
583
617
|
</provider>
|
584
618
|
</entry>
|
585
619
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/simple_mm.rb">
|
586
620
|
<provider selected="true" editor-type-id="text-editor">
|
587
|
-
<state relative-caret-position="
|
588
|
-
<caret line="
|
621
|
+
<state relative-caret-position="231">
|
622
|
+
<caret line="48" column="17" selection-start-line="48" selection-start-column="17" selection-end-line="48" selection-end-column="17" />
|
589
623
|
</state>
|
590
624
|
</provider>
|
591
625
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/ApiController/peatio.rb
CHANGED
data/lib/Deamons/simple_mm.rb
CHANGED
@@ -46,7 +46,7 @@ module Deamons
|
|
46
46
|
txID = JSON.parse(@api.post_order(@market, ord[0].to_f, ord[1].to_f / 1000, 'sell'))
|
47
47
|
ord.push(txID['id'])
|
48
48
|
@api.cancel_order(@order_book[:asks][nums[i]][-1]) if @order_book[:asks].size > 400
|
49
|
-
sleep(1)
|
49
|
+
sleep(0.1)
|
50
50
|
end
|
51
51
|
@order_book = data
|
52
52
|
puts data.inspect
|
data/lib/Deamons/wash_trade.rb
CHANGED
@@ -27,9 +27,10 @@ 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 /= 1000
|
30
31
|
price = aug_price
|
31
|
-
@api.post_order(@market, price, vol, 'sell')
|
32
32
|
@api.post_order(@market, price, vol, 'buy')
|
33
|
+
@api.post_order(@market, price, vol, 'sell')
|
33
34
|
puts "order ##{count} placed"
|
34
35
|
delay = (1 / @freq).to_i
|
35
36
|
sleep(rand(delay...delay + 2))
|
data/lib/SimBot.rb
CHANGED
@@ -12,24 +12,24 @@ module SimBot
|
|
12
12
|
# CLI for controlling the SimBot
|
13
13
|
class CLI < Thor
|
14
14
|
require 'utils'
|
15
|
-
desc 'wash', 'Start simulation bot
|
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
|
19
|
-
method_option :barong_base_url, type: :string, default: 'https://auth.review
|
20
|
-
method_option :app_id, type: :string, default: '
|
21
|
-
method_option :market, type: :string, default: '
|
15
|
+
desc 'wash', 'Start simulation bot.'
|
16
|
+
method_option :email, type: :string, default: 'admin@ovex.io', required: true, desc: 'Your OVEX email address'
|
17
|
+
method_option :password, type: :string, default: 'Pass123', required: true, desc: 'Your OVEX password'
|
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: 'ceca08fbc83c2fb4eb53bb026489', desc: 'Peatio applicaiton id from Barong'
|
21
|
+
method_option :market, type: :string, default: 'btcbch', 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
|
24
24
|
api = ApiController::Peatio.new(options[:peatio_base_url], options[:barong_base_url], options[:app_id], options[:email], options[:password])
|
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
|
31
|
-
method_option :barong_base_url, type: :string, default: 'https://auth.review
|
32
|
-
method_option :app_id, type: :string, default: '
|
28
|
+
method_option :email, type: :string, default: 'admin@ovex.io', required: true, desc: 'Your OVEX email address'
|
29
|
+
method_option :password, type: :string, default: 'Pass123', required: true, desc: 'Your OVEX password'
|
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: 'ceca08fbc83c2fb4eb53bb026489', 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.28
|
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-
|
11
|
+
date: 2018-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|