Advertisement
den4ik2003

Untitled

Oct 31st, 2024
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.48 KB | None | 0 0
  1. /home/ubuntu/keys/bitmart_spot/test_1.account
  2. converts_ size: 4
  3. TMP SIZE 2000
  4. bitmart_spot
  5. [New Thread 0x7fffe6a00640 (LWP 365664)]
  6. api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
  7. BalanceIndicator constructor
  8. API 0x555555f95c00
  9. tdir /mnt/telemetry
  10. run forever balance 0x555555f95c00
  11. hash: 5562581342570010103
  12. hash: 5562581342570010103
  13. hash: 5562581342570010103
  14. get balance indicator 0x555555f96090
  15. hash: 5562581342570010103
  16. hash: 5562581342570010103
  17. >:)
  18. TMP SIZE 2000
  19. TMP SIZE 2000
  20. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  21. {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  22. $ /mnt/telemetry/bitmart_spot/tlm_test_1_LAI
  23. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_LAI
  24. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  25. $ /mnt/telemetry/bitmart_spot/tlm_test_1_STONKS
  26. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_STONKS
  27. {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
  28. $ /mnt/telemetry/bitmart_spot/tlm_test_1_USDT
  29. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_USDT
  30. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  31. $ /mnt/telemetry/bitmart_spot/tlm_test_1_CHAT_Delist
  32. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_CHAT_Delist
  33. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  34. $ /mnt/telemetry/bitmart_spot/tlm_test_1_BTC
  35. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_BTC
  36. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  37. $ /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
  38. Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
  39. TMP SIZE 2000
  40. calculate_init_balance_position = false, but SPOT
  41. position_controller successfully calculate spot balance
  42. init_base_balance = 10149
  43. init_quote_balance = 15.9814
  44. hash: 5562581342570010103
  45. {"name": "MARKET_MAKING_MANAGER", "rpnl_bound": "1000", "cooldown": "10000", "max_position": "20", "critical_min_balance": "0", "upnl_bound": "1000", "labels": ["52"], "symbols": [{"account": "TEST_1", "market": "BITMART_SPOT", "symbol": "LAI_USDT"}]}
  46. [New Thread 0x7fffe6600640 (LWP 365665)]
  47. hash: 5562581342570010103
  48. [ 1730365785054 ] MESSAGE: interval_call _update_routine()
  49. [New Thread 0x7fffe5c00640 (LWP 365666)]
  50. [New Thread 0x7fffe5200640 (LWP 365667)]
  51. [New Thread 0x7fffe4e00640 (LWP 365668)]
  52. NO WRITER
  53. NO WRITER
  54. Telemetry logger constructor: /mnt/telemetry//bitmart_spot/tlm_test_1_LAI_USDT
  55. [ 1730365785118 ] MESSAGE: update_routine() Open orders size:
  56. PrivateReconnect: {"ok": "1"}
  57. PublicReconnect: {"ok": "1"}
  58. [ 1730365788055 ] MESSAGE: cooldown OK -> _common_process pass follow
  59. [ 1730365788055 ] MESSAGE: calculate orders mid price = 0.015439
  60. [ 2024-10-31-09-09-48 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  61. [ 2024-10-31-09-09-48 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
  62. [ 2024-10-31-09-09-48 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
  63. {"ask_price": 0.019986, "ask_quantity": 553, "bid_price": 0.012485, "bid_quantity": 78724, "update_time_micro": 1730365782986000}
  64. [ 1730365788056 ] MESSAGE: MarketMakingManager::pnl_price_checker
  65. [ 2024-10-31-09-09-48 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
  66. [ 2024-10-31-09-09-48 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
  67. [ 1730365788056 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 0
  68. order_storage::create(): 142467854140315
  69. order_storage::create(): 142467854140316
  70. [ 2024-10-31-09-09-48 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365788151620", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365788104000}}
  71. [{"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365788104000}
  72. update_order(): 142467854140315 FEED
  73. update_order(): 142467854140316 NEW
  74. update_order(): 142467854140315 NEW
  75. [ 2024-10-31-09-09-48 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365788153566", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365788105000}}
  76. [{"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365788105000}
  77. update_order(): 142467854140316 FEED
  78. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  79. {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  80. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  81. {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
  82. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  83. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  84. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  85. [ 1730365795055 ] MESSAGE: interval_call _update_routine()
  86. [ 1730365795124 ] MESSAGE: date_routine() Open orders size:
  87. update_order(): 142467854140316 FEED
  88. update_order(): 142467854140315 FEED
  89. [ 1730365798056 ] MESSAGE: cooldown OK -> _common_process pass follow
  90. [ 1730365798056 ] MESSAGE: calculate orders mid price = 0.015173
  91. [ 2024-10-31-09-09-58 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  92. [ 2024-10-31-09-09-58 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
  93. [ 2024-10-31-09-09-58 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
  94. {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365797997000}
  95. [ 1730365798057 ] MESSAGE: MarketMakingManager::pnl_price_checker
  96. [ 2024-10-31-09-09-58 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
  97. [ 2024-10-31-09-09-58 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
  98. [ 1730365798057 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 2
  99. cancel order: 142467854140316
  100. cancel order: 142467854140315
  101. order_storage::create(): 142467854140317
  102. order_storage::create(): 142467854140318
  103. retry cancel order: 142467854140316
  104. retry cancel order: 142467854140315
  105. retry cancel order: 142467854140316
  106. retry cancel order: 142467854140315
  107. update_order(): 142467854140316 CANCEL
  108. orders_ erase: 142467854140316
  109. {"trace": "5be8cf53f2d1448f95d9bd4ac40a5b87.82.17303657980967022", "data": {}, "code": "50020", "message": "Balance not enough"}
  110. update_order(): 142467854140318 NEW
  111. no result
  112. update_order(): 142467854140315 CANCEL
  113. orders_ erase: 142467854140315
  114. update_order(): 142467854140317 NEW
  115. [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798154572", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365798108000}}
  116. [{"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365798108000}
  117. update_order(): 142467854140317 FEED
  118. {"trace": "c2855322303c49df8e857408804dec59.81.17303657981268159", "data": {}, "code": "50030", "message": "Order is already canceled"}
  119. update_order(): 142467854140316 CANCEL
  120. no result
  121. [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798160331", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365798133000}}
  122. [{"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365798133000}
  123. update_order(): 142467854140315 FEED
  124. {"trace": "bee2512d27944b76aa3bc26f0f789775.83.17303657981323421", "data": {}, "code": "50030", "message": "Order is already canceled"}
  125. update_order(): 142467854140315 CANCEL
  126. no result
  127. {"trace": "5be8cf53f2d1448f95d9bd4ac40a5b87.71.17303657981544211", "data": {}, "code": "50030", "message": "Order is already canceled"}
  128. update_order(): 142467854140316 CANCEL
  129. no result
  130. {"trace": "366bda62530540008a964c369cb244d0.82.17303657981580999", "data": {}, "code": "50030", "message": "Order is already canceled"}
  131. update_order(): 142467854140315 CANCEL
  132. no result
  133. [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798240412", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365798127000}}
  134. [{"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365798127000}
  135. update_order(): 142467854140316 FEED
  136. basic_api::start_streams catch: raw string: pong
  137. basic_api::start_streams catch: raw string: pong
  138. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  139. {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
  140. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  141. {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  142. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  143. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  144. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  145. [ 1730365805054 ] MESSAGE: interval_call _update_routine()
  146. [ 1730365805123 ] MESSAGE: pdate_routine() Open orders size:
  147. update_order(): 142467854140318 FEED
  148. orders_ erase: 142467854140318
  149. update_order(): 142467854140317 FEED
  150. [ 1730365808057 ] MESSAGE: cooldown OK -> _common_process pass follow
  151. [ 1730365808057 ] MESSAGE: calculate orders mid price = 0.015172
  152. [ 2024-10-31-09-10-08 ] DEBUG base balance: {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
  153. [ 2024-10-31-09-10-08 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  154. [ 2024-10-31-09-10-08 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
  155. {"ask_price": 0.019982, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365804524000}
  156. [ 1730365808058 ] MESSAGE: MarketMakingManager::pnl_price_checker
  157. [ 2024-10-31-09-10-08 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
  158. [ 2024-10-31-09-10-08 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
  159. [ 1730365808059 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 1
  160. cancel order: 142467854140317
  161. order_storage::create(): 142467854140319
  162. order_storage::create(): 142467854140320
  163. retry cancel order: 142467854140317
  164. retry cancel order: 142467854140317
  165. update_order(): 142467854140317 CANCEL
  166. orders_ erase: 142467854140317
  167. update_order(): 142467854140319 NEW
  168. [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808155958", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808124000}}
  169. [{"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808124000}
  170. update_order(): 142467854140317 FEED
  171. [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808156420", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808106000}}
  172. [{"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808106000}
  173. update_order(): 142467854140319 FEED
  174. [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808162903", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365808115000}}
  175. [{"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365808115000}
  176. update_order(): 142467854140320 FEED
  177. update_order(): 142467854140320 NEW
  178. {"trace": "366bda62530540008a964c369cb244d0.84.17303658081394202", "data": {}, "code": "50030", "message": "Order is already canceled"}
  179. update_order(): 142467854140317 CANCEL
  180. no result
  181. {"trace": "c64b085ab4ca4ff794908a07f0dc38d0.77.17303658081550558", "data": {}, "code": "50030", "message": "Order is already canceled"}
  182. update_order(): 142467854140317 CANCEL
  183. no result
  184. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  185. {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  186. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  187. {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  188. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  189. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  190. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  191. [ 1730365815055 ] MESSAGE: interval_call _update_routine()
  192. basic_api::start_streams catch: raw string: pong
  193. basic_api::start_streams catch: raw string: pong
  194. [ 1730365815122 ] MESSAGE: date_routine() Open orders size:
  195. update_order(): 142467854140320 FEED
  196. update_order(): 142467854140319 FEED
  197. [ 1730365818059 ] MESSAGE: cooldown OK -> _common_process pass follow
  198. [ 1730365818059 ] MESSAGE: calculate orders mid price = 0.015171
  199. [ 2024-10-31-09-10-18 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  200. [ 2024-10-31-09-10-18 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  201. [ 2024-10-31-09-10-18 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
  202. {"ask_price": 0.019981, "ask_quantity": 2359, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365817610000}
  203. [ 1730365818059 ] MESSAGE: MarketMakingManager::pnl_price_checker
  204. [ 2024-10-31-09-10-18 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
  205. [ 2024-10-31-09-10-18 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
  206. [ 1730365818059 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 2
  207. cancel order: 142467854140320
  208. cancel order: 142467854140319
  209. order_storage::create(): 142467854140321
  210. order_storage::create(): 142467854140322
  211. retry cancel order: 142467854140319
  212. retry cancel order: 142467854140320
  213. retry cancel order: 142467854140319
  214. retry cancel order: 142467854140320
  215. {"trace": "c2855322303c49df8e857408804dec59.73.17303658180955781", "data": {}, "code": "50020", "message": "Balance not enough"}
  216. update_order(): 142467854140322 NEW
  217. no result
  218. update_order(): 142467854140320 CANCEL
  219. orders_ erase: 142467854140320
  220. update_order(): 142467854140319 CANCEL
  221. orders_ erase: 142467854140319
  222. update_order(): 142467854140321 NEW
  223. [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818152864", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818104000}}
  224. [{"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818104000}
  225. update_order(): 142467854140321 FEED
  226. [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818157199", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365818125000}}
  227. [{"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365818125000}
  228. update_order(): 142467854140320 FEED
  229. {"trace": "b251e07f6bf94e07bd5b224f51df4e00.84.17303658181313537", "data": {}, "code": "50030", "message": "Order is already canceled"}
  230. update_order(): 142467854140319 CANCEL
  231. no result
  232. {"trace": "ba14adb9af2c45138f0f7dae1e4d8d6d.66.17303658181363059", "data": {}, "code": "50030", "message": "Order is already canceled"}
  233. update_order(): 142467854140320 CANCEL
  234. no result
  235. [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818175028", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737337354176, "order": {"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818147000}}
  236. [{"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818147000}
  237. update_order(): 142467854140319 FEED
  238. {"trace": "9fa7957089d64d3e92200267bf2a9d92.72.17303658181549688", "data": {}, "code": "50030", "message": "Order is already canceled"}
  239. update_order(): 142467854140319 CANCEL
  240. no result
  241. {"trace": "d56d6fe2db344bbeb979604275343640.63.17303658181594054", "data": {}, "code": "50030", "message": "Order is already canceled"}
  242. update_order(): 142467854140320 CANCEL
  243. no result
  244. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  245. {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
  246. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  247. {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}
  248. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  249. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  250. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  251. [ 1730365825055 ] MESSAGE: interval_call _update_routine()
  252. [ 1730365825122 ] MESSAGE: pdate_routine() Open orders size:
  253. update_order(): 142467854140322 FEED
  254. orders_ erase: 142467854140322
  255. update_order(): 142467854140321 FEED
  256. [ 1730365828060 ] MESSAGE: cooldown OK -> _common_process pass follow
  257. [ 1730365828060 ] MESSAGE: calculate orders mid price = 0.015173
  258. [ 2024-10-31-09-10-28 ] DEBUG base balance: {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
  259. [ 2024-10-31-09-10-28 ] DEBUG quote balance: {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}
  260. [ 2024-10-31-09-10-28 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  261. {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365827191000}
  262. [ 1730365828060 ] MESSAGE: MarketMakingManager::pnl_price_checker
  263. [ 2024-10-31-09-10-28 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  264. [ 2024-10-31-09-10-28 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  265. [ 1730365828061 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 1
  266. cancel order: 142467854140321
  267. order_storage::create(): 142467854140323
  268. order_storage::create(): 142467854140324
  269. retry cancel order: 142467854140321
  270. retry cancel order: 142467854140321
  271. update_order(): 142467854140321 CANCEL
  272. orders_ erase: 142467854140321
  273. update_order(): 142467854140323 NEW
  274. [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828156737", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737083598784, "order": {"symbol": "LAI_USDT", "coid": 142467854140323, "order_id": "794666729155182592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828106000}}
  275. [{"symbol": "LAI_USDT", "coid": 142467854140323, "order_id": "794666729155182592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828106000}
  276. update_order(): 142467854140323 FEED
  277. {"trace": "776824c663ea402caeccc9a7b8e5493e.75.17303658281287410", "data": {}, "code": "50030", "message": "Order is already canceled"}
  278. update_order(): 142467854140321 CANCEL
  279. no result
  280. [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828161361", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828129000}}
  281. [{"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828129000}
  282. update_order(): 142467854140321 FEED
  283. update_order(): 142467854140324 NEW
  284. [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828168094", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737163290560, "order": {"symbol": "LAI_USDT", "coid": 142467854140324, "order_id": "794666729338355456", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022077, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365828117000}}
  285. [{"symbol": "LAI_USDT", "coid": 142467854140324, "order_id": "794666729338355456", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022077, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365828117000}
  286. update_order(): 142467854140324 FEED
  287. {"trace": "ba14adb9af2c45138f0f7dae1e4d8d6d.84.17303658281570063", "data": {}, "code": "50030", "message": "Order is already canceled"}
  288. update_order(): 142467854140321 CANCEL
  289. no result
  290. basic_api::start_streams catch: raw string: pong
  291. basic_api::start_streams catch: raw string: pong
  292. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
  293. {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  294. {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  295. {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  296. {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
  297. {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
  298. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
  299. [ 1730365835055 ] MESSAGE: interval_call _update_routine()
  300. [ 1730365835128 ] MESSAGE: date_routine() Open orders size:
  301. update_order(): 142467854140324 FEED
  302. update_order(): 142467854140323 FEED
  303. [ 1730365838062 ] MESSAGE: cooldown OK -> _common_process pass follow
  304. [ 1730365838062 ] MESSAGE: calculate orders mid price = 0.015173
  305. [ 2024-10-31-09-10-38 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
  306. [ 2024-10-31-09-10-38 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
  307. [ 2024-10-31-09-10-38 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  308. {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365827191000}
  309. [ 1730365838063 ] MESSAGE: MarketMakingManager::pnl_price_checker
  310. [ 2024-10-31-09-10-38 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  311. [ 2024-10-31-09-10-38 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
  312. [ 1730365838063 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 0
  313. ^C
  314. Thread 1 "test" received signal SIGINT, Interrupt.
  315. __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=365665, futex_word=0x7fffe6600910) at ./nptl/futex-internal.c:57
  316. 57 ./nptl/futex-internal.c: No such file or directory.
  317. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement