Advertisement
den4ik2003

Untitled

Nov 8th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.13 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ gdb ./test
  2. GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
  3. Copyright (C) 2022 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.
  7. Type "show copying" and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <https://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14.  
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from ./test...
  18. (gdb) run mm/launch.config
  19. Starting program: /home/ubuntu/dmm_strat/solutions/test/test mm/launch.config
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  22. {"cooldown": "120000", "spread_size": "0.2", "n_lvl": "1", "n_base": "1", "price_step": "1", "available_quote_balance_to_total": "0.05", "available_base_balance_to_total": "0.05"}
  23. [New Thread 0x7ffff6800640 (LWP 718415)]
  24. C++ 1ffd161f95a641469ef6fb6b7b5cbac3
  25. warning: File "/usr/local/go/src/runtime/runtime-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
  26. To enable execution of this file add
  27. add-auto-load-safe-path /usr/local/go/src/runtime/runtime-gdb.py
  28. line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
  29. To completely disable this security protection add
  30. set auto-load safe-path /
  31. line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
  32. For more information about this security protection see the
  33. "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
  34. info "(gdb)Auto-loading safe path"
  35. [New Thread 0x7ffff5a00640 (LWP 718416)]
  36. [New Thread 0x7fffede00640 (LWP 718417)]
  37. [New Thread 0x7fffed400640 (LWP 718418)]
  38. [New Thread 0x7fffeca00640 (LWP 718419)]
  39. [New Thread 0x7fff9fe00640 (LWP 718420)]
  40. [New Thread 0x7fff9f400640 (LWP 718421)]
  41. [New Thread 0x7fff9ea00640 (LWP 718422)]
  42. 2024/11/08 13:54:20 init Nonce: 30
  43. 2024/11/08 13:54:20 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
  44. 2024/11/08 13:54:20 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
  45. 2024/11/08 13:54:20 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
  46. 2024/11/08 13:54:20 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
  47. 2024/11/08 13:54:20 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
  48. 2024/11/08 13:54:20 bind contract 0x0000000000000000000000000000000000001010
  49. [New Thread 0x7ffff4800640 (LWP 718434)]
  50. {"type": "FORCE_DEX", "txIndex": "0", "name": "HC/DAI", "baseAsset": "0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa", "baseAssetDecimals": "18", "quoteAssetDecimals": "18", "chainId": "matic", "createdAt": "0001-01-01T00:00:00.000Z", "deployedBlock": "59522571", "updatedAt": "2024-11-08T13:54:19.969Z", "txHash": "0x306571d8352b418b85a88243349ea726074e68360603982196c46eeff8dbc9e0", "address": "0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4", "lastSyncedBlock": "64036811", "id": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "quoteAsset": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063", "symbol": "HCDAI"}
  51. {"userId": "1245312", "error": "ok"}
  52. user_id: 1245312
  53. authentification was completed
  54. API 0x55555596efd0
  55. run forever balance 0x55555596efd0
  56. {"type": "DEX", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "MATIC", "free": 2.2794, "locked": 0, "wallet": 0, "update_time": 1731074062785}, {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074062785}, {"asset": "DAI", "free": 2919.6, "locked": 0, "wallet": 0, "update_time": 1731074062785}]}
  57. [New Thread 0x7fff9e000640 (LWP 718454)]
  58. get balance indicator 0x55555596f170
  59. trader {"symbol": "HCDAI", "account": "MFS_1", "market": "MFS_DEX", "logger": {"severity_level": "DEBUG"}, "execution": {"print_ws_events": "1", "cancel_on_start": "0", "timeout": "16000"}, "data": {"print_ws_events": "0", "use_part_depth": "true", "events": ["ORDER_BOOK"]}}
  60. >:)
  61. auth token: eyJhbG
  62. get_open_orders_wrapper::request_filler
  63. auth token: eyJhbG
  64. {"asset": "MATIC", "free": 2.2794, "locked": 0, "wallet": 0, "update_time": 1731074063571}
  65. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074063571}
  66. {"asset": "DAI", "free": 2919.6, "locked": 0, "wallet": 0, "update_time": 1731074063571}
  67.  
  68. _fill_order 6360000000000000000/22955800000000000000/BUY 17003246168567806857
  69. already opened {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "ed5ea50f-98a0-458d-b683-488bc60635fd", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}
  70. [New Thread 0x7fff9d600640 (LWP 718455)]
  71. Execution was constructed
  72. Trader was created
  73. [New Thread 0x7fff9cc00640 (LWP 718456)]
  74. [New Thread 0x7fff93e00640 (LWP 718457)]
  75. subscription stream: ACCOUNT_BALANCE
  76. no account balance subscription
  77. subscription stream: PART_DEPTH
  78. subscription stream: ACCOUNT_ORDER
  79. subscription stream: ACCOUNT_TRADE
  80. [New Thread 0x7fff93400640 (LWP 718458)]
  81. [New Thread 0x7fff92a00640 (LWP 718459)]
  82. {"payload": {"query": "subscription onMyForceDexOrdersUpdated($userId: BigInt!, $pairId: UUID!) { onMyForceDexOrdersUpdated(userId: $userId, pairId: $pairId) { createdAt direction orderNumber id initialQuantity pairId price quantity status type userId }}", "operationName": "onMyForceDexOrdersUpdated", "extensions": {}, "variables": {"userId": "1245312", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e"}}, "type": "subscribe", "id": "1731074063942002"}
  83. {"payload": {"query": "subscription onForceDexOrdersBookUpdated($pairId: UUID!) { onForceDexOrdersBookUpdated(pairId: $pairId) { lines { direction quantity price __typename } __typename }}", "operationName": "onForceDexOrdersBookUpdated", "extensions": {}, "variables": {"pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e"}}, "type": "subscribe", "id": "1731074063942001"}
  84. feed.at("type").s() != ping{"type": "connection_ack"}
  85. feed.at("type").s() != ping{"type": "connection_ack"}
  86.  
  87. stream = onForceDexOrdersBookUpdated
  88.  
  89. [ 2024-11-08-13-54-27 ] MESSAGE: calculate orders mid price = 6.990000
  90. [ 2024-11-08-13-54-27 ] INFO base balance: {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074063571}
  91. [ 2024-11-08-13-54-27 ] INFO quote balance: {"asset": "DAI", "free": 2919.6, "locked": 0, "wallet": 0, "update_time": 1731074063571}
  92. [ 2024-11-08-13-54-27 ] MESSAGE: calculate and ticks 139
  93. [ 2024-11-08-13-54-27 ] MESSAGE: sell 7.690000 18.820785
  94. [ 2024-11-08-13-54-27 ] MESSAGE: buy 6.300000 23.171397
  95. [ 2024-11-08-13-54-27 ] INFO portfolio: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.69, 18.8208); ], bids: [(6.3, 23.1714); ]
  96. [ 2024-11-08-13-54-27 ] MESSAGE: position quote: 0.000000max pos: 20.000000
  97. [ 2024-11-08-13-54-27 ] MESSAGE: max pos is not exceeded
  98. [ 2024-11-08-13-54-27 ] DEBUG overall risk checker res: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.69, 18.8208); ], bids: [(6.3, 23.1714); ]
  99. [ 2024-11-08-13-54-27 ] INFO execution order event process: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.69, 18.8208); ], bids: [(6.3, 23.1714); ]
  100. [ 2024-11-08-13-54-27 ] MESSAGE: LIMIT GRID
  101. [ 2024-11-08-13-54-27 ] DEBUG in _process_limit_grid: 7.69
  102. [ 2024-11-08-13-54-27 ] DEBUG in _process_limit_grid: 18.8208
  103. [ 2024-11-08-13-54-27 ] DEBUG in _process_limit_grid: 6.3
  104. [ 2024-11-08-13-54-27 ] DEBUG in _process_limit_grid: 23.1714
  105. [ 2024-11-08-13-54-27 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 6.300000, "quantity": 23.171400, "type": "LIMIT", "side": "BUY"}
  106. [ 2024-11-08-13-54-27 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 7.690000, "quantity": 18.820800, "type": "LIMIT", "side": "SELL"}
  107. [ 2024-11-08-13-54-27 ] MESSAGE: csize: 1
  108. [New Thread 0x7fff92000640 (LWP 718487)]
  109. index_order_id 6300000000000000000/23171400000000000000/BUY 5439221958491864869
  110. [ 2024-11-08-13-54-27 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "ed5ea50f-98a0-458d-b683-488bc60635fd", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}
  111. [New Thread 0x7fff91600640 (LWP 718488)]
  112. cancel_order_wrapper::execute
  113. index_order_id 7690000000000000000/18820800000000000000/SELL 10786444338172960604
  114. [ 2024/11/08 13:54:27 extends args: {}
  115. 2024-11-08-13-54-27 ] 2024/11/08 13:54:27 args: {"orderId": "926974"}
  116. DEBUG ! new2024/11/08 13:54:27 waiting time: 0 ; net timeout after waiting = 120000 ms
  117. : {"symbol": "HCDAI", "price": 6.300000, "quantity": 23.171400, "client_order_id": 5439221958491864869, "type": "LIMIT", "side": "BUY"}
  118. ! new api API 0x55555596efd0
  119. order_request_t {"symbol": "HCDAI", "price": 6.300000, "quantity": 23.171400, "client_order_id": 5439221958491864869, "type": "LIMIT", "side": "BUY"}
  120. quantity 231714
  121. [New Thread 0x7fff90c00640 (LWP 718489)]
  122. new_order_wrapper::execute
  123. {"ext_params": {"timeout": "16000", "priority": "0"}, "params": {"quantity": "23171400000000000000", "price": "6300000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
  124. [ 2024-11-08-13-54-27 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.690000, "quantity": 18.820800, "client_order_id": 10786444338172960604, "type": "LIMIT", "side": "SELL"}
  125. 2024/11/08 13:54:27 extends args: {"timeout": "16000", "priority": "0"}
  126. ! new api API 0x55555596efd02024/11/08 13:54:27 args: {"quantity": "23171400000000000000", "price": "6300000000000000000", "orderType": "0", "isBid": "true"}
  127.  
  128. order_request_t {"symbol": "HCDAI", "price": 7.690000, "quantity": 18.820800, "client_order_id": 10786444338172960604, "type": "LIMIT", "side": "SELL"}
  129. quantity 188208
  130. new_order_wrapper::execute
  131. {"ext_params": {"timeout": "16000", "priority": "0"}, "params": {"quantity": "18820800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "false"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
  132. 2024/11/08 13:54:27 extends args: {"timeout": "16000", "priority": "0"}
  133. 2024/11/08 13:54:27 args: {"quantity": "18820800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "false"}
  134. 2024/11/08 13:54:27 nonce: 30
  135. 2024/11/08 13:54:27 gas price = 73839162903
  136. 2024/11/08 13:54:27 TX Hash: 0x0c494b284d69b076e038762d9b2caa817f65828518eade4b7ef114ff977800bc ; Nonce: 30
  137. [Thread 0x7ffff4800640 (LWP 718434) exited]
  138. 2024/11/08 13:54:32 timeout_metric -> complete: tx: 0x0c494b284d69b076e038762d9b2caa817f65828518eade4b7ef114ff977800bc ; exec_time: 5.163402s ; attempt = 0 ; first tx 0x0c494b284d69b076e038762d9b2caa817f65828518eade4b7ef114ff977800bc
  139. 2024/11/08 13:54:32 golang tx log: {
  140. tx = 0x0c494b284d69b076e038762d9b2caa817f65828518eade4b7ef114ff977800bc ok;
  141. nonce = 30
  142. status = 1
  143. block = 64036830
  144. usedGas = 151282
  145. exec_time = 5.163446s
  146. }
  147. 2024/11/08 13:54:32 waiting time: 5807 ; net timeout after waiting = 10193 ms
  148. cancel_order_wrapper::response_filler{"tx_hash": "0x0c494b284d69b076e038762d9b2caa817f65828518eade4b7ef114ff977800bc", "used_gas": "151282", "block": "64036830", "error": "ok"}
  149. [ 2024-11-08-13-54-32 ] MESSAGE: cancel order delta: 5808
  150. [Thread 0x7fff92000640 (LWP 718487) exited]
  151. 2024/11/08 13:54:33 nonce: 31
  152. 2024/11/08 13:54:33 gas price = 74340341227
  153. 2024/11/08 13:54:33 TX Hash: 0x87be1c27120e41d9af1eac692fd67006c4d9b6975447f345579c425774fbb869 ; Nonce: 31
  154. {"asset": "MATIC", "free": 2.26823, "locked": 0, "wallet": 0, "update_time": 1731074074333}
  155. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074074333}
  156. {"asset": "DAI", "free": 3065.59, "locked": 0, "wallet": 0, "update_time": 1731074074333}
  157.  
  158. 2024/11/08 13:54:39 timeout_metric -> complete: tx: 0x87be1c27120e41d9af1eac692fd67006c4d9b6975447f345579c425774fbb869 ; exec_time: 6.154597s ; attempt = 0 ; first tx 0x87be1c27120e41d9af1eac692fd67006c4d9b6975447f345579c425774fbb869
  159. 2024/11/08 13:54:39 golang tx log: {
  160. tx = 0x87be1c27120e41d9af1eac692fd67006c4d9b6975447f345579c425774fbb869 ok;
  161. nonce = 31
  162. status = 1
  163. block = 64036832
  164. usedGas = 368115
  165. exec_time = 6.154637s
  166. }
  167. 2024/11/08 13:54:39 waiting time: 12581 ; net timeout after waiting = 3419 ms
  168. 2024/11/08 13:54:39 after waiting timeout < 5000
  169. C++ new_order_wrapper response: [ 2024-11-08-13-54-39 ] {"tx_hash": "0x87be1c27120e41d9af1eac692fd67006c4d9b6975447f345579c425774fbb869", "used_gas": "368115", "block": "64036832", "error": "ok"}
  170. MESSAGE: new order delta: 12582
  171. [ 2024-11-08-13-54-39 ] MESSAGE: new order delta: 12582
  172. [ 2024-11-08-13-54-39 ] ERROR : new order error: request={"symbol": "HCDAI", "price": 7.690000, "quantity": 18.820800, "client_order_id": 10786444338172960604, "type": "LIMIT", "side": "SELL"} id = 10786444338172960604
  173. [Thread 0x7fff90c00640 (LWP 718489) exited]
  174. [Thread 0x7fff91600640 (LWP 718488) exited]
  175. {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074085113}
  176. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074085113}
  177. {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074085113}
  178.  
  179. {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074095887}
  180. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074095887}
  181. {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074095887}
  182.  
  183.  
  184. stream = onForceDexOrdersBookUpdated
  185.  
  186.  
  187. stream = onMyForceDexOrdersUpdated
  188.  
  189. _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "CANCELLED", "quantity": "22955800000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "6360000000000000000", "id": "ed5ea50f-98a0-458d-b683-488bc60635fd", "type": "LIMIT", "orderNumber": "926974", "direction": "BID", "initialQuantity": "22955800000000000000", "createdAt": "2024-11-08T13:00:04.000Z"}}
  190. stream == e_stream::ACCOUNT_ORDER
  191. _fill_order 6360000000000000000/22955800000000000000/BUY 17003246168567806857
  192. WebSocketEvent: delta=1.73107e+11, event_time=1731070804000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}}
  193. [ 2024-11-08-13-55-01 ] INFO Execution::_process: WebSocketEvent: delta=1.73107e+11, event_time=1731070804000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}}
  194. [ 2024-11-08-13-55-01 ] MESSAGE: limit
  195. [ 2024-11-08-13-55-01 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}
  196. old_it != cur_storage.end()
  197. [ 2024-11-08-13-55-01 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 17003246168567806857, {"dex_order_id": "926974", "order_id": "ed5ea50f-98a0-458d-b683-488bc60635fd", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.360000, "quantity": 22.955800, "filled_quantity": 0.000000, "update_time": 1731070804000}
  198. [ 2024-11-08-13-55-01 ] MESSAGE: erase
  199. [ 2024-11-08-13-55-01 ] MESSAGE: ! HCDAI
  200.  
  201. stream = onForceDexOrdersBookUpdated
  202.  
  203. {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074106654}
  204. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074106654}
  205. {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074106654}
  206.  
  207.  
  208. stream = onMyForceDexOrdersUpdated
  209.  
  210. _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "OPEN", "quantity": "23171400000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "6300000000000000000", "id": "f0b26900-fb08-4a8d-825b-08696efa45f8", "type": "LIMIT", "orderNumber": "927367", "direction": "BID", "initialQuantity": "23171400000000000000", "createdAt": "2024-11-08T13:54:38.000Z"}}
  211. stream == e_stream::ACCOUNT_ORDER
  212. _fill_order 6300000000000000000/23171400000000000000/BUY 5439221958491864869
  213. WebSocketEvent: delta=1.73107e+11, event_time=1731074078000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "927367", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.300000, "quantity": 23.171400, "filled_quantity": 0.000000, "update_time": 1731074078000}}
  214. [ 2024-11-08-13-55-07 ] INFO Execution::_process: WebSocketEvent: delta=1.73107e+11, event_time=1731074078000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "927367", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.300000, "quantity": 23.171400, "filled_quantity": 0.000000, "update_time": 1731074078000}}
  215. [ 2024-11-08-13-55-07 ] MESSAGE: limit
  216. [ 2024-11-08-13-55-07 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "927367", "order_id": "1731074063942002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.300000, "quantity": 23.171400, "filled_quantity": 0.000000, "update_time": 1731074078000}
  217. old_it != cur_storage.end()
  218. [ 2024-11-08-13-55-07 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 6.300000, "quantity": 23.171400, "update_time": 0}
  219. [ 2024-11-08-13-55-07 ] MESSAGE: (execution) filled quantity is not initialized
  220. [ 2024-11-08-13-55-07 ] MESSAGE: ! HCDAI
  221.  
  222. stream = onForceDexOrdersBookUpdated
  223.  
  224.  
  225. stream = onForceDexOrdersBookUpdated
  226.  
  227. {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074117427}
  228. {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074117427}
  229. {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074117427}
  230.  
  231.  
  232. stream = onForceDexOrdersBookUpdated
  233.  
  234. ^C
  235. Thread 1 "test" received signal SIGINT, Interrupt.
  236. __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=718456, futex_word=0x7fff9cc00910) at ./nptl/futex-internal.c:57
  237. 57 ./nptl/futex-internal.c: No such file or directory.
  238. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement