Advertisement
den4ik2003

Untitled

Nov 6th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.62 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 volume/volume_launch.config > volume_mfs.txt
  19. Starting program: /home/ubuntu/dmm_strat/solutions/test/test volume/volume_launch.config > volume_mfs.txt
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  22. [New Thread 0x7ffff6800640 (LWP 631089)]
  23. 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".
  24. To enable execution of this file add
  25. add-auto-load-safe-path /usr/local/go/src/runtime/runtime-gdb.py
  26. line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
  27. To completely disable this security protection add
  28. set auto-load safe-path /
  29. line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
  30. For more information about this security protection see the
  31. "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
  32. info "(gdb)Auto-loading safe path"
  33. [New Thread 0x7ffff5a00640 (LWP 631090)]
  34. [New Thread 0x7fffede00640 (LWP 631091)]
  35. [New Thread 0x7fffed400640 (LWP 631092)]
  36. [New Thread 0x7fff9fe00640 (LWP 631094)]
  37. [New Thread 0x7fffeca00640 (LWP 631093)]
  38. [New Thread 0x7fff9f400640 (LWP 631095)]
  39. [New Thread 0x7fff9ea00640 (LWP 631102)]
  40. [New Thread 0x7fff9e000640 (LWP 631103)]
  41. 2024/11/06 12:37:56 init Nonce: 22
  42. 2024/11/06 12:37:56 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
  43. 2024/11/06 12:37:56 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
  44. 2024/11/06 12:37:56 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
  45. 2024/11/06 12:37:56 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
  46. 2024/11/06 12:37:56 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
  47. [New Thread 0x7ffff4800640 (LWP 631104)]
  48. run forever balance 0x5555559729b0
  49. {"type": "DEX", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "HC", "free": 64.399, "locked": 0, "wallet": 0, "update_time": 1730896678420}, {"asset": "DAI", "free": 499.817, "locked": 0, "wallet": 0, "update_time": 1730896678420}]}
  50. [New Thread 0x7fff9d600640 (LWP 631112)]
  51. get balance indicator 0x555555972b50
  52. trader {"symbol": "HCDAI", "account": "MFS_2", "market": "MFS_DEX", "logger": {"severity_level": "DEBUG"}, "execution": {"print_ws_events": "1", "cancel_on_start": "0", "timeout": "30000"}, "data": {"print_ws_events": "0", "use_part_depth": "true", "events": ["ORDER_BOOK"]}}
  53. >:)
  54. [New Thread 0x7fff9cc00640 (LWP 631137)]
  55. [ 2024-11-06-12-38-01 ] MESSAGE: no volume price file
  56. [New Thread 0x7fff8fe00640 (LWP 631138)]
  57. [New Thread 0x7fff8f400640 (LWP 631139)]
  58. no account balance subscription
  59. [New Thread 0x7fff8ea00640 (LWP 631140)]
  60. [New Thread 0x7fff8e000640 (LWP 631141)]
  61. feed.at("type").s() != ping{"type": "connection_ack"}
  62. feed.at("type").s() != ping{"type": "connection_ack"}
  63. [Thread 0x7ffff4800640 (LWP 631104) exited]
  64. [ 2024-11-06-12-38-07 ] INFO data ask price: 7.700000
  65. [ 2024-11-06-12-38-07 ] INFO data bid price: 7.640000
  66. [ 2024-11-06-12-38-07 ] MESSAGE: sleep time = 120882
  67. [ 2024-11-06-12-38-07 ] MESSAGE: ask price 7.700000 bid price: 7.640000
  68. [ 2024-11-06-12-38-07 ] MESSAGE: current_volume: 6.715249 previous price = 7.670000
  69. [ 2024-11-06-12-38-07 ] MESSAGE: start calculating new normal distributed price
  70. [ 2024-11-06-12-38-07 ] MESSAGE: calculate deviated price (new) = 7.666433 current price = 7.670000
  71. [ 2024-11-06-12-38-07 ] MESSAGE: delta = -0.003567
  72. [ 2024-11-06-12-38-07 ] MESSAGE: new price after = 7.666433
  73. [ 2024-11-06-12-38-07 ] MESSAGE: price: 7.666433
  74. quantity: 0.875929
  75. [ 2024-11-06-12-38-07 ] INFO portfolio: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
  76. [ 2024-11-06-12-38-07 ] DEBUG base balance: {"asset": "HC", "free": 64.399, "locked": 0, "wallet": 0, "update_time": 1730896679041}
  77. [ 2024-11-06-12-38-07 ] DEBUG quote balance: {"asset": "DAI", "free": 499.817, "locked": 0, "wallet": 0, "update_time": 1730896679041}
  78. [ 2024-11-06-12-38-07 ] MESSAGE: balances_ratio: 0.987784
  79. [ 2024-11-06-12-38-07 ] INFO execution order event process: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
  80. [New Thread 0x7fff8d600640 (LWP 631166)]
  81. [ 2024-11-06-12-38-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "client_order_id": 8163630517471433714, "type": "LIMIT", "side": "BUY"}
  82. ! new api API 0x5555559729b0
  83. [New Thread 0x7fff8cc00640 (LWP 631167)]
  84. 2024/11/06 12:38:07 extends args: {"timeout": "30000", "priority": "0"}
  85. 2024/11/06 12:38:07 args: {"quantity": "875900000000000000", "price": "7670000000000000000", "orderType": "0", "isBid": "true"}
  86. 2024/11/06 12:38:07 start cancelation
  87. 2024/11/06 12:38:07 finish cancelation
  88. [ 2024-11-06-12-38-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "client_order_id": 14451579120201194125, "type": "LIMIT", "side": "SELL"}
  89. ! new api API 0x5555559729b0
  90. 2024/11/06 12:38:07 extends args: {"timeout": "30000", "priority": "0"}
  91. 2024/11/06 12:38:07 args: {"quantity": "875900000000000000", "price": "7670000000000000000", "orderType": "0", "isBid": "false"}
  92. 2024/11/06 12:38:07 start cancelation
  93. 2024/11/06 12:38:07 finish cancelation
  94. 2024/11/06 12:38:07 gas price = 65176997796
  95. 2024/11/06 12:38:07 gas price = 65176997796
  96. 2024/11/06 12:38:08 TX Hash: 0xc3db3d73a03cc932949b7d3aac31604de5de9f43c669720fdb7ebd89f908d59c ; Nonce: 22
  97. 2024/11/06 12:38:08 TX Hash: 0xd61f97bcd91fb7790ad6f336cc4d1a6e9fb58a4ba3252cdb7d0efcf57c8278b8 ; Nonce: 23
  98. 2024/11/06 12:38:13 golang tx log: {
  99. tx = 0xc3db3d73a03cc932949b7d3aac31604de5de9f43c669720fdb7ebd89f908d59c ok;
  100. status = 1
  101. block = 63954798
  102. usedGas = 478049
  103. exec_time = 5.632877s
  104. }
  105. [ 2024-11-06-12-38-13 ] MESSAGE: new order delta: 5634
  106. [ 2024-11-06-12-38-13 ] DEBUG ? new: empty order
  107. [Thread 0x7fff8d600640 (LWP 631166) exited]
  108. [ 2024-11-06-12-38-14 ] INFO data ask price: 7.700000
  109. [ 2024-11-06-12-38-14 ] INFO data bid price: 7.640000
  110. 2024/11/06 12:38:19 golang tx log: {
  111. tx = 0xd61f97bcd91fb7790ad6f336cc4d1a6e9fb58a4ba3252cdb7d0efcf57c8278b8 ok;
  112. status = 1
  113. block = 63954800
  114. usedGas = 461791
  115. exec_time = 11.637034s
  116. }
  117. [ 2024-11-06-12-38-19 ] MESSAGE: new order delta: 11637
  118. [ 2024-11-06-12-38-19 ] DEBUG ? new: empty order
  119. [Thread 0x7fff8cc00640 (LWP 631167) exited]
  120. [ 2024-11-06-12-38-25 ] INFO data ask price: 7.700000
  121. [ 2024-11-06-12-38-25 ] INFO data bid price: 7.640000
  122. [ 2024-11-06-12-38-32 ] INFO data ask price: 7.700000
  123. [ 2024-11-06-12-38-32 ] INFO data bid price: 7.640000
  124. [ 2024-11-06-12-38-38 ] INFO data ask price: 7.700000
  125. [ 2024-11-06-12-38-38 ] INFO data bid price: 7.690000
  126. stream == e_stream::ACCOUNT_ORDER
  127. [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896692000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}}
  128. [ 2024-11-06-12-38-44 ] MESSAGE: limit
  129. [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}
  130. [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 7.670000, "quantity": 0.875900, "update_time": 0}
  131. [ 2024-11-06-12-38-44 ] MESSAGE: (execution) filled quantity is not initialized
  132. [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
  133. stream == e_stream::ACCOUNT_ORDER
  134. [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896698000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}}
  135. [ 2024-11-06-12-38-44 ] MESSAGE: limit
  136. [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}
  137. [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 7.670000, "quantity": 0.875900, "update_time": 0}
  138. [ 2024-11-06-12-38-44 ] MESSAGE: (execution) filled quantity is not initialized
  139. [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
  140. stream == e_stream::ACCOUNT_ORDER
  141. [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896698000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896698000}}
  142. [ 2024-11-06-12-38-44 ] MESSAGE: limit
  143. [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896698000}
  144. [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}
  145. $$$ {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": SELL, "trade_time": 1730896698000}
  146. open_position for order
  147. [ 2024-11-06-12-38-44 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": SELL, "trade_time": 1730896698000}
  148. [ 2024-11-06-12-38-44 ] INFO new position: {"symbol": "HCDAI", "entry_price": 7.67, "quantity": -0.8759, "position_quote": -6.71815}
  149. [ 2024-11-06-12-38-44 ] MESSAGE: erase
  150. [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
  151. [ 2024-11-06-12-38-45 ] INFO data ask price: 7.700000
  152. [ 2024-11-06-12-38-45 ] INFO data bid price: 7.690000
  153. [ 2024-11-06-12-38-51 ] INFO data ask price: 7.680000
  154. [ 2024-11-06-12-38-51 ] INFO data bid price: 7.670000
  155. [ 2024-11-06-12-38-58 ] INFO data ask price: 7.680000
  156. [ 2024-11-06-12-38-58 ] INFO data bid price: 7.670000
  157. [ 2024-11-06-12-39-03 ] INFO data ask price: 7.700000
  158. [ 2024-11-06-12-39-03 ] INFO data bid price: 7.670000
  159. stream == e_stream::ACCOUNT_ORDER
  160. [ 2024-11-06-12-39-09 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896692000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896692000}}
  161. [ 2024-11-06-12-39-09 ] MESSAGE: limit
  162. [ 2024-11-06-12-39-09 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896692000}
  163. [ 2024-11-06-12-39-09 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}
  164. $$$ {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": BUY, "trade_time": 1730896692000}
  165. open_position for order
  166. [ 2024-11-06-12-39-09 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": BUY, "trade_time": 1730896692000}
  167. [ 2024-11-06-12-39-09 ] INFO new position: {"symbol": "HCDAI", "entry_price": 0, "quantity": 0, "position_quote": 0}
  168. [ 2024-11-06-12-39-09 ] MESSAGE: erase
  169. [ 2024-11-06-12-39-09 ] MESSAGE: ! HCDAI
  170. [ 2024-11-06-12-39-10 ] INFO data ask price: 7.700000
  171. [ 2024-11-06-12-39-10 ] INFO data bid price: 7.640000
  172. [ 2024-11-06-12-39-21 ] INFO data ask price: 7.700000
  173. [ 2024-11-06-12-39-21 ] INFO data bid price: 7.640000
  174. [ 2024-11-06-12-39-28 ] INFO data ask price: 7.700000
  175. [ 2024-11-06-12-39-28 ] INFO data bid price: 7.690000
  176. [ 2024-11-06-12-39-49 ] INFO data ask price: 7.700000
  177. [ 2024-11-06-12-39-49 ] INFO data bid price: 7.690000
  178. [ 2024-11-06-12-39-55 ] INFO data ask price: 7.700000
  179. [ 2024-11-06-12-39-55 ] INFO data bid price: 7.690000
  180. [ 2024-11-06-12-40-02 ] INFO data ask price: 7.700000
  181. [ 2024-11-06-12-40-02 ] INFO data bid price: 7.680000
  182. [ 2024-11-06-12-40-08 ] INFO data ask price: 7.700000
  183. [ 2024-11-06-12-40-08 ] INFO data bid price: 7.680000
  184. [ 2024-11-06-12-40-15 ] INFO data ask price: 7.700000
  185. [ 2024-11-06-12-40-15 ] INFO data bid price: 7.680000
  186. [ 2024-11-06-12-40-15 ] MESSAGE: sleep time = 130122
  187. [ 2024-11-06-12-40-15 ] MESSAGE: ask price 7.700000 bid price: 7.680000
  188. [ 2024-11-06-12-40-15 ] MESSAGE: current_volume: 7.680853 previous price = 7.666433
  189. [ 2024-11-06-12-40-15 ] MESSAGE: start calculating new normal distributed price
  190. [ 2024-11-06-12-40-15 ] MESSAGE: calculate deviated price (new) = 7.668504 current price = 7.666433
  191. [ 2024-11-06-12-40-15 ] MESSAGE: delta = 0.002071
  192. [ 2024-11-06-12-40-15 ] MESSAGE: new_price < lower_bound
  193. [ 2024-11-06-12-40-15 ] MESSAGE: new price after = 7.690000
  194. [ 2024-11-06-12-40-15 ] MESSAGE: price: 7.690000
  195. quantity: 0.998811
  196. [ 2024-11-06-12-40-15 ] INFO portfolio: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
  197. [ 2024-11-06-12-40-15 ] DEBUG base balance: {"asset": "HC", "free": 64.3973, "locked": 0, "wallet": 0, "update_time": 1730896806561}
  198. [ 2024-11-06-12-40-15 ] DEBUG quote balance: {"asset": "DAI", "free": 499.821, "locked": 0, "wallet": 0, "update_time": 1730896806561}
  199. [ 2024-11-06-12-40-15 ] MESSAGE: balances_ratio: 0.990785
  200. [ 2024-11-06-12-40-15 ] INFO execution order event process: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
  201. [New Thread 0x7fff8cc00640 (LWP 631679)]
  202. [ 2024-11-06-12-40-15 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "client_order_id": 13341833415181474564, "type": "LIMIT", "side": "BUY"}
  203. ! new api API 0x5555559729b0
  204. [New Thread 0x7fff8d600640 (LWP 631680)]
  205. 2024/11/06 12:40:15 extends args: {"timeout": "30000", "priority": "0"}
  206. 2024/11/06 12:40:15 args: {"quantity": "998800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "true"}
  207. 2024/11/06 12:40:15 start cancelation
  208. 2024/11/06 12:40:15 finish cancelation
  209. [ 2024-11-06-12-40-15 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "client_order_id": 1989887496931069173, "type": "LIMIT", "side": "SELL"}
  210. ! new api API 0x5555559729b0
  211. 2024/11/06 12:40:15 extends args: {"timeout": "30000", "priority": "0"}
  212. 2024/11/06 12:40:15 args: {"quantity": "998800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "false"}
  213. 2024/11/06 12:40:15 start cancelation
  214. 2024/11/06 12:40:15 finish cancelation
  215. 2024/11/06 12:40:15 gas price = 68146891656
  216. 2024/11/06 12:40:15 gas price = 68146891656
  217. 2024/11/06 12:40:15 TX Hash: 0xb95a27c10134efa5fc41fbb33acfa2b4ddc960fe82976b16ce3efd350741a224 ; Nonce: 25
  218. 2024/11/06 12:40:15 TX Hash: 0xd7ee87b6a1787ddcd011082f06cea53bb659c5c2425db4c934f1ec498f063a6c ; Nonce: 24
  219. 2024/11/06 12:40:20 golang tx log: {
  220. tx = 0xd7ee87b6a1787ddcd011082f06cea53bb659c5c2425db4c934f1ec498f063a6c ok;
  221. status = 1
  222. block = 63954858
  223. usedGas = 470255
  224. exec_time = 5.639336s
  225. }
  226. [ 2024-11-06-12-40-20 ] MESSAGE: new order delta: 5640
  227. [ 2024-11-06-12-40-20 ] DEBUG ? new: empty order
  228. [Thread 0x7fff8cc00640 (LWP 631679) exited]
  229. 2024/11/06 12:40:26 golang tx log: {
  230. tx = 0xb95a27c10134efa5fc41fbb33acfa2b4ddc960fe82976b16ce3efd350741a224 ok;
  231. status = 1
  232. block = 63954861
  233. usedGas = 442433
  234. exec_time = 11.689161s
  235. }
  236. [ 2024-11-06-12-40-26 ] MESSAGE: new order delta: 11689
  237. [ 2024-11-06-12-40-26 ] DEBUG ? new: empty order
  238. [Thread 0x7fff8d600640 (LWP 631680) exited]
  239. [ 2024-11-06-12-40-27 ] INFO data ask price: 7.700000
  240. [ 2024-11-06-12-40-27 ] INFO data bid price: 7.640000
  241. [ 2024-11-06-12-40-33 ] INFO data ask price: 7.690000
  242. [ 2024-11-06-12-40-33 ] INFO data bid price: 7.640000
  243. stream == e_stream::ACCOUNT_ORDER
  244. [ 2024-11-06-12-40-49 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896820000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}}
  245. [ 2024-11-06-12-40-49 ] MESSAGE: limit
  246. [ 2024-11-06-12-40-49 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}
  247. [ 2024-11-06-12-40-49 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 7.690000, "quantity": 0.998800, "update_time": 0}
  248. [ 2024-11-06-12-40-49 ] MESSAGE: (execution) filled quantity is not initialized
  249. [ 2024-11-06-12-40-49 ] MESSAGE: ! HCDAI
  250. [ 2024-11-06-12-40-51 ] INFO data ask price: 7.700000
  251. [ 2024-11-06-12-40-51 ] INFO data bid price: 7.690000
  252. stream == e_stream::ACCOUNT_ORDER
  253. [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896826000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}}
  254. [ 2024-11-06-12-40-56 ] MESSAGE: limit
  255. [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}
  256. [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 7.690000, "quantity": 0.998800, "update_time": 0}
  257. [ 2024-11-06-12-40-56 ] MESSAGE: (execution) filled quantity is not initialized
  258. [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
  259. stream == e_stream::ACCOUNT_ORDER
  260. [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896820000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896820000}}
  261. [ 2024-11-06-12-40-56 ] MESSAGE: limit
  262. [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896820000}
  263. [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}
  264. $$$ {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": BUY, "trade_time": 1730896820000}
  265. open_position for order
  266. [ 2024-11-06-12-40-56 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": BUY, "trade_time": 1730896820000}
  267. [ 2024-11-06-12-40-56 ] INFO new position: {"symbol": "HCDAI", "entry_price": 7.69, "quantity": 0.9988, "position_quote": 7.68077}
  268. [ 2024-11-06-12-40-56 ] MESSAGE: erase
  269. [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
  270. stream == e_stream::ACCOUNT_ORDER
  271. [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896826000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896826000}}
  272. [ 2024-11-06-12-40-56 ] MESSAGE: limit
  273. [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896826000}
  274. [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}
  275. $$$ {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": SELL, "trade_time": 1730896826000}
  276. open_position for order
  277. [ 2024-11-06-12-40-56 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": SELL, "trade_time": 1730896826000}
  278. [ 2024-11-06-12-40-56 ] INFO new position: {"symbol": "HCDAI", "entry_price": 0, "quantity": 0, "position_quote": 0}
  279. [ 2024-11-06-12-40-56 ] MESSAGE: erase
  280. [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
  281. [ 2024-11-06-12-40-56 ] INFO data ask price: 7.670000
  282. [ 2024-11-06-12-40-56 ] INFO data bid price: 7.640000
  283. [ 2024-11-06-12-41-03 ] INFO data ask price: 7.670000
  284. [ 2024-11-06-12-41-03 ] INFO data bid price: 7.640000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement