Advertisement
den4ik2003

Untitled

Mar 23rd, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.52 KB | None | 0 0
  1. id = 1711186746874 , price = 0.010645
  2. id = 1711186746873 , price = 0.012679
  3. id = 1711186746872 , price = add_with_overwrite: id = 1711186746872 , price = 10646
  4. 0.010646
  5. id = 1711186746871 , price = 0.012678
  6. id = 1711186746870 , price = 0.010647
  7. id = 1711186746869 , price = 0.012677
  8. id = 1711186746701 , price = 0.015855
  9. prev price = 10646
  10. new price = 10646
  11. id = 1711186746717 , price = 0.015852
  12. id = 1711186746798 , price = 0.012226
  13. id = 1711186746711 , price = 0.015852
  14. id = 1711186746663 , price = 0.008024
  15. id = 1711186746721 , price = 0.014585
  16. id = 1711186746778 , price = 0.014585
  17. id = 1711186746774 , price = 0.015852
  18. Account order event
  19. !{"amount": "7.599960","average_price": "0.000000","client_order_id": 1711186746872,"create_time": 1711187044321,"is_maker": false,"status": "NEW","price": "0.010646","quantity": "713.880000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187044333}
  20. Complete
  21.  
  22. 1711187044393 Orders posted.
  23. add_with_overwrite: id = 1711186746873 , price = 12679
  24. prev price = 12679
  25. new price = 12679
  26. Account order event
  27. !{"amount": "10.368500","average_price": "0.000000","client_order_id": 1711186746873,"create_time": 1711187044345,"is_maker": false,"status": "NEW","price": "0.012679","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187044355}
  28. add_with_overwrite: id = 1711186746874 , price = 10645
  29. prev price = 10645
  30. new price = 10645
  31. Account order event
  32. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711186746874,"create_time": 1711187044379,"is_maker": false,"status": "NEW","price": "0.010645","quantity": "892.440000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187044390}
  33.  
  34.  
  35. --- BALANCES ---
  36. base balance: {"asset": "LOTT","free": "490.7","frozen": "4415.97","update_time": 1711187044348}
  37. quote balance: {"asset": "USDT","free": "36.0794","frozen": "20.9208","update_time": 1711187044324}
  38.  
  39.  
  40. 1711187050393 Previous mid price: 0.012525
  41.  
  42. 1711187050393 Posting...
  43.  
  44. 1711187050393 Placing orders.
  45. Mid price: 0.012304, spread ticks: 1230
  46. In MakeNewOrdersWithGrid
  47. snapshot:
  48. order price = 10645 , order_id = 1711186746874
  49. order price = 12679 , order_id = 1711186746873
  50. order price = 10646 , order_id = 1711186746872
  51. order price = 12678 , order_id = 1711186746871
  52. order price = 10647 , order_id = 1711186746870
  53. order price = 12677 , order_id = 1711186746869
  54. In MakeNewOrdersWithGrid get grid
  55. In grid!scaled price = 12677 scaled_ qty = 49066
  56. grid 0.012919 490.660000
  57. grid 0.011689 487.630000
  58. grid 0.012920 654.220000
  59. grid 0.011688 650.240000
  60. grid 0.012921 817.770000
  61. grid 0.011687 812.870000
  62. Was not found
  63. get_order:
  64. 1711186746874 0.010645
  65. 1711186746873 0.012679
  66. 1711186746872 0.010646
  67. 1711186746871 0.012678
  68. 1711186746870 0.010647
  69. 1711186746869 0.012677
  70. id = 1711186746869
  71. check_remove_if_present: id = 1711186746869
  72. In grid!scaled price = 10647 scaled_ qty = 53536
  73. grid 0.012919 490.660000
  74. grid 0.011689 487.630000
  75. grid 0.012920 654.220000
  76. grid 0.011688 650.240000
  77. grid 0.012921 817.770000
  78. grid 0.011687 812.870000
  79. Was not found
  80. get_order:
  81. 1711186746874 0.010645
  82. 1711186746873 0.012679
  83. 1711186746872 0.010646
  84. 1711186746871 0.012678
  85. 1711186746870 0.010647
  86. id = 1711186746870
  87. check_remove_if_present: id = 1711186746870
  88. Account order event
  89. !{"amount": "6.220090","average_price": "0.000000","client_order_id": 1711186746869,"create_time": 1711187044231,"is_maker": false,"status": "CANCELED","price": "0.012677","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050415}
  90. In grid!scaled price = 12678 scaled_ qty = 65422
  91. grid 0.012919 490.660000
  92. grid 0.011689 487.630000
  93. grid 0.012920 654.220000
  94. grid 0.011688 650.240000
  95. grid 0.012921 817.770000
  96. grid 0.011687 812.870000
  97. Was not found
  98. get_order:
  99. 1711186746874 0.010645
  100. 1711186746873 0.012679
  101. 1711186746872 0.010646
  102. 1711186746871 0.012678
  103. id = 1711186746871
  104. check_remove_if_present: id = 1711186746871
  105. Account order event
  106. !{"amount": "5.699970","average_price": "0.000000","client_order_id": 1711186746870,"create_time": 1711187044262,"is_maker": false,"status": "CANCELED","price": "0.010647","quantity": "535.360000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050434}
  107. In grid!scaled price = 10646 scaled_ qty = 71388
  108. grid 0.012919 490.660000
  109. grid 0.011689 487.630000
  110. grid 0.012920 654.220000
  111. grid 0.011688 650.240000
  112. grid 0.012921 817.770000
  113. grid 0.011687 812.870000
  114. Was not found
  115. get_order:
  116. 1711186746874 0.010645
  117. 1711186746873 0.012679
  118. 1711186746872 0.010646
  119. id = 1711186746872
  120. check_remove_if_present: id = 1711186746872
  121. Account order event
  122. !{"amount": "8.294200","average_price": "0.000000","client_order_id": 1711186746871,"create_time": 1711187044287,"is_maker": false,"status": "CANCELED","price": "0.012678","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050456}
  123. In grid!scaled price = 12679 scaled_ qty = 81777
  124. grid 0.012919 490.660000
  125. grid 0.011689 487.630000
  126. grid 0.012920 654.220000
  127. grid 0.011688 650.240000
  128. grid 0.012921 817.770000
  129. grid 0.011687 812.870000
  130. Was not found
  131. get_order:
  132. 1711186746874 0.010645
  133. 1711186746873 0.012679
  134. id = 1711186746873
  135. check_remove_if_present: id = 1711186746873
  136. Account order event
  137. !{"amount": "7.599960","average_price": "0.000000","client_order_id": 1711186746872,"create_time": 1711187044321,"is_maker": false,"status": "CANCELED","price": "0.010646","quantity": "713.880000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050473}
  138. In grid!scaled price = 10645 scaled_ qty = 89244
  139. grid 0.012919 490.660000
  140. grid 0.011689 487.630000
  141. grid 0.012920 654.220000
  142. grid 0.011688 650.240000
  143. grid 0.012921 817.770000
  144. grid 0.011687 812.870000
  145. Was not found
  146. get_order:
  147. 1711186746874 0.010645
  148. id = 1711186746874
  149. check_remove_if_present: id = 1711186746874
  150. Account order event
  151. !{"amount": "10.368500","average_price": "0.000000","client_order_id": 1711186746873,"create_time": 1711187044345,"is_maker": false,"status": "CANCELED","price": "0.012679","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050489}
  152. After grid!
  153. 0.012919
  154. check_add_if_not_present: id = 1711186746875 , price = 12919
  155. local new order
  156. id = 1711186746874 , price = 0.010645
  157. id = 1711186746875 , price = 0.012919
  158. id = 1711186746701 , price = 0.015855
  159. id = 1711186746717 , price = 0.015852
  160. id = 1711186746798 , price = 0.012226
  161. id = 1711186746711 , price = 0.015852
  162. id = 1711186746663 , price = 0.008024
  163. id = 1711186746721 , price = 0.014585
  164. id = 1711186746778 , price = 0.014585
  165. id = 1711186746774 , price = 0.015852
  166. Account order event
  167. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711186746874,"create_time": 1711187044379,"is_maker": false,"status": "CANCELED","price": "0.010645","quantity": "892.440000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050507}
  168. Complete
  169. 0.011689
  170. check_add_if_not_present: id = 1711186746876 , price = 11689
  171. local new order
  172. id = 1711186746876 , price = 0.011689
  173. id = 1711186746875 , price = 0.012919
  174. id = 1711186746701 , price = 0.015855
  175. id = 1711186746717 , price = 0.015852
  176. id = 1711186746798 , price = 0.012226
  177. id = 1711186746711 , price = 0.015852
  178. id = 1711186746663 , price = 0.008024
  179. id = 1711186746721 , price = 0.014585
  180. id = 1711186746778 , price = 0.014585
  181. id = 1711186746774 , price = 0.015852
  182. add_with_overwrite: id = 1711186746875 , price = 12919
  183. prev price = 12919
  184. new price = 12919
  185. Account order event
  186. !{"amount": "6.338830","average_price": "0.000000","client_order_id": 1711186746875,"create_time": 1711187050526,"is_maker": false,"status": "NEW","price": "0.012919","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050538}
  187. Complete
  188. 0.012920
  189. check_add_if_not_present: id = 1711186746877 , price = 12920
  190. local new order
  191. id = 1711186746877 , price = 0.012920
  192. id = 1711186746876 , price = 0.011689
  193. id = 1711186746875 , price = 0.012919
  194. id = 1711186746701 , price = 0.015855
  195. id = 1711186746717 , price = 0.015852
  196. id = 1711186746798 , price = 0.012226
  197. id = 1711186746711 , price = 0.015852
  198. id = 1711186746663 , price = 0.008024
  199. id = 1711186746721 , price = 0.014585
  200. id = 1711186746778 , price = 0.014585
  201. id = 1711186746774 , price = 0.015852
  202. add_with_overwrite: id = 1711186746876 , price = 11689
  203. prev price = 11689
  204. new price = 11689
  205. Account order event
  206. !{"amount": "5.699900","average_price": "0.000000","client_order_id": 1711186746876,"create_time": 1711187050549,"is_maker": false,"status": "NEW","price": "0.011689","quantity": "487.630000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050559}
  207. Complete
  208. 0.011688
  209. check_add_if_not_present: id = 1711186746878 , price = 11688
  210. local new order
  211. id = 1711186746878 , price = 0.011688
  212. id = 1711186746877 , price = 0.012920
  213. id = 1711186746876 , price = 0.011689
  214. id = 1711186746875 , price = 0.012919
  215. id = 1711186746701 , price = 0.015855
  216. id = 1711186746717 , price = 0.015852
  217. id = 1711186746798 , price = 0.012226
  218. id = 1711186746711 , price = 0.015852
  219. id = 1711186746663 , price = 0.008024
  220. id = 1711186746721 , price = 0.014585
  221. id = 1711186746778 , price = 0.014585
  222. id = 1711186746774 , price = 0.015852
  223. add_with_overwrite: id = 1711186746877 , price = 12920
  224. prev price = 12920
  225. new price = 12920
  226. Account order event
  227. !{"amount": "8.452520","average_price": "0.000000","client_order_id": 1711186746877,"create_time": 1711187050571,"is_maker": false,"status": "NEW","price": "0.012920","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050585}
  228. Complete
  229. 0.012921
  230. check_add_if_not_present: id = 1711186746879 , price = 12921
  231. local new order
  232. id = 1711186746879 , price = 0.012921
  233. id = 1711186746878 , price = 0.011688
  234. id = 1711186746877 , price = 0.012920
  235. id = 1711186746876 , price = 0.011689
  236. id = 1711186746875 , price = 0.012919
  237. id = 1711186746701 , price = 0.015855
  238. id = 1711186746717 , price = 0.015852
  239. id = 1711186746798 , price = 0.012226
  240. id = 1711186746711 , price = 0.015852
  241. id = 1711186746663 , price = 0.008024
  242. id = 1711186746721 , price = 0.014585
  243. id = 1711186746778 , price = 0.014585
  244. id = 1711186746774 , price = 0.015852
  245. add_with_overwrite: id = 1711186746878 , price = 11688
  246. prev price = 11688
  247. new price = 11688
  248. Account order event
  249. !{"amount": "7.600000","average_price": "0.000000","client_order_id": 1711186746878,"create_time": 1711187050599,"is_maker": false,"status": "NEW","price": "0.011688","quantity": "650.240000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050609}
  250. Complete
  251. 0.011687
  252. check_add_if_not_present: id = 1711186746880 , price = 11687
  253. local new order
  254. id = 1711186746880 , price = 0.011687
  255. id = 1711186746879 , price = 0.012921
  256. id = 1711186746878 , price = 0.011688
  257. id = 1711186746877 , price = 0.012920
  258. id = 1711186746876 , price = 0.011689
  259. id = 1711186746875 , price = 0.012919
  260. id = 1711186746701 , price = 0.015855
  261. id = 1711186746717 , price = 0.015852
  262. id = 1711186746798 , price = 0.012226
  263. id = 1711186746711 , price = 0.015852
  264. id = 1711186746663 , price = 0.008024
  265. id = 1711186746721 , price = 0.014585
  266. id = 1711186746778 , price = 0.014585
  267. id = 1711186746774 , price = 0.015852
  268. add_with_overwrite: id = 1711186746879 , price = 12921
  269. prev price = 12921
  270. new price = 12921
  271. Account order event
  272. !{"amount": "10.566400","average_price": "0.000000","client_order_id": 1711186746879,"create_time": 1711187050625,"is_maker": false,"status": "NEW","price": "0.012921","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050635}
  273. add_with_overwrite: id = 1711186746880 , price = 11687
  274. prev price = 11687
  275. new price = 11687
  276. Account order event
  277. !{"amount": "9.500010","average_price": "0.000000","client_order_id": 1711186746880,"create_time": 1711187050648,"is_maker": false,"status": "NEW","price": "0.011687","quantity": "812.870000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187050660}
  278. Complete
  279.  
  280. 1711187050664 Orders posted.
  281.  
  282. 1711187056664 Previous mid price: 0.012304
  283.  
  284. 1711187056664 Posting...
  285.  
  286. 1711187056664 Placing orders.
  287. Mid price: 0.012344, spread ticks: 1234
  288. In MakeNewOrdersWithGrid
  289. snapshot:
  290. order price = 11687 , order_id = 1711186746880
  291. order price = 12921 , order_id = 1711186746879
  292. order price = 11688 , order_id = 1711186746878
  293. order price = 12920 , order_id = 1711186746877
  294. order price = 11689 , order_id = 1711186746876
  295. order price = 12919 , order_id = 1711186746875
  296. In MakeNewOrdersWithGrid get grid
  297. In grid!scaled price = 12919 scaled_ qty = 49066
  298. grid 0.012306 490.660000
  299. grid 0.010493 543.220000
  300. grid 0.012307 654.220000
  301. grid 0.010492 724.360000
  302. grid 0.012308 817.770000
  303. grid 0.010491 905.540000
  304. Was not found
  305. get_order:
  306. 1711186746880 0.011687
  307. 1711186746879 0.012921
  308. 1711186746878 0.011688
  309. 1711186746877 0.012920
  310. 1711186746876 0.011689
  311. 1711186746875 0.012919
  312. id = 1711186746875
  313. check_remove_if_present: id = 1711186746875
  314. In grid!scaled price = 11689 scaled_ qty = 48763
  315. grid 0.012306 490.660000
  316. grid 0.010493 543.220000
  317. grid 0.012307 654.220000
  318. grid 0.010492 724.360000
  319. grid 0.012308 817.770000
  320. grid 0.010491 905.540000
  321. Was not found
  322. get_order:
  323. 1711186746880 0.011687
  324. 1711186746879 0.012921
  325. 1711186746878 0.011688
  326. 1711186746877 0.012920
  327. 1711186746876 0.011689
  328. id = 1711186746876
  329. check_remove_if_present: id = 1711186746876
  330. Account order event
  331. !{"amount": "6.338830","average_price": "0.000000","client_order_id": 1711186746875,"create_time": 1711187050526,"is_maker": false,"status": "CANCELED","price": "0.012919","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056694}
  332. Account order event
  333. !{"amount": "5.699900","average_price": "0.000000","client_order_id": 1711186746876,"create_time": 1711187050549,"is_maker": false,"status": "CANCELED","price": "0.011689","quantity": "487.630000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056717}
  334. In grid!scaled price = 12920 scaled_ qty = 65422
  335. grid 0.012306 490.660000
  336. grid 0.010493 543.220000
  337. grid 0.012307 654.220000
  338. grid 0.010492 724.360000
  339. grid 0.012308 817.770000
  340. grid 0.010491 905.540000
  341. Was not found
  342. get_order:
  343. 1711186746880 0.011687
  344. 1711186746879 0.012921
  345. 1711186746878 0.011688
  346. 1711186746877 0.012920
  347. id = 1711186746877
  348. check_remove_if_present: id = 1711186746877
  349. In grid!scaled price = 11688 scaled_ qty = 65024
  350. grid 0.012306 490.660000
  351. grid 0.010493 543.220000
  352. grid 0.012307 654.220000
  353. grid 0.010492 724.360000
  354. grid 0.012308 817.770000
  355. grid 0.010491 905.540000
  356. Was not found
  357. get_order:
  358. 1711186746880 0.011687
  359. 1711186746879 0.012921
  360. 1711186746878 0.011688
  361. id = 1711186746878
  362. check_remove_if_present: id = 1711186746878
  363. Account order event
  364. !{"amount": "8.452520","average_price": "0.000000","client_order_id": 1711186746877,"create_time": 1711187050571,"is_maker": false,"status": "CANCELED","price": "0.012920","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056751}
  365. In grid!scaled price = 12921 scaled_ qty = 81777
  366. grid 0.012306 490.660000
  367. grid 0.010493 543.220000
  368. grid 0.012307 654.220000
  369. grid 0.010492 724.360000
  370. grid 0.012308 817.770000
  371. grid 0.010491 905.540000
  372. Was not found
  373. get_order:
  374. 1711186746880 0.011687
  375. 1711186746879 0.012921
  376. id = 1711186746879
  377. check_remove_if_present: id = 1711186746879
  378. Account order event
  379. !{"amount": "7.600000","average_price": "0.000000","client_order_id": 1711186746878,"create_time": 1711187050599,"is_maker": false,"status": "CANCELED","price": "0.011688","quantity": "650.240000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056770}
  380. In grid!scaled price = 11687 scaled_ qty = 81287
  381. grid 0.012306 490.660000
  382. grid 0.010493 543.220000
  383. grid 0.012307 654.220000
  384. grid 0.010492 724.360000
  385. grid 0.012308 817.770000
  386. grid 0.010491 905.540000
  387. Was not found
  388. get_order:
  389. 1711186746880 0.011687
  390. id = 1711186746880
  391. check_remove_if_present: id = 1711186746880
  392. Account order event
  393. !{"amount": "10.566400","average_price": "0.000000","client_order_id": 1711186746879,"create_time": 1711187050625,"is_maker": false,"status": "CANCELED","price": "0.012921","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056795}
  394. After grid!
  395. 0.012306
  396. check_add_if_not_present: id = 1711186746881 , price = 12306
  397. local new order
  398. id = 1711186746881 , price = 0.012306
  399. id = 1711186746880 , price = 0.011687
  400. id = 1711186746701 , price = 0.015855
  401. id = 1711186746717 , price = 0.015852
  402. id = 1711186746798 , price = 0.012226
  403. id = 1711186746711 , price = 0.015852
  404. id = 1711186746663 , price = 0.008024
  405. id = 1711186746721 , price = 0.014585
  406. id = 1711186746778 , price = 0.014585
  407. id = 1711186746774 , price = 0.015852
  408. Account order event
  409. !{"amount": "9.500010","average_price": "0.000000","client_order_id": 1711186746880,"create_time": 1711187050648,"is_maker": false,"status": "CANCELED","price": "0.011687","quantity": "812.870000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056809}
  410. Complete
  411. 0.010493
  412. check_add_if_not_present: id = 1711186746882 , price = 10493
  413. local new order
  414. id = 1711186746882 , price = 0.010493
  415. id = 1711186746881 , price = 0.012306
  416. id = 1711186746701 , price = 0.015855
  417. id = 1711186746717 , price = 0.015852
  418. id = 1711186746798 , price = 0.012226
  419. id = 1711186746711 , price = 0.015852
  420. id = 1711186746663 , price = 0.008024
  421. id = 1711186746721 , price = 0.014585
  422. id = 1711186746778 , price = 0.014585
  423. id = 1711186746774 , price = 0.015852
  424. add_with_overwrite: id = 1711186746881 , price = 12306
  425. prev price = 12306
  426. new price = 12306
  427. Account order event
  428. !{"amount": "6.038060","average_price": "0.000000","client_order_id": 1711186746881,"create_time": 1711187056823,"is_maker": false,"status": "NEW","price": "0.012306","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056836}
  429. Complete
  430. 0.012307
  431. check_add_if_not_present: id = 1711186746883 , price = 12307
  432. local new order
  433. id = 1711186746883 , price = 0.012307
  434. id = 1711186746882 , price = 0.010493
  435. id = 1711186746881 , price = 0.012306
  436. id = 1711186746701 , price = 0.015855
  437. id = 1711186746717 , price = 0.015852
  438. id = 1711186746798 , price = 0.012226
  439. id = 1711186746711 , price = 0.015852
  440. id = 1711186746663 , price = 0.008024
  441. id = 1711186746721 , price = 0.014585
  442. id = 1711186746778 , price = 0.014585
  443. id = 1711186746774 , price = 0.015852
  444. add_with_overwrite: id = 1711186746882 , price = 10493
  445. prev price = 10493
  446. new price = 10493
  447. Account order event
  448. !{"amount": "5.700000","average_price": "0.000000","client_order_id": 1711186746882,"create_time": 1711187056849,"is_maker": false,"status": "NEW","price": "0.010493","quantity": "543.220000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056860}
  449. Complete
  450. 0.010492
  451. check_add_if_not_present: id = 1711186746884 , price = 10492
  452. local new order
  453. id = 1711186746884 , price = 0.010492
  454. id = 1711186746883 , price = 0.012307
  455. id = 1711186746882 , price = 0.010493
  456. id = 1711186746881 , price = 0.012306
  457. id = 1711186746701 , price = 0.015855
  458. id = 1711186746717 , price = 0.015852
  459. id = 1711186746798 , price = 0.012226
  460. id = 1711186746711 , price = 0.015852
  461. id = 1711186746663 , price = 0.008024
  462. id = 1711186746721 , price = 0.014585
  463. id = 1711186746778 , price = 0.014585
  464. id = 1711186746774 , price = 0.015852
  465. add_with_overwrite: id = 1711186746883 , price = 12307
  466. prev price = 12307
  467. new price = 12307
  468. Account order event
  469. !{"amount": "8.051480","average_price": "0.000000","client_order_id": 1711186746883,"create_time": 1711187056878,"is_maker": false,"status": "NEW","price": "0.012307","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056889}
  470. Complete
  471. 0.012308
  472. check_add_if_not_present: id = 1711186746885 , price = 12308
  473. local new order
  474. id = 1711186746884 , price = 0.010492
  475. id = 1711186746883 , price = 0.012307
  476. id = 1711186746882 , price = 0.010493
  477. id = 1711186746881 , price = 0.012306
  478. id = 1711186746701 , price = 0.015855
  479. id = 1711186746717 , price = 0.015852
  480. id = 1711186746885 , price = 0.012308
  481. id = 1711186746798 , price = 0.012226
  482. id = 1711186746711 , price = 0.015852
  483. id = 1711186746663 , price = 0.008024
  484. id = 1711186746721 , price = 0.014585
  485. id = 1711186746778 , price = 0.014585
  486. id = 1711186746774 , price = 0.015852
  487. add_with_overwrite: id = 1711186746884 , price = 10492
  488. prev price = 10492
  489. new price = 10492
  490. Account order event
  491. !{"amount": "7.599980","average_price": "0.000000","client_order_id": 1711186746884,"create_time": 1711187056902,"is_maker": false,"status": "NEW","price": "0.010492","quantity": "724.360000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056911}
  492. Complete
  493. 0.010491
  494. check_add_if_not_present: id = 1711186746886 , price = 10491
  495. local new order
  496. id = 1711186746886 , price = 0.010491
  497. id = 1711186746884 , price = 0.010492
  498. id = 1711186746883 , price = 0.012307
  499. id = 1711186746882 , price = 0.010493
  500. id = 1711186746881 , price = 0.012306
  501. id = 1711186746701 , price = 0.015855
  502. id = 1711186746717 , price = 0.015852
  503. id = 1711186746885 , price = 0.012308
  504. id = 1711186746798 , price = 0.012226
  505. id = 1711186746711 , price = 0.015852
  506. id = 1711186746663 , price = 0.008024
  507. id = 1711186746721 , price = 0.014585
  508. id = 1711186746778 , price = 0.014585
  509. id = 1711186746774 , price = 0.015852
  510. add_with_overwrite: id = 1711186746885 , price = 12308
  511. prev price = 12308
  512. new price = 12308
  513. Account order event
  514. !{"amount": "10.065110","average_price": "0.000000","client_order_id": 1711186746885,"create_time": 1711187056925,"is_maker": false,"status": "NEW","price": "0.012308","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056934}
  515. Complete
  516.  
  517. 1711187056965 Orders posted.
  518. add_with_overwrite: id = 1711186746886 , price = 10491
  519. prev price = 10491
  520. new price = 10491
  521. Account order event
  522. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711186746886,"create_time": 1711187056953,"is_maker": false,"status": "NEW","price": "0.010491","quantity": "905.540000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187056965}
  523.  
  524. 1711187062965 Previous mid price: 0.012344
  525.  
  526. 1711187062965 Posting...
  527.  
  528. 1711187062965 Placing orders.
  529. Mid price: 0.012304, spread ticks: 1230
  530. In MakeNewOrdersWithGrid
  531. snapshot:
  532. order price = 10491 , order_id = 1711186746886
  533. order price = 12308 , order_id = 1711186746885
  534. order price = 10492 , order_id = 1711186746884
  535. order price = 12307 , order_id = 1711186746883
  536. order price = 10493 , order_id = 1711186746882
  537. order price = 12306 , order_id = 1711186746881
  538. In MakeNewOrdersWithGrid get grid
  539. In grid!scaled price = 12306 scaled_ qty = 49066
  540. grid 0.012225 490.660000
  541. grid 0.010459 544.980000
  542. grid 0.012226 654.220000
  543. grid 0.010458 726.710000
  544. grid 0.012227 817.770000
  545. grid 0.010457 908.480000
  546. Was not found
  547. get_order:
  548. 1711186746886 0.010491
  549. 1711186746884 0.010492
  550. 1711186746883 0.012307
  551. 1711186746882 0.010493
  552. 1711186746881 0.012306
  553. id = 1711186746881
  554. check_remove_if_present: id = 1711186746881
  555. In grid!scaled price = 10493 scaled_ qty = 54322
  556. grid 0.012225 490.660000
  557. grid 0.010459 544.980000
  558. grid 0.012226 654.220000
  559. grid 0.010458 726.710000
  560. grid 0.012227 817.770000
  561. grid 0.010457 908.480000
  562. Was not found
  563. get_order:
  564. 1711186746886 0.010491
  565. 1711186746884 0.010492
  566. 1711186746883 0.012307
  567. 1711186746882 0.010493
  568. id = 1711186746882
  569. check_remove_if_present: id = 1711186746882
  570. Account order event
  571. !{"amount": "6.038060","average_price": "0.000000","client_order_id": 1711186746881,"create_time": 1711187056823,"is_maker": false,"status": "CANCELED","price": "0.012306","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187062988}
  572. Account order event
  573. !{"amount": "5.700000","average_price": "0.000000","client_order_id": 1711186746882,"create_time": 1711187056849,"is_maker": false,"status": "CANCELED","price": "0.010493","quantity": "543.220000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063010}
  574. In grid!scaled price = 12307 scaled_ qty = 65422
  575. grid 0.012225 490.660000
  576. grid 0.010459 544.980000
  577. grid 0.012226 654.220000
  578. grid 0.010458 726.710000
  579. grid 0.012227 817.770000
  580. grid 0.010457 908.480000
  581. Was not found
  582. get_order:
  583. 1711186746886 0.010491
  584. 1711186746884 0.010492
  585. 1711186746883 0.012307
  586. id = 1711186746883
  587. check_remove_if_present: id = 1711186746883
  588. In grid!scaled price = 10492 scaled_ qty = 72436
  589. grid 0.012225 490.660000
  590. grid 0.010459 544.980000
  591. grid 0.012226 654.220000
  592. grid 0.010458 726.710000
  593. grid 0.012227 817.770000
  594. grid 0.010457 908.480000
  595. Was not found
  596. get_order:
  597. 1711186746886 0.010491
  598. 1711186746884 0.010492
  599. id = 1711186746884
  600. check_remove_if_present: id = 1711186746884
  601. Account order event
  602. !{"amount": "8.051480","average_price": "0.000000","client_order_id": 1711186746883,"create_time": 1711187056878,"is_maker": false,"status": "CANCELED","price": "0.012307","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063071}
  603. Account order event
  604. !{"amount": "7.599980","average_price": "0.000000","client_order_id": 1711186746884,"create_time": 1711187056902,"is_maker": false,"status": "CANCELED","price": "0.010492","quantity": "724.360000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063090}
  605. In grid!scaled price = 12308 scaled_ qty = 81777
  606. grid 0.012225 490.660000
  607. grid 0.010459 544.980000
  608. grid 0.012226 654.220000
  609. grid 0.010458 726.710000
  610. grid 0.012227 817.770000
  611. grid 0.010457 908.480000
  612. Was not found
  613. get_order:
  614. 1711186746886 0.010491
  615. 1711186746701 0.015855
  616. 1711186746717 0.015852
  617. 1711186746885 0.012308
  618. id = 1711186746885
  619. check_remove_if_present: id = 1711186746885
  620. In grid!scaled price = 10491 scaled_ qty = 90554
  621. grid 0.012225 490.660000
  622. grid 0.010459 544.980000
  623. grid 0.012226 654.220000
  624. grid 0.010458 726.710000
  625. grid 0.012227 817.770000
  626. grid 0.010457 908.480000
  627. Was not found
  628. get_order:
  629. 1711186746886 0.010491
  630. id = 1711186746886
  631. check_remove_if_present: id = 1711186746886
  632. Account order event
  633. !{"amount": "10.065110","average_price": "0.000000","client_order_id": 1711186746885,"create_time": 1711187056925,"is_maker": false,"status": "CANCELED","price": "0.012308","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063123}
  634. After grid!
  635. 0.012225
  636. check_add_if_not_present: id = 1711186746887 , price = 12225
  637. local new order
  638. id = 1711186746887 , price = 0.012225
  639. id = 1711186746886 , price = 0.010491
  640. id = 1711186746701 , price = 0.015855
  641. id = 1711186746717 , price = 0.015852
  642. id = 1711186746798 , price = 0.012226
  643. id = 1711186746711 , price = 0.015852
  644. id = 1711186746663 , price = 0.008024
  645. id = 1711186746721 , price = 0.014585
  646. id = 1711186746778 , price = 0.014585
  647. id = 1711186746774 , price = 0.015852
  648. Account order event
  649. !{"amount": "9.500020","average_price": "0.000000","client_order_id": 1711186746886,"create_time": 1711187056953,"is_maker": false,"status": "CANCELED","price": "0.010491","quantity": "905.540000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063142}
  650. Complete
  651. 0.010459
  652. check_add_if_not_present: id = 1711186746888 , price = 10459
  653. local new order
  654. id = 1711186746888 , price = 0.010459
  655. id = 1711186746887 , price = 0.012225
  656. id = 1711186746701 , price = 0.015855
  657. id = 1711186746717 , price = 0.015852
  658. id = 1711186746798 , price = 0.012226
  659. id = 1711186746711 , price = 0.015852
  660. id = 1711186746663 , price = 0.008024
  661. id = 1711186746721 , price = 0.014585
  662. id = 1711186746778 , price = 0.014585
  663. id = 1711186746774 , price = 0.015852
  664. add_with_overwrite: id = 1711186746887 , price = 12225
  665. prev price = 12225
  666. new price = 12225
  667. Account order event
  668. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711186746887,"create_time": 1711187063155,"is_maker": false,"status": "NEW","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063166}
  669. Complete
  670. 0.012226
  671. check_add_if_not_present: id = 1711186746889 , price = 12226
  672. local new order
  673. id = 1711186746889 , price = 0.012226
  674. id = 1711186746888 , price = 0.010459
  675. id = 1711186746887 , price = 0.012225
  676. id = 1711186746701 , price = 0.015855
  677. id = 1711186746717 , price = 0.015852
  678. id = 1711186746798 , price = 0.012226
  679. id = 1711186746711 , price = 0.015852
  680. id = 1711186746663 , price = 0.008024
  681. id = 1711186746721 , price = 0.014585
  682. id = 1711186746778 , price = 0.014585
  683. id = 1711186746774 , price = 0.015852
  684. add_with_overwrite: id = 1711186746888 , price = 10459
  685. prev price = 10459
  686. new price = 10459
  687. Account order event
  688. !{"amount": "5.699940","average_price": "0.000000","client_order_id": 1711186746888,"create_time": 1711187063180,"is_maker": false,"status": "NEW","price": "0.010459","quantity": "544.980000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063190}
  689. Complete
  690. 0.010458
  691. check_add_if_not_present: id = 1711186746890 , price = 10458
  692. local new order
  693. id = 1711186746889 , price = 0.012226
  694. id = 1711186746888 , price = 0.010459
  695. id = 1711186746887 , price = 0.012225
  696. id = 1711186746701 , price = 0.015855
  697. id = 1711186746717 , price = 0.015852
  698. id = 1711186746798 , price = 0.012226
  699. id = 1711186746711 , price = 0.015852
  700. id = 1711186746663 , price = 0.008024
  701. id = 1711186746721 , price = 0.014585
  702. id = 1711186746778 , price = 0.014585
  703. id = 1711186746890 , price = 0.010458
  704. id = 1711186746774 , price = 0.015852
  705. add_with_overwrite: id = 1711186746889 , price = 12226
  706. prev price = 12226
  707. new price = 12226
  708. Account order event
  709. !{"amount": "7.998490","average_price": "0.000000","client_order_id": 1711186746889,"create_time": 1711187063208,"is_maker": false,"status": "NEW","price": "0.012226","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063218}
  710. Complete
  711. 0.012227
  712. check_add_if_not_present: id = 1711186746891 , price = 12227
  713. local new order
  714. id = 1711186746889 , price = 0.012226
  715. id = 1711186746888 , price = 0.010459
  716. id = 1711186746887 , price = 0.012225
  717. id = 1711186746701 , price = 0.015855
  718. id = 1711186746891 , price = 0.012227
  719. id = 1711186746717 , price = 0.015852
  720. id = 1711186746798 , price = 0.012226
  721. id = 1711186746711 , price = 0.015852
  722. id = 1711186746663 , price = 0.008024
  723. id = 1711186746721 , price = 0.014585
  724. id = 1711186746778 , price = 0.014585
  725. id = 1711186746890 , price = 0.010458
  726. id = 1711186746774 , price = 0.015852
  727. add_with_overwrite: id = 1711186746890 , price = 10458
  728. prev price = 10458
  729. new price = 10458
  730. Account order event
  731. !{"amount": "7.599930","average_price": "0.000000","client_order_id": 1711186746890,"create_time": 1711187063232,"is_maker": false,"status": "NEW","price": "0.010458","quantity": "726.710000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063243}
  732. Complete
  733. 0.010457
  734. check_add_if_not_present: id = 1711186746892 , price = 10457
  735. local new order
  736. id = 1711186746892 , price = 0.010457
  737. id = 1711186746889 , price = 0.012226
  738. id = 1711186746888 , price = 0.010459
  739. id = 1711186746887 , price = 0.012225
  740. id = 1711186746701 , price = 0.015855
  741. id = 1711186746891 , price = 0.012227
  742. id = 1711186746717 , price = 0.015852
  743. id = 1711186746798 , price = 0.012226
  744. id = 1711186746711 , price = 0.015852
  745. id = 1711186746663 , price = 0.008024
  746. id = 1711186746721 , price = 0.014585
  747. id = 1711186746778 , price = 0.014585
  748. id = 1711186746890 , price = 0.010458
  749. id = 1711186746774 , price = 0.015852
  750. add_with_overwrite: id = 1711186746891 , price = 12227
  751. prev price = 12227
  752. new price = 12227
  753. Account order event
  754. !{"amount": "9.998870","average_price": "0.000000","client_order_id": 1711186746891,"create_time": 1711187063256,"is_maker": false,"status": "NEW","price": "0.012227","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063269}
  755. Complete
  756.  
  757. 1711187063289 Orders posted.
  758. add_with_overwrite: id = 1711186746892 , price = 10457
  759. prev price = 10457
  760. new price = 10457
  761. Account order event
  762. !{"amount": "9.499970","average_price": "0.000000","client_order_id": 1711186746892,"create_time": 1711187063282,"is_maker": false,"status": "NEW","price": "0.010457","quantity": "908.480000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187063292}
  763.  
  764. 1711187069289 Previous mid price: 0.012304
  765.  
  766. 1711187069289 Posting...
  767.  
  768. 1711187069289 Placing orders.
  769. Mid price: 0.012304, spread ticks: 1230
  770. In MakeNewOrdersWithGrid
  771. snapshot:
  772. order price = 12227 , order_id = 1711186746891
  773. order price = 10459 , order_id = 1711186746888
  774. order price = 10458 , order_id = 1711186746890
  775. order price = 12226 , order_id = 1711186746889
  776. order price = 10457 , order_id = 1711186746892
  777. order price = 12225 , order_id = 1711186746887
  778. In MakeNewOrdersWithGrid get grid
  779. In grid!scaled price = 12225 scaled_ qty = 49066
  780. grid 0.012225 490.660000
  781. Different quantity
  782. get_order:
  783. 1711186746892 0.010457
  784. 1711186746889 0.012226
  785. 1711186746888 0.010459
  786. 1711186746887 0.012225
  787. check_remove_if_present: id = 1711186746887
  788. check_add_if_not_present: id = 1711186746893 , price = 12225
  789. local new order
  790. id = 1711186746893 , price = 0.012225
  791. id = 1711186746892 , price = 0.010457
  792. id = 1711186746889 , price = 0.012226
  793. id = 1711186746888 , price = 0.010459
  794. id = 1711186746887 , price = 0.012225
  795. id = 1711186746701 , price = 0.015855
  796. id = 1711186746891 , price = 0.012227
  797. id = 1711186746717 , price = 0.015852
  798. id = 1711186746798 , price = 0.012226
  799. id = 1711186746711 , price = 0.015852
  800. id = 1711186746663 , price = 0.008024
  801. id = 1711186746721 , price = 0.014585
  802. id = 1711186746778 , price = 0.014585
  803. id = 1711186746890 , price = 0.010458
  804. id = 1711186746774 , price = 0.015852
  805. Account order event
  806. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711186746887,"create_time": 1711187063155,"is_maker": false,"status": "CANCELED","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187069309}
  807. grid 0.010459 544.980000
  808. grid 0.012226 654.220000
  809. grid 0.010458 726.710000
  810. grid 0.012227 817.770000
  811. grid 0.010457 908.480000
  812. In grid!scaled price = 10457 scaled_ qty = 90848
  813. grid 0.012225 490.660000
  814. grid 0.010459 544.980000
  815. grid 0.012226 654.220000
  816. grid 0.010458 726.710000
  817. grid 0.012227 817.770000
  818. grid 0.010457 908.480000
  819. In grid!scaled price = 12226 scaled_ qty = 65422
  820. grid 0.012225 490.660000
  821. grid 0.010459 544.980000
  822. grid 0.012226 654.220000
  823. Different quantity
  824. get_order:
  825. 1711186746893 0.012225
  826. 1711186746892 0.010457
  827. 1711186746889 0.012226
  828. check_remove_if_present: id = 1711186746889
  829. add_with_overwrite: id = 1711186746893 , price = 12225
  830. prev price = 12225
  831. new price = 12225
  832. Account order event
  833. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711186746893,"create_time": 1711187069326,"is_maker": false,"status": "NEW","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187069337}
  834. check_add_if_not_present: id = 1711186746894 , price = 12226
  835. local new order
  836. id = 1711186746893 , price = 0.012225
  837. id = 1711186746892 , price = 0.010457
  838. id = 1711186746889 , price = 0.012226
  839. id = 1711186746888 , price = 0.010459
  840. id = 1711186746701 , price = 0.015855
  841. id = 1711186746891 , price = 0.012227
  842. id = 1711186746717 , price = 0.015852
  843. id = 1711186746798 , price = 0.012226
  844. id = 1711186746711 , price = 0.015852
  845. id = 1711186746663 , price = 0.008024
  846. id = 1711186746721 , price = 0.014585
  847. id = 1711186746894 , price = 0.012226
  848. id = 1711186746778 , price = 0.014585
  849. id = 1711186746890 , price = 0.010458
  850. id = 1711186746774 , price = 0.015852
  851. [Error] new_order: OK(http error: 400), with request: {"timestamp":"1711187069354","recvWindow":"5000","price":"0.012226","newClientOrderId":"1711186746894","quantity":"654.220000","type":"LIMIT_MAKER","side":"SELL","symbol":"LOTTUSDT"}
  852. grid 0.010458 726.710000
  853. grid 0.012227 817.770000
  854. grid 0.010457 908.480000
  855. In grid!scaled price = 10458 scaled_ qty = 72671
  856. grid 0.012225 490.660000
  857. grid 0.010459 544.980000
  858. grid 0.012226 654.220000
  859. grid 0.010458 726.710000
  860. grid Account order event
  861. !{"amount": "7.9984900.012227 ","average_price": "0.000000","client_order_id": 1711186746889,"create_time": 1711187063208,"is_maker": false,"status": "817.770000
  862. grid CANCELED","price": "0.012226","quantity": "654.220000","filled_quantity": "0.000000","side": "SELL0.010457 908.480000
  863. In grid!scaled price = 10459 scaled_ qty = 54498
  864. grid 0.012225 490.660000
  865. grid 0.010459 544.980000
  866. grid ","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187069356}
  867. 0.012226 654.220000
  868. grid 0.010458 726.710000
  869. grid 0.012227 817.770000
  870. grid 0.010457 908.480000
  871. In grid!scaled price = 12227 scaled_ qty = 81777
  872. grid 0.012225 490.660000
  873. grid 0.010459 544.980000
  874. grid 0.012226 654.220000
  875. grid 0.010458 726.710000
  876. grid 0.012227 817.770000
  877. Different quantity
  878. get_order:
  879. 1711186746893 0.012225
  880. 1711186746892 0.010457
  881. 1711186746888 0.010459
  882. 1711186746701 0.015855
  883. 1711186746891 0.012227
  884. check_remove_if_present: id = 1711186746891
  885. check_add_if_not_present: id = 1711186746895 , price = 12227
  886. local new order
  887. id = 1711186746893 , price = 0.012225
  888. id = 1711186746892 , price = 0.010457
  889. id = 1711186746888 , price = 0.010459
  890. id = 1711186746701 , price = 0.015855
  891. id = 1711186746891 , price = 0.012227
  892. id = 1711186746717 , price = 0.015852
  893. id = 1711186746798 , price = 0.012226
  894. id = 1711186746711 , price = 0.015852
  895. id = 1711186746895 , price = 0.012227
  896. id = 1711186746663 , price = 0.008024
  897. id = 1711186746721 , price = 0.014585
  898. id = 1711186746894 , price = 0.012226
  899. id = 1711186746778 , price = 0.014585
  900. id = 1711186746890 , price = 0.010458
  901. id = 1711186746774 , price = 0.015852
  902. Account order event
  903. !{"amount": "9.998870","average_price": "0.000000","client_order_id": 1711186746891,"create_time": 1711187063256,"is_maker": false,"status": "CANCELED","price": "0.012227","quantity": "817.770000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187069418}
  904. [Error] new_order: OK(http error: 400), with request: {"timestamp":"1711187069424","recvWindow":"5000","price":"0.012227","newClientOrderId":"1711186746895","quantity":"817.770000","type":"LIMIT_MAKER","side":"SELL","symbol":"LOTTUSDT"}
  905. grid 0.010457 908.480000
  906. After grid!
  907. 0.012225
  908. Complete
  909. 0.010459
  910. Complete
  911. 0.012226
  912. Complete
  913. 0.010458
  914. Complete
  915. 0.012227
  916. Complete
  917. 0.010457
  918. Complete
  919.  
  920. 1711187069452 Orders posted.
  921.  
  922. 1711187075453 Previous mid price: 0.012304
  923.  
  924. 1711187075453 Posting...
  925.  
  926. 1711187075453 Placing orders.
  927. Mid price: 0.012304, spread ticks: 1230
  928. In MakeNewOrdersWithGrid
  929. snapshot:
  930. order price = 12227 , order_id = 1711186746895
  931. order price = 10459 , order_id = 1711186746888
  932. order price = 12226 , order_id = 1711186746894
  933. order price = 10458 , order_id = 1711186746890
  934. order price = 12225 , order_id = 1711186746893
  935. order price = 10457 , order_id = 1711186746892
  936. In MakeNewOrdersWithGrid get grid
  937. In grid!scaled price = 10457 scaled_ qty = 90848
  938. grid 0.012919 490.660000
  939. grid 0.011689 487.630000
  940. grid 0.012920 654.220000
  941. grid 0.011688 650.240000
  942. grid 0.012921 817.770000
  943. grid 0.011687 812.870000
  944. Was not found
  945. get_order:
  946. 1711186746893 0.012225
  947. 1711186746892 0.010457
  948. id = 1711186746892
  949. check_remove_if_present: id = 1711186746892
  950. In grid!scaled price = 12225 scaled_ qty = 49066
  951. grid 0.012919 490.660000
  952. grid 0.011689 487.630000
  953. grid 0.012920 654.220000
  954. grid 0.011688 650.240000
  955. grid 0.012921 817.770000
  956. grid 0.011687 812.870000
  957. Was not found
  958. get_order:
  959. 1711186746893 0.012225
  960. id = 1711186746893
  961. check_remove_if_present: id = 1711186746893
  962. Account order event
  963. !{"amount": "9.499970","average_price": "0.000000","client_order_id": 1711186746892,"create_time": 1711187063282,"is_maker": false,"status": "CANCELED","price": "0.010457","quantity": "908.480000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187075494}
  964. Account order event
  965. !{"amount": "5.998310","average_price": "0.000000","client_order_id": 1711186746893,"create_time": 1711187069326,"is_maker": false,"status": "CANCELED","price": "0.012225","quantity": "490.660000","filled_quantity": "0.000000","side": "SELL","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187075514}
  966. In grid!scaled price = 10458 scaled_ qty = 72671
  967. grid 0.012919 490.660000
  968. grid 0.011689 487.630000
  969. grid 0.012920 654.220000
  970. grid 0.011688 650.240000
  971. grid 0.012921 817.770000
  972. grid 0.011687 812.870000
  973. Was not found
  974. get_order:
  975. 1711186746888 0.010459
  976. 1711186746701 0.015855
  977. 1711186746717 0.015852
  978. 1711186746798 0.012226
  979. 1711186746711 0.015852
  980. 1711186746895 0.012227
  981. 1711186746663 0.008024
  982. 1711186746721 0.014585
  983. 1711186746894 0.012226
  984. 1711186746778 0.014585
  985. 1711186746890 0.010458
  986. id = 1711186746890
  987. check_remove_if_present: id = 1711186746890
  988. Account order event
  989. !{"amount": "7.599930","average_price": "0.000000","client_order_id": 1711186746890,"create_time": 1711187063232,"is_maker": false,"status": "CANCELED","price": "0.010458","quantity": "726.710000","filled_quantity": "0.000000","side": "BUY","symbol": "0x5632ada4eb18","type": "LIMIT_MAKER""update_time": 1711187075547}
  990. In grid!scaled price = 12226 scaled_ qty = 65422
  991. grid 0.012919 490.660000
  992. grid 0.011689 487.630000
  993. grid 0.012920 654.220000
  994. grid 0.011688 650.240000
  995. grid 0.012921 817.770000
  996. grid 0.011687 812.870000
  997. Was not found
  998. get_order:
  999. 1711186746888 0.010459
  1000. 1711186746701 0.015855
  1001. 1711186746717 0.015852
  1002. 1711186746798 0.012226
  1003. id = 1711186746798
  1004.  
  1005. In grid cycle runtime error was occured
  1006. mexc_spot::__local::cancel_order: an error occured, call_config::except_on_error is enabled: Grid price level is empty
  1007. terminate called after throwing an instance of 'std::runtime_error'
  1008. what(): mexc_spot::__local::cancel_order: an error occured, call_config::except_on_error is enabled: Grid price level is empty
  1009. Aborted (core dumped)
  1010. 34304
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement