Advertisement
den4ik2003

Untitled

Mar 23rd, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.87 KB | None | 0 0
  1. grid 0.012525 654.220000
  2. grid 0.010582 718.200000
  3. grid 0.012526 817.770000
  4. grid 0.010581 897.830000
  5. Was not found
  6. get_order:
  7. 1711187696348 0.011899
  8. 1711187696347 0.013155
  9. 1711187696346 0.011900
  10. 1711187696345 0.013154
  11. 1711187696343 0.013153
  12. 1711187696260 0.015852
  13. 1711187696344 0.011901
  14. id = 1711187696344
  15. check_remove_if_present: id = 1711187696344
  16. Account order event
  17. !{"amount": "6.453650","average_price": "0.000000","client_order_id": 1711187696343,"create_time": 1711187831106,"is_maker": false,"status": "CANCELED","price": "0.013153","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837295}
  18. In grid!scaled price = 13154 scaled_ qty = 65422
  19. grid 0.012524 490.660000
  20. grid 0.010583 538.600000
  21. grid 0.012525 654.220000
  22. grid 0.010582 718.200000
  23. grid 0.012526 817.770000
  24. grid 0.010581 897.830000
  25. Was not found
  26. get_order:
  27. 1711187696348 0.011899
  28. 1711187696347 0.013155
  29. 1711187696346 0.011900
  30. 1711187696345 0.013154
  31. id = 1711187696345
  32. check_remove_if_present: id = 1711187696345
  33. Account order event
  34. !{"amount": "5.699980","average_price": "0.000000","client_order_id": 1711187696344,"create_time": 1711187831133,"is_maker": false,"status": "CANCELED","price": "0.011901","quantity": "478.950000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837324}
  35. In grid!scaled price = 11900 scaled_ qty = 63865
  36. grid 0.012524 490.660000
  37. grid 0.010583 538.600000
  38. grid 0.012525 654.220000
  39. grid 0.010582 718.200000
  40. grid 0.012526 817.770000
  41. grid 0.010581 897.830000
  42. Was not found
  43. get_order:
  44. 1711187696348 0.011899
  45. 1711187696347 0.013155
  46. 1711187696346 0.011900
  47. id = 1711187696346
  48. check_remove_if_present: id = 1711187696346
  49. Account order event
  50. !{"amount": "8.605600","average_price": "0.000000","client_order_id": 1711187696345,"create_time": 1711187831162,"is_maker": false,"status": "CANCELED","price": "0.013154","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837343}
  51. In grid!scaled price = 13155 scaled_ qty = 81777
  52. grid 0.012524 490.660000
  53. grid 0.010583 538.600000
  54. grid 0.012525 654.220000
  55. grid 0.010582 718.200000
  56. grid 0.012526 817.770000
  57. grid 0.010581 897.830000
  58. Was not found
  59. get_order:
  60. 1711187696348 0.011899
  61. 1711187696347 0.013155
  62. id = 1711187696347
  63. check_remove_if_present: id = 1711187696347
  64. Account order event
  65. !{"amount": "7.599930","average_price": "0.000000","client_order_id": 1711187696346,"create_time": 1711187831199,"is_maker": false,"status": "CANCELED","price": "0.011900","quantity": "638.650000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837376}
  66. In grid!scaled price = 11899 scaled_ qty = 79838
  67. grid 0.012524 490.660000
  68. grid 0.010583 538.600000
  69. grid 0.012525 654.220000
  70. grid 0.010582 718.200000
  71. grid 0.012526 817.770000
  72. grid 0.010581 897.830000
  73. Was not found
  74. get_order:
  75. 1711187696348 0.011899
  76. id = 1711187696348
  77. check_remove_if_present: id = 1711187696348
  78. Account order event
  79. !{"amount": "10.757760","average_price": "0.000000","client_order_id": 1711187696347,"create_time": 1711187831226,"is_maker": false,"status": "CANCELED","price": "0.013155","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837398}
  80. After grid!
  81. 0.012524
  82. check_add_if_not_present: id = 1711187696349 , price = 12524
  83. local new order
  84. id = 1711187696349 , price = 0.012524
  85. id = 1711187696348 , price = 0.011899
  86. id = 1711187696260 , price = 0.015852
  87. id = 1711187696266 , price = 0.015852
  88. Account order event
  89. !{"amount": "9.499920","average_price": "0.000000","client_order_id": 1711187696348,"create_time": 1711187831255,"is_maker": false,"status": "CANCELED","price": "0.011899","quantity": "798.380000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837421}
  90. add_with_overwrite: id = 1711187696349 , price = 12524
  91. prev price = 12524
  92. new price = 12524
  93. Account order event
  94. !{"amount": "6.145020","average_price": "0.000000","client_order_id": 1711187696349,"create_time": 1711187837438,"is_maker": false,"status": "NEW","price": "0.012524","quantity": "490.660000","filled_quantity": "0.000000",Complete
  95. 0.010583
  96. "side": "check_add_if_not_present: id = 1711187696350 , price = 10583
  97. SELL","symbol": "0x5594e99b4b18","type": "local new order
  98. id = 1711187696350 , price = 0.010583
  99. id = 1711187696349 , price = 0.012524
  100. LIMIT_MAKER""update_time": 1711187837448}
  101. id = 1711187696260 , price = 0.015852
  102. id = 1711187696266 , price = 0.015852
  103. Complete
  104. 0.012525
  105. check_add_if_not_present: id = 1711187696351 , price = 12525
  106. local new order
  107. id = 1711187696350 , price = 0.010583
  108. id = 1711187696349 , price = 0.012524
  109. id = 1711187696351 , price = 0.012525
  110. id = 1711187696260 , price = 0.015852
  111. id = 1711187696266 , price = 0.015852
  112. add_with_overwrite: id = 1711187696350 , price = 10583
  113. prev price = 10583
  114. new price = 10583
  115. Account order event
  116. !{"amount": "5.700000","average_price": "0.000000","client_order_id": 1711187696350,"create_time": 1711187837466,"is_maker": false,"status": "NEW","price": "0.010583","quantity": "538.600000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837476}
  117. add_with_overwrite: id = 1711187696351 , price = 12525
  118. prev price = 12525
  119. new price = 12525
  120. Account order event
  121. !{"amount": "8.194100","average_price": "0.000000","client_order_id": 1711187696351,"create_time": 1711187837490,"is_maker": false,"status": "NEW","price": "0.012525","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837500}
  122. Complete
  123. 0.010582
  124. check_add_if_not_present: id = 1711187696352 , price = 10582
  125. local new order
  126. id = 1711187696352 , price = 0.010582
  127. id = 1711187696350 , price = 0.010583
  128. id = 1711187696349 , price = 0.012524
  129. id = 1711187696351 , price = 0.012525
  130. id = 1711187696260 , price = 0.015852
  131. id = 1711187696266 , price = 0.015852
  132. Complete
  133. 0.012526
  134. check_add_if_not_present: id = 1711187696353 , price = 12526
  135. local new order
  136. id = 1711187696353 , price = 0.012526
  137. id = 1711187696352 , price = 0.010582
  138. id = 1711187696350 , price = 0.010583
  139. id = 1711187696349 , price = 0.012524
  140. id = 1711187696351 , price = 0.012525
  141. id = 1711187696260 , price = 0.015852
  142. id = 1711187696266 , price = 0.015852
  143. add_with_overwrite: id = 1711187696352 , price = 10582
  144. prev price = 10582
  145. new price = 10582
  146. Account order event
  147. !{"amount": "7.599990","average_price": "0.000000","client_order_id": 1711187696352,"create_time": 1711187837525,"is_maker": false,"status": "NEW","price": "0.010582","quantity": "718.200000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837537}
  148. Complete
  149. 0.010581
  150. check_add_if_not_present: id = 1711187696354 , price = 10581
  151. local new order
  152. id = 1711187696354 , price = 0.010581
  153. id = 1711187696353 , price = 0.012526
  154. id = 1711187696352 , price = 0.010582
  155. id = 1711187696350 , price = 0.010583
  156. id = 1711187696349 , price = 0.012524
  157. id = 1711187696351 , price = 0.012525
  158. id = 1711187696260 , price = 0.015852
  159. id = 1711187696266 , price = 0.015852
  160. add_with_overwrite: id = 1711187696353 , price = 12526
  161. prev price = 12526
  162. new price = 12526
  163. Account order event
  164. !{"amount": "10.243380","average_price": "0.000000","client_order_id": 1711187696353,"create_time": 1711187837548,"is_maker": false,"status": "NEW","price": "0.012526","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837558}
  165. Complete
  166.  
  167. 1711187837582 Orders posted.
  168. add_with_overwrite: id = 1711187696354 , price = 10581
  169. prev price = 10581
  170. new price = 10581
  171. Account order event
  172. !{"amount": "9.499930","average_price": "0.000000","client_order_id": 1711187696354,"create_time": 1711187837574,"is_maker": false,"status": "NEW","price": "0.010581","quantity": "897.830000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187837597}
  173.  
  174. 1711187843582 Previous mid price: 0.012450
  175.  
  176. 1711187843582 Posting...
  177.  
  178. 1711187843582 Placing orders.
  179. Mid price: 0.012345, spread ticks: 1234
  180. In MakeNewOrdersWithGrid
  181. snapshot:
  182. order price = 10581 , order_id = 1711187696354
  183. order price = 12526 , order_id = 1711187696353
  184. order price = 10582 , order_id = 1711187696352
  185. order price = 12525 , order_id = 1711187696351
  186. order price = 10583 , order_id = 1711187696350
  187. order price = 12524 , order_id = 1711187696349
  188. In MakeNewOrdersWithGrid get grid
  189. In grid!scaled price = 12524 scaled_ qty = 49066
  190. grid 0.012308 490.660000
  191. grid 0.009260 615.550000
  192. grid 0.012309 654.220000
  193. grid 0.009259 820.820000
  194. grid 0.012310 817.770000
  195. grid 0.009258 1026.140000
  196. Was not found
  197. get_order:
  198. 1711187696354 0.010581
  199. 1711187696353 0.012526
  200. 1711187696352 0.010582
  201. 1711187696350 0.010583
  202. 1711187696349 0.012524
  203. id = 1711187696349
  204. check_remove_if_present: id = 1711187696349
  205. In grid!scaled price = 10583 scaled_ qty = 53860
  206. grid 0.012308 490.660000
  207. grid 0.009260 615.550000
  208. grid 0.012309 654.220000
  209. grid 0.009259 820.820000
  210. grid 0.012310 817.770000
  211. grid 0.009258 1026.140000
  212. Was not found
  213. get_order:
  214. 1711187696354 0.010581
  215. 1711187696353 0.012526
  216. 1711187696352 0.010582
  217. 1711187696350 0.010583
  218. id = 1711187696350
  219. check_remove_if_present: id = 1711187696350
  220. Account order event
  221. !{"amount": "6.145020","average_price": "0.000000","client_order_id": 1711187696349,"create_time": 1711187837438,"is_maker": false,"status": "CANCELED","price": "0.012524","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843605}
  222. In grid!scaled price = 12525 scaled_ qty = 65422
  223. grid 0.012308 490.660000
  224. grid 0.009260 615.550000
  225. grid 0.012309 654.220000
  226. grid 0.009259 820.820000
  227. grid 0.012310 817.770000
  228. grid 0.009258 1026.140000
  229. Was not found
  230. get_order:
  231. 1711187696354 0.010581
  232. 1711187696353 0.012526
  233. 1711187696352 0.010582
  234. 1711187696350 0.010583
  235. 1711187696351 0.012525
  236. id = 1711187696351
  237. check_remove_if_present: id = 1711187696351
  238. Account order event
  239. !{"amount": "5.700000","average_price": "0.000000","client_order_id": 1711187696350,"create_time": 1711187837466,"is_maker": false,"status": "CANCELED","price": "0.010583","quantity": "538.600000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843630}
  240. In grid!scaled price = 10582 scaled_ qty = 71820
  241. grid 0.012308 490.660000
  242. grid 0.009260 615.550000
  243. grid 0.012309 654.220000
  244. grid 0.009259 820.820000
  245. grid 0.012310 817.770000
  246. grid 0.009258 1026.140000
  247. Was not found
  248. get_order:
  249. 1711187696354 0.010581
  250. 1711187696353 0.012526
  251. 1711187696352 0.010582
  252. id = 1711187696352
  253. check_remove_if_present: id = 1711187696352
  254. Account order event
  255. !{"amount": "8.194100","average_price": "0.000000","client_order_id": 1711187696351,"create_time": 1711187837490,"is_maker": false,"status": "CANCELED","price": "0.012525","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843654}
  256. Account order event
  257. !{"amount": "7.599990","average_price": "0.000000","client_order_id": 1711187696352,"create_time": 1711187837525,"is_maker": false,"status": "CANCELED","price": "0.010582","quantity": "718.200000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843677}
  258. In grid!scaled price = 12526 scaled_ qty = 81777
  259. grid 0.012308 490.660000
  260. grid 0.009260 615.550000
  261. grid 0.012309 654.220000
  262. grid 0.009259 820.820000
  263. grid 0.012310 817.770000
  264. grid 0.009258 1026.140000
  265. Was not found
  266. get_order:
  267. 1711187696354 0.010581
  268. 1711187696353 0.012526
  269. id = 1711187696353
  270. check_remove_if_present: id = 1711187696353
  271. In grid!scaled price = 10581 scaled_ qty = 89783
  272. grid 0.012308 490.660000
  273. grid 0.009260 615.550000
  274. grid 0.012309 654.220000
  275. grid 0.009259 820.820000
  276. grid 0.012310 817.770000
  277. grid 0.009258 1026.140000
  278. Was not found
  279. get_order:
  280. 1711187696354 0.010581
  281. id = 1711187696354
  282. check_remove_if_present: id = 1711187696354
  283. Account order event
  284. !{"amount": "10.243380","average_price": "0.000000","client_order_id": 1711187696353,"create_time": 1711187837548,"is_maker": false,"status": "CANCELED","price": "0.012526","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843704}
  285. After grid!
  286. 0.012308
  287. check_add_if_not_present: id = 1711187696355 , price = 12308
  288. local new order
  289. id = 1711187696355 , price = 0.012308
  290. id = 1711187696354 , price = 0.010581
  291. id = 1711187696260 , price = 0.015852
  292. id = 1711187696266 , price = 0.015852
  293. Account order event
  294. !{"amount": "9.499930","average_price": "0.000000","client_order_id": 1711187696354,"create_time": 1711187837574,"is_maker": false,"status": "CANCELED","price": "0.010581","quantity": "897.830000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843723}
  295. add_with_overwrite: id = 1711187696355 , price = 12308
  296. prev price = 12308
  297. new price = 12308
  298. Account order event
  299. !{"amount": "6.039040","average_price": "0.000000","client_order_id": 1711187696355,"create_time": 1711187843758,"is_maker": false,"status": "NEW","price": "0.012308","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843771}
  300. Complete
  301. 0.009260
  302. check_add_if_not_present: id = 1711187696356 , price = 9260
  303. local new order
  304. id = 1711187696356 , price = 0.009260
  305. id = 1711187696355 , price = 0.012308
  306. id = 1711187696260 , price = 0.015852
  307. id = 1711187696266 , price = 0.015852
  308. add_with_overwrite: id = 1711187696356 , price = 9260
  309. prev price = 9260
  310. new price = 9260
  311. Account order event
  312. !{"amount": "5.699990","average_price": "0.000000","client_order_id": 1711187696356,"create_time": 1711187843800,"is_maker": false,"status": "NEW","price": "0.009260","quantity": "615.540000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843809}
  313. Complete
  314. 0.012309
  315. check_add_if_not_present: id = 1711187696357 , price = 12309
  316. local new order
  317. id = 1711187696356 , price = 0.009260
  318. id = 1711187696355 , price = 0.012308
  319. id = 1711187696260 , price = 0.015852
  320. id = 1711187696357 , price = 0.012309
  321. id = 1711187696266 , price = 0.015852
  322. add_with_overwrite: id = 1711187696357 , price = 12309
  323. prev price = 12309
  324. new price = 12309
  325. Account order event
  326. !{"amount": "8.052790","average_price": "0.000000","client_order_id": 1711187696357,"create_time": 1711187843869,"is_maker": false,"status": "NEW","price": "0.012309","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843879}
  327. Complete
  328. 0.009259
  329. check_add_if_not_present: id = 1711187696358 , price = 9259
  330. local new order
  331. id = 1711187696358 , price = 0.009259
  332. id = 1711187696356 , price = 0.009260
  333. id = 1711187696355 , price = 0.012308
  334. id = 1711187696260 , price = 0.015852
  335. id = 1711187696357 , price = 0.012309
  336. id = 1711187696266 , price = 0.015852
  337. Complete
  338. 0.012310
  339. check_add_if_not_present: id = 1711187696359 , price = 12310
  340. local new order
  341. id = 1711187696359 , price = 0.012310
  342. id = 1711187696358 , price = 0.009259
  343. id = 1711187696356 , price = 0.009260
  344. id = 1711187696355 , price = 0.012308
  345. id = 1711187696260 , price = 0.015852
  346. id = 1711187696357 , price = 0.012309
  347. id = 1711187696266 , price = 0.015852
  348. add_with_overwrite: id = 1711187696358 , price = 9259
  349. prev price = 9259
  350. new price = 9259
  351. Account order event
  352. !{"amount": "7.599970","average_price": "0.000000","client_order_id": 1711187696358,"create_time": 1711187843899,"is_maker": false,"status": "NEW","price": "0.009259","quantity": "820.820000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843907}
  353. Complete
  354. 0.009258
  355. check_add_if_not_present: id = 1711187696360 , price = 9258
  356. local new order
  357. id = 1711187696360 , price = 0.009258
  358. id = 1711187696359 , price = 0.012310
  359. id = 1711187696358 , price = 0.009259
  360. id = 1711187696356 , price = 0.009260
  361. id = 1711187696355 , price = 0.012308
  362. id = 1711187696260 , price = 0.015852
  363. id = 1711187696357 , price = 0.012309
  364. id = 1711187696266 , price = 0.015852
  365. add_with_overwrite: id = 1711187696359 , price = 12310
  366. prev price = 12310
  367. new price = 12310
  368. Account order event
  369. !{"amount": "10.066740","average_price": "0.000000","client_order_id": 1711187696359,"create_time": 1711187843920,"is_maker": false,"status": "NEW","price": "0.012310","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843930}
  370. add_with_overwrite: id = 1711187696360 , price = 9258
  371. prev price = 9258
  372. new price = 9258
  373. Account order event
  374. !{"amount": "9.500000","average_price": "0.000000","client_order_id": 1711187696360,"create_time": 1711187843949,"is_maker": false,"status": "NEW","price": "0.009258","quantity": "1026.140000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187843960}
  375. Complete
  376.  
  377. 1711187843976 Orders posted.
  378.  
  379.  
  380. --- BALANCES ---
  381. base balance: {"asset": "LOTT","free": "1635.58","frozen": "3271.09","update_time": 1711187843923}
  382. quote balance: {"asset": "USDT","free": "34.1775","frozen": "22.8228","update_time": 1711187843952}
  383.  
  384.  
  385. 1711187849977 Previous mid price: 0.012345
  386.  
  387. 1711187849977 Posting...
  388.  
  389. 1711187849977 Placing orders.
  390. Mid price: 0.012345, spread ticks: 1234
  391. In MakeNewOrdersWithGrid
  392. snapshot:
  393. order price = 9258 , order_id = 1711187696360
  394. order price = 12310 , order_id = 1711187696359
  395. order price = 9259 , order_id = 1711187696358
  396. order price = 12309 , order_id = 1711187696357
  397. order price = 9260 , order_id = 1711187696356
  398. order price = 12308 , order_id = 1711187696355
  399. In MakeNewOrdersWithGrid get grid
  400. In grid!scaled price = 12308 scaled_ qty = 49066
  401. grid 0.012308 490.660000
  402. Different quantity
  403. get_order:
  404. 1711187696360 0.009258
  405. 1711187696359 0.012310
  406. 1711187696358 0.009259
  407. 1711187696356 0.009260
  408. 1711187696355 0.012308
  409. check_remove_if_present: id = 1711187696355
  410. check_add_if_not_present: id = 1711187696361 , price = 12308
  411. local new order
  412. id = 1711187696361 , price = 0.012308
  413. id = 1711187696360 , price = 0.009258
  414. id = 1711187696359 , price = 0.012310
  415. id = 1711187696358 , price = 0.009259
  416. id = 1711187696356 , price = 0.009260
  417. id = 1711187696355 , price = 0.012308
  418. id = 1711187696260 , price = 0.015852
  419. id = 1711187696357 , price = 0.012309
  420. id = 1711187696266 , price = 0.015852
  421. Account order event
  422. !{"amount": "6.039040","average_price": "0.000000","client_order_id": 1711187696355,"create_time": 1711187843758,"is_maker": false,"status": "CANCELED","price": "0.012308","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850001}
  423. grid 0.010494 543.160000
  424. grid 0.012309 654.220000
  425. grid 0.010493 724.290000
  426. grid 0.012310 817.770000
  427. grid 0.010492 905.450000
  428. In grid!scaled price = 9260 scaled_ qty = 61554
  429. grid 0.012308 490.660000
  430. grid 0.010494 543.160000
  431. grid 0.012309 654.220000
  432. grid 0.010493 724.290000
  433. grid 0.012310 817.770000
  434. grid 0.010492 905.450000
  435. Was not found
  436. get_order:
  437. 1711187696361 0.012308
  438. 1711187696360 0.009258
  439. 1711187696359 0.012310
  440. 1711187696358 0.009259
  441. 1711187696356 0.009260
  442. id = 1711187696356
  443. check_remove_if_present: id = 1711187696356
  444. add_with_overwrite: id = 1711187696361 , price = 12308
  445. prev price = 12308
  446. new price = 12308
  447. Account order event
  448. !{"amount": "6.039040","average_price": "0.000000","client_order_id": 1711187696361,"create_time": 1711187850012,"is_maker": false,"status": "NEW","price": "0.012308","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850024}
  449. Account order event
  450. !{"amount": "5.699990","average_price": "0.000000","client_order_id": 1711187696356,"create_time": 1711187843800,"is_maker": false,"status": "CANCELED","price": "0.009260","quantity": "615.540000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850044}
  451. In grid!scaled price = 12309 scaled_ qty = 65422
  452. grid 0.012308 490.660000
  453. grid 0.010494 543.160000
  454. grid 0.012309 654.220000
  455. Different quantity
  456. get_order:
  457. 1711187696361 0.012308
  458. 1711187696360 0.009258
  459. 1711187696359 0.012310
  460. 1711187696358 0.009259
  461. 1711187696260 0.015852
  462. 1711187696357 0.012309
  463. check_remove_if_present: id = 1711187696357
  464. check_add_if_not_present: id = 1711187696362 , price = 12309
  465. local new order
  466. id = 1711187696362 , price = 0.012309
  467. id = 1711187696361 , price = 0.012308
  468. id = 1711187696360 , price = 0.009258
  469. id = 1711187696359 , price = 0.012310
  470. id = 1711187696358 , price = 0.009259
  471. id = 1711187696260 , price = 0.015852
  472. id = 1711187696357 , price = 0.012309
  473. id = 1711187696266 , price = 0.015852
  474. Account order event
  475. !{"amount": "8.052790","average_price": "0.000000","client_order_id": 1711187696357,"create_time": 1711187843869,"is_maker": false,"status": "CANCELED","price": "0.012309","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850070}
  476. grid 0.010493 724.290000
  477. grid 0.012310 817.770000
  478. grid 0.010492 905.450000
  479. In grid!scaled price = 9259 scaled_ qty = 82082
  480. grid 0.012308 490.660000
  481. grid 0.010494 543.160000
  482. grid 0.012309 654.220000
  483. grid 0.010493 724.290000
  484. grid 0.012310 817.770000
  485. grid 0.010492 905.450000
  486. Was not found
  487. get_order:
  488. 1711187696362 0.012309
  489. 1711187696361 0.012308
  490. 1711187696360 0.009258
  491. 1711187696359 0.012310
  492. 1711187696358 0.009259
  493. id = 1711187696358
  494. check_remove_if_present: id = 1711187696358
  495. add_with_overwrite: id = 1711187696362 , price = 12309
  496. prev price = 12309
  497. new price = 12309
  498. Account order event
  499. !{"amount": "8.052790","average_price": "0.000000","client_order_id": 1711187696362,"create_time": 1711187850079,"is_maker": false,"status": "NEW","price": "0.012309","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850091}
  500. Account order event
  501. !{"amount": "7.599970","average_price": "0.000000","client_order_id": 1711187696358,"create_time": 1711187843899,"is_maker": false,"status": "CANCELED","price": "0.009259","quantity": "820.820000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850120}
  502. In grid!scaled price = 12310 scaled_ qty = 81777
  503. grid 0.012308 490.660000
  504. grid 0.010494 543.160000
  505. grid 0.012309 654.220000
  506. grid 0.010493 724.290000
  507. grid 0.012310 817.770000
  508. Different quantity
  509. get_order:
  510. 1711187696362 0.012309
  511. 1711187696361 0.012308
  512. 1711187696360 0.009258
  513. 1711187696359 0.012310
  514. check_remove_if_present: id = 1711187696359
  515. check_add_if_not_present: id = 1711187696363 , price = 12310
  516. local new order
  517. id = 1711187696363 , price = 0.012310
  518. id = 1711187696362 , price = 0.012309
  519. id = 1711187696361 , price = 0.012308
  520. id = 1711187696360 , price = 0.009258
  521. id = 1711187696359 , price = 0.012310
  522. id = 1711187696260 , price = 0.015852
  523. id = 1711187696266 , price = 0.015852
  524. grid 0.010492 905.450000
  525. In grid!scaled price = 9258 scaled_ qty = 102614
  526. grid 0.012308 490.660000
  527. grid 0.010494 543.160000
  528. grid 0.012309 654.220000
  529. grid 0.010493 724.290000
  530. grid 0.012310 817.770000
  531. grid 0.010492 905.450000
  532. Was not found
  533. get_order:
  534. 1711187696363 0.012310
  535. 1711187696362 0.012309
  536. 1711187696361 0.012308
  537. 1711187696360 0.009258
  538. id = 1711187696360
  539. check_remove_if_present: id = 1711187696360
  540. Account order event
  541. !{"amount": "10.066740","average_price": "0.000000","client_order_id": 1711187696359,"create_time": 1711187843920,"is_maker": false,"status": "CANCELED","price": "0.012310","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850186}
  542. add_with_overwrite: id = 1711187696363 , price = 12310
  543. prev price = 12310
  544. new price = 12310
  545. Account order event
  546. !{"amount": "10.066740","average_price": "0.000000","client_order_id": 1711187696363,"create_time": 1711187850219,"is_maker": false,"status": "NEW","price": "0.012310","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850230}
  547. After grid!
  548. 0.012308
  549. Complete
  550. 0.010494
  551. check_add_if_not_present: id = 1711187696364 , price = 10494
  552. local new order
  553. id = 1711187696363 , price = 0.012310
  554. id = 1711187696362 , price = 0.012309
  555. id = 1711187696361 , price = 0.012308
  556. id = 1711187696360 , price = 0.009258
  557. id = 1711187696364 , price = 0.010494
  558. id = 1711187696260 , price = 0.015852
  559. id = 1711187696266 , price = 0.015852
  560. Account order event
  561. !{"amount": "9.500000","average_price": "0.000000","client_order_id": 1711187696360,"create_time": 1711187843949,"is_maker": false,"status": "CANCELED","price": "0.009258","quantity": "1026.140000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850249}
  562. add_with_overwrite: id = 1711187696364 , price = 10494
  563. prev price = 10494
  564. new price = 10494
  565. Account order event
  566. !{"amount": "5.699920","average_price": "0.000000","client_order_id": 1711187696364,"create_time": 1711187850277,"is_maker": false,"status": "NEW","price": "0.010494","quantity": "543.160000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850290}
  567. Complete
  568. 0.012309
  569. Complete
  570. 0.010493
  571. check_add_if_not_present: id = 1711187696365 , price = 10493
  572. local new order
  573. id = 1711187696365 , price = 0.010493
  574. id = 1711187696363 , price = 0.012310
  575. id = 1711187696362 , price = 0.012309
  576. id = 1711187696361 , price = 0.012308
  577. id = 1711187696364 , price = 0.010494
  578. id = 1711187696260 , price = 0.015852
  579. id = 1711187696266 , price = 0.015852
  580. Complete
  581. 0.012310
  582. Complete
  583. 0.010492
  584. check_add_if_not_present: id = 1711187696366 , price = 10492
  585. local new order
  586. id = 1711187696366 , price = 0.010492
  587. id = 1711187696365 , price = 0.010493
  588. id = 1711187696363 , price = 0.012310
  589. id = 1711187696362 , price = 0.012309
  590. id = 1711187696361 , price = 0.012308
  591. id = 1711187696364 , price = 0.010494
  592. id = 1711187696260 , price = 0.015852
  593. id = 1711187696266 , price = 0.015852
  594. add_with_overwrite: id = 1711187696365 , price = 10493
  595. prev price = 10493
  596. new price = 10493
  597. Account order event
  598. !{"amount": "7.599970","average_price": "0.000000","client_order_id": 1711187696365,"create_time": 1711187850352,"is_maker": false,"status": "NEW","price": "0.010493","quantity": "724.290000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850363}
  599. Complete
  600.  
  601. 1711187850389 Orders posted.
  602. add_with_overwrite: id = 1711187696366 , price = 10492
  603. prev price = 10492
  604. new price = 10492
  605. Account order event
  606. !{"amount": "9.499980","average_price": "0.000000","client_order_id": 1711187696366,"create_time": 1711187850380,"is_maker": false,"status": "NEW","price": "0.010492","quantity": "905.450000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187850390}
  607.  
  608. 1711187856390 Previous mid price: 0.012345
  609.  
  610. 1711187856390 Posting...
  611.  
  612. 1711187856390 Placing orders.
  613. Mid price: 0.012304, spread ticks: 1230
  614. In MakeNewOrdersWithGrid
  615. snapshot:
  616. order price = 10492 , order_id = 1711187696366
  617. order price = 10493 , order_id = 1711187696365
  618. order price = 10494 , order_id = 1711187696364
  619. order price = 12310 , order_id = 1711187696363
  620. order price = 12309 , order_id = 1711187696362
  621. order price = 12308 , order_id = 1711187696361
  622. In MakeNewOrdersWithGrid get grid
  623. In grid!scaled price = 12308 scaled_ qty = 49066
  624. grid 0.012225 490.660000
  625. grid 0.009229 617.620000
  626. grid 0.012226 654.220000
  627. grid 0.009228 823.580000
  628. grid 0.012227 817.770000
  629. grid 0.009227 1029.590000
  630. Was not found
  631. get_order:
  632. 1711187696366 0.010492
  633. 1711187696365 0.010493
  634. 1711187696363 0.012310
  635. 1711187696362 0.012309
  636. 1711187696361 0.012308
  637. id = 1711187696361
  638. check_remove_if_present: id = 1711187696361
  639. In grid!scaled price = 12309 scaled_ qty = 65422
  640. grid 0.012225 490.660000
  641. grid 0.009229 617.620000
  642. grid 0.012226 654.220000
  643. grid 0.009228 Account order event
  644. !{"amount": "6.039040","average_price": "0.000000","client_order_id": 1711187696361,"create_time": 1711187850012,"is_maker": false,"status": "CANCELED","price": "0.012308","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856419}
  645. 823.580000
  646. grid 0.012227 817.770000
  647. grid 0.009227 1029.590000
  648. Was not found
  649. get_order:
  650. 1711187696366 0.010492
  651. 1711187696365 0.010493
  652. 1711187696363 0.012310
  653. 1711187696362 0.012309
  654. id = 1711187696362
  655. check_remove_if_present: id = 1711187696362
  656. In grid!scaled price = 12310 scaled_ qty = 81777
  657. grid 0.012225 490.660000
  658. grid 0.009229 617.620000
  659. grid 0.012226 654.220000
  660. grid 0.009228 823.580000
  661. grid 0.012227 817.770000
  662. grid 0.009227 1029.590000
  663. Was not found
  664. get_order:
  665. 1711187696366 0.010492
  666. 1711187696365 0.010493
  667. 1711187696363 0.012310
  668. id = 1711187696363
  669. check_remove_if_present: id = 1711187696363
  670. Account order event
  671. !{"amount": "8.052790","average_price": "0.000000","client_order_id": 1711187696362,"create_time": 1711187850079,"is_maker": false,"status": "CANCELED","price": "0.012309","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856449}
  672. Account order event
  673. !{"amount": "10.066740","average_price": "0.000000","client_order_id": 1711187696363,"create_time": 1711187850219,"is_maker": false,"status": "CANCELED","price": "0.012310","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856472}
  674. In grid!scaled price = 10494 scaled_ qty = 54316
  675. grid 0.012225 490.660000
  676. grid 0.009229 617.620000
  677. grid 0.012226 654.220000
  678. grid 0.009228 823.580000
  679. grid 0.012227 817.770000
  680. grid 0.009227 1029.590000
  681. Was not found
  682. get_order:
  683. 1711187696366 0.010492
  684. 1711187696365 0.010493
  685. 1711187696364 0.010494
  686. id = 1711187696364
  687. check_remove_if_present: id = 1711187696364
  688. In grid!scaled price = 10493 scaled_ qty = 72429
  689. grid 0.012225 490.660000
  690. grid 0.009229 617.620000
  691. grid 0.012226 654.220000
  692. grid 0.009228 823.580000
  693. grid 0.012227 817.770000
  694. grid 0.009227 1029.590000
  695. Was not found
  696. get_order:
  697. 1711187696366 0.010492
  698. 1711187696365 0.010493
  699. id = 1711187696365
  700. check_remove_if_present: id = 1711187696365
  701. Account order event
  702. !{"amount": "5.699920","average_price": "0.000000","client_order_id": 1711187696364,"create_time": 1711187850277,"is_maker": false,"status": "CANCELED","price": "0.010494","quantity": "543.160000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856500}
  703. In grid!scaled price = 10492 scaled_ qty = 90545
  704. grid 0.012225 490.660000
  705. grid 0.009229 617.620000
  706. grid 0.012226 654.220000
  707. grid 0.009228 823.580000
  708. grid 0.012227 817.770000
  709. grid 0.009227 1029.590000
  710. Was not found
  711. get_order:
  712. 1711187696366 0.010492
  713. id = 1711187696366
  714. check_remove_if_present: id = 1711187696366
  715. Account order event
  716. !{"amount": "7.599970","average_price": "0.000000","client_order_id": 1711187696365,"create_time": 1711187850352,"is_maker": false,"status": "CANCELED","price": "0.010493","quantity": "724.290000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856535}
  717. After grid!
  718. 0.012225
  719. check_add_if_not_present: id = 1711187696367 , price = 12225
  720. local new order
  721. id = 1711187696367 , price = 0.012225
  722. id = 1711187696366 , price = 0.010492
  723. id = 1711187696260 , price = 0.015852
  724. id = 1711187696266 , price = 0.015852
  725. Account order event
  726. !{"amount": "9.499980","average_price": "0.000000","client_order_id": 1711187696366,"create_time": 1711187850380,"is_maker": false,"status": "CANCELED","price": "0.010492","quantity": "905.450000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856553}
  727. add_with_overwrite: id = 1711187696367 , price = 12225
  728. prev price = 12225
  729. new price = 12225
  730. Account order event
  731. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711187696367,"create_time": 1711187856572,Complete
  732. 0.009229
  733. check_add_if_not_present: id = 1711187696368 , price = 9229
  734. local new order
  735. id = 1711187696368 , price = 0.009229
  736. id = 1711187696367 , price = "is_maker": false,"status": "NEW","price": "0.0122250.012225
  737. id = 1711187696260 , price = 0.015852
  738. id = 1711187696266 , price = 0.015852
  739. ","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856583}
  740. Complete
  741. 0.012226
  742. check_add_if_not_present: id = 1711187696369 , price = 12226
  743. local new order
  744. id = 1711187696369 , price = 0.012226
  745. id = 1711187696368 , price = 0.009229
  746. id = 1711187696367 , price = 0.012225
  747. id = 1711187696260 , price = 0.015852
  748. id = 1711187696266 , price = 0.015852
  749. add_with_overwrite: id = 1711187696368 , price = 9229
  750. prev price = 9229
  751. new price = 9229
  752. Account order event
  753. !{"amount": "5.700010","average_price": "0.000000","client_order_id": 1711187696368,"create_time": 1711187856600,"is_maker": false,"status": "NEW","price": "0.009229","quantity": "617.620000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856611}
  754. add_with_overwrite: id = 1711187696369 , price = 12226
  755. prev price = 12226
  756. new price = 12226
  757. Account order event
  758. !{"amount": "7.998490","average_price": "0.000000","client_order_id": 1711187696369,"create_time": 1711187856628,"is_maker": false,"status": "NEW","price": "0.012226","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856638}
  759. Complete
  760. 0.009228
  761. check_add_if_not_present: id = 1711187696370 , price = 9228
  762. local new order
  763. id = 1711187696369 , price = 0.012226
  764. id = 1711187696368 , price = 0.009229
  765. id = 1711187696367 , price = 0.012225
  766. id = 1711187696260 , price = 0.015852
  767. id = 1711187696370 , price = 0.009228
  768. id = 1711187696266 , price = 0.015852
  769. add_with_overwrite: id = 1711187696370 , price = 9228
  770. prev price = 9228
  771. new price = 9228
  772. Account order event
  773. !{"amount": "7.599990","average_price": "0.000000","client_order_id": 1711187696370,"create_time": 1711187856684,"is_maker": false,"status": "NEW","price": "0.009228","quantity": "823.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856696}
  774. Complete
  775. 0.012227
  776. check_add_if_not_present: id = 1711187696371 , price = 12227
  777. local new order
  778. id = 1711187696371 , price = 0.012227
  779. id = 1711187696369 , price = 0.012226
  780. id = 1711187696368 , price = 0.009229
  781. id = 1711187696367 , price = 0.012225
  782. id = 1711187696260 , price = 0.015852
  783. id = 1711187696370 , price = 0.009228
  784. id = 1711187696266 , price = 0.015852
  785. Complete
  786. 0.009227
  787. check_add_if_not_present: id = 1711187696372 , price = 9227
  788. local new order
  789. id = 1711187696372 , price = 0.009227
  790. id = 1711187696371 , price = 0.012227
  791. id = 1711187696369 , price = 0.012226
  792. id = 1711187696368 , price = 0.009229
  793. id = 1711187696367 , price = 0.012225
  794. id = 1711187696260 , price = 0.015852
  795. id = 1711187696370 , price = 0.009228
  796. id = 1711187696266 , price = 0.015852
  797. add_with_overwrite: id = 1711187696371 , price = 12227
  798. prev price = 12227
  799. new price = 12227
  800. Account order event
  801. !{"amount": "9.998870","average_price": "0.000000","client_order_id": 1711187696371,"create_time": 1711187856758,"is_maker": false,"status": "NEW","price": "0.012227","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856774}
  802. Complete
  803.  
  804. 1711187856790 Orders posted.
  805. add_with_overwrite: id = 1711187696372 , price = 9227
  806. prev price = 9227
  807. new price = 9227
  808. Account order event
  809. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711187696372,"create_time": 1711187856780,"is_maker": false,"status": "NEW","price": "0.009227","quantity": "1029.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187856792}
  810.  
  811. 1711187862791 Previous mid price: 0.012304
  812.  
  813. 1711187862791 Posting...
  814.  
  815. 1711187862791 Placing orders.
  816. Mid price: 0.012304, spread ticks: 1230
  817. In MakeNewOrdersWithGrid
  818. snapshot:
  819. order price = 9227 , order_id = 1711187696372
  820. order price = 12227 , order_id = 1711187696371
  821. order price = 9228 , order_id = 1711187696370
  822. order price = 12226 , order_id = 1711187696369
  823. order price = 9229 , order_id = 1711187696368
  824. order price = 12225 , order_id = 1711187696367
  825. In MakeNewOrdersWithGrid get grid
  826. In grid!scaled price = 12225 scaled_ qty = 49066
  827. grid 0.012225 490.660000
  828. Different quantity
  829. get_order:
  830. 1711187696372 0.009227
  831. 1711187696371 0.012227
  832. 1711187696369 0.012226
  833. 1711187696368 0.009229
  834. 1711187696367 0.012225
  835. check_remove_if_present: id = 1711187696367
  836. check_add_if_not_present: id = 1711187696373 , price = 12225
  837. local new order
  838. id = 1711187696373 , price = 0.012225
  839. id = 1711187696372 , price = 0.009227
  840. id = 1711187696371 , price = 0.012227
  841. id = 1711187696369 , price = 0.012226
  842. id = 1711187696368 , price = 0.009229
  843. id = 1711187696367 , price = 0.012225
  844. id = 1711187696260 , price = 0.015852
  845. id = 1711187696370 , price = 0.009228
  846. id = 1711187696266 , price = 0.015852
  847. Account order event
  848. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711187696367,"create_time": 1711187856572,"is_maker": false,"status": "CANCELED","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862812}
  849. grid 0.007999 712.590000
  850. grid 0.012226 654.220000
  851. grid 0.007998 950.240000
  852. grid 0.012227 817.770000
  853. grid 0.007997 1187.940000
  854. In grid!scaled price = 9229 scaled_ qty = 61762
  855. grid 0.012225 490.660000
  856. grid 0.007999 712.590000
  857. grid 0.012226 654.220000
  858. grid 0.007998 950.240000
  859. grid 0.012227 817.770000
  860. grid 0.007997 1187.940000
  861. Was not found
  862. get_order:
  863. 1711187696373 0.012225
  864. 1711187696372 0.009227
  865. 1711187696371 0.012227
  866. 1711187696369 0.012226
  867. 1711187696368 0.009229
  868. id = 1711187696368
  869. check_remove_if_present: id = 1711187696368
  870. add_with_overwrite: id = 1711187696373 , price = 12225
  871. prev price = 12225
  872. new price = 12225
  873. Account order event
  874. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711187696373,"create_time": 1711187862831,"is_maker": false,"status": "NEW","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862844}
  875. In grid!scaled price = 12226 scaled_ qty = 65422
  876. grid 0.012225 490.660000
  877. grid 0.007999 712.590000
  878. grid 0.012226 654.220000
  879. Different quantity
  880. get_order:
  881. 1711187696373 0.012225
  882. 1711187696372 0.009227
  883. 1711187696371 0.012227
  884. 1711187696369 0.012226
  885. check_remove_if_present: id = 1711187696369
  886. Account order event
  887. !{"amount": "5.700010","average_price": "0.000000","client_order_id": 1711187696368,"create_time": 1711187856600,"is_maker": false,"status": "CANCELED","price": "0.009229","quantity": "617.620000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862865}
  888. check_add_if_not_present: id = 1711187696374 , price = 12226
  889. local new order
  890. id = 1711187696374 , price = 0.012226
  891. id = 1711187696373 , price = 0.012225
  892. id = 1711187696372 , price = 0.009227
  893. id = 1711187696371 , price = 0.012227
  894. id = 1711187696369 , price = 0.012226
  895. id = 1711187696260 , price = 0.015852
  896. id = 1711187696370 , price = 0.009228
  897. id = 1711187696266 , price = 0.015852
  898. Account order event
  899. !{"amount": "7.998490","average_price": "0.000000","client_order_id": 1711187696369,"create_time": 1711187856628,"is_maker": false,"status": "CANCELED","price": "0.012226","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862887}
  900. add_with_overwrite: id = 1711187696374 , price = 12226
  901. prev price = 12226
  902. new price = 12226
  903. Account order event
  904. !{"amount": "7.998490","average_price": "0.000000","client_order_id": 1711187696374,"create_time": 1711187862898,"is_maker": false,"status": "NEW","price": "0.012226","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862908}
  905. grid 0.007998 950.240000
  906. grid 0.012227 817.770000
  907. grid 0.007997 1187.940000
  908. In grid!scaled price = 9228 scaled_ qty = 82358
  909. grid 0.012225 490.660000
  910. grid 0.007999 712.590000
  911. grid 0.012226 654.220000
  912. grid 0.007998 950.240000
  913. grid 0.012227 817.770000
  914. grid 0.007997 1187.940000
  915. Was not found
  916. get_order:
  917. 1711187696374 0.012226
  918. 1711187696373 0.012225
  919. 1711187696372 0.009227
  920. 1711187696371 0.012227
  921. 1711187696260 0.015852
  922. 1711187696370 0.009228
  923. id = 1711187696370
  924. check_remove_if_present: id = 1711187696370
  925. In grid!scaled price = 12227 scaled_ qty = 81777
  926. grid 0.012225 490.660000
  927. grid 0.007999 712.590000
  928. grid 0.012226 654.220000
  929. grid 0.007998 950.240000
  930. grid 0.012227 817.770000
  931. Different quantity
  932. get_order:
  933. 1711187696374 0.012226
  934. 1711187696373 0.012225
  935. 1711187696372 0.009227
  936. 1711187696371 0.012227
  937. check_remove_if_present: id = 1711187696371
  938. Account order event
  939. !{"amount": "7.599990","average_price": "0.000000","client_order_id": 1711187696370,"create_time": 1711187856684,"is_maker": false,"status": "CANCELED","price": "0.009228","quantity": "823.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862943}
  940. Account order event
  941. !{"amount": "9.998870","average_price": "0.000000","client_order_id": 1711187696371,"create_time": 1711187856758,"is_maker": false,"status": "CANCELED","price": "0.012227","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187862967}
  942. check_add_if_not_present: id = 1711187696375 , price = 12227
  943. local new order
  944. id = 1711187696375 , price = 0.012227
  945. id = 1711187696374 , price = 0.012226
  946. id = 1711187696373 , price = 0.012225
  947. id = 1711187696372 , price = 0.009227
  948. id = 1711187696260 , price = 0.015852
  949. id = 1711187696266 , price = 0.015852
  950. grid 0.007997 1187.940000
  951. In grid!scaled price = 9227 scaled_ qty = 102958
  952. grid 0.012225 490.660000
  953. grid 0.007999 712.590000
  954. grid 0.012226 654.220000
  955. grid 0.007998 950.240000
  956. grid 0.012227 817.770000
  957. grid 0.007997 1187.940000
  958. Was not found
  959. get_order:
  960. 1711187696375 0.012227
  961. 1711187696374 0.012226
  962. 1711187696373 0.012225
  963. 1711187696372 0.009227
  964. id = 1711187696372
  965. check_remove_if_present: id = 1711187696372
  966. add_with_overwrite: id = 1711187696375 , price = 12227
  967. prev price = 12227
  968. new price = 12227
  969. Account order event
  970. !{"amount": "9.998870","average_price": "0.000000","client_order_id": 1711187696375,"create_time": 1711187862998,"is_maker": false,"status": "NEW","price": "0.012227","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187863017}
  971. Account order event
  972. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711187696372,"create_time": 1711187856780,"is_maker": false,"status": "CANCELED","price": "0.009227","quantity": "1029.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187863031}
  973. After grid!
  974. 0.012225
  975. Complete
  976. 0.007999
  977. check_add_if_not_present: id = 1711187696376 , price = 7999
  978. local new order
  979. id = 1711187696376 , price = 0.007999
  980. id = 1711187696375 , price = 0.012227
  981. id = 1711187696374 , price = 0.012226
  982. id = 1711187696373 , price = 0.012225
  983. id = 1711187696260 , price = 0.015852
  984. id = 1711187696266 , price = 0.015852
  985. add_with_overwrite: id = 1711187696376 , price = 7998
  986. prev price = 7999
  987. new price = 7998
  988. Account order event
  989. !{"amount": "5.700000","average_price": "0.000000","client_order_id": 1711187696376,"create_time": 1711187863066,"is_maker": false,"status": "NEW","price": "0.007998","quantity": "712.590000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5594e99b4b18","type": "LIMIT_MAKER""update_time": 1711187863077}
  990. Complete
  991. 0.012226
  992. Complete
  993. 0.007998
  994. Market making loop: Errormexc_spot::__local::new_order: an error occured, call_config::except_on_error is enabled: Grid price level is occupied
  995. 256
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement