Advertisement
den4ik2003

Untitled

Jan 8th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.33 KB | None | 0 0
  1. here is NO WARRANTY, to the extent permitted by law.
  2. Type "show copying" and "show warranty" for details.
  3. This GDB was configured as "x86_64-linux-gnu".
  4. Type "show configuration" for configuration details.
  5. For bug reporting instructions, please see:
  6. <https://www.gnu.org/software/gdb/bugs/>.
  7. Find the GDB manual and other documentation resources online at:
  8. <http://www.gnu.org/software/gdb/documentation/>.
  9.  
  10. For help, type "help".
  11. Type "apropos word" to search for commands related to "word"...
  12. Reading symbols from ./test...
  13. (gdb) run taker/launch.config
  14. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
  15. [Thread debugging using libthread_db enabled]
  16. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  17. [New Thread 0x7ffff6a00640 (LWP 3346670)]
  18. [New Thread 0x7ffff6600640 (LWP 3346671)]
  19. [New Thread 0x7ffff6200640 (LWP 3346672)]
  20. [New Thread 0x7ffff5e00640 (LWP 3346673)]
  21. [New Thread 0x7ffff5a00640 (LWP 3346674)]
  22. [New Thread 0x7ffff5600640 (LWP 3346675)]
  23. [New Thread 0x7ffff5200640 (LWP 3346676)]
  24. [New Thread 0x7ffff4e00640 (LWP 3346677)]
  25. [New Thread 0x7ffff4a00640 (LWP 3346678)]
  26. [New Thread 0x7ffff4600640 (LWP 3346679)]
  27. [New Thread 0x7fffefe00640 (LWP 3346680)]
  28. [New Thread 0x7fffefa00640 (LWP 3346681)]
  29. [New Thread 0x7fffef600640 (LWP 3346682)]
  30. [New Thread 0x7fffef200640 (LWP 3346683)]
  31. [New Thread 0x7fffeee00640 (LWP 3346684)]
  32. [New Thread 0x7fffeea00640 (LWP 3346685)]
  33. [New Thread 0x7fffee600640 (LWP 3346686)]
  34. [New Thread 0x7fffee200640 (LWP 3346687)]
  35. [New Thread 0x7fffede00640 (LWP 3346688)]
  36. [New Thread 0x7fffeda00640 (LWP 3346689)]
  37. [New Thread 0x7fffed600640 (LWP 3346690)]
  38. [New Thread 0x7fffed200640 (LWP 3346691)]
  39. [New Thread 0x7fffece00640 (LWP 3346692)]
  40. [New Thread 0x7fffeca00640 (LWP 3346693)]
  41. [New Thread 0x7fffec600640 (LWP 3346694)]
  42. [New Thread 0x7fffe3e00640 (LWP 3346695)]
  43. [New Thread 0x7fffe3a00640 (LWP 3346696)]
  44. [New Thread 0x7fffe3600640 (LWP 3346697)]
  45. [New Thread 0x7fffe3200640 (LWP 3346698)]
  46. [New Thread 0x7fffe2e00640 (LWP 3346699)]
  47. [New Thread 0x7fffe2a00640 (LWP 3346700)]
  48. [New Thread 0x7fffe2600640 (LWP 3346701)]
  49. add_parser: BINANCE_FUTURES
  50. add_parser: BITMART_SPOT
  51. add_parser: MEXC_SPOT
  52. /home/ubuntu/keys/mexc_spot/test_1.account
  53. shared_parser: MEXC_SPOT
  54. has: BINANCE_FUTURES
  55. has: BITMART_SPOT
  56. has: MEXC_SPOT
  57. [New Thread 0x7fffe2200640 (LWP 3346702)]
  58. run forever balance 0x555555679060
  59. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 525997, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 13.44, "locked": 0, "update_time": 0}]}
  60. [New Thread 0x7fffe1e00640 (LWP 3346710)]
  61. Initializing orderbook
  62. [New Thread 0x7fffe1400640 (LWP 3346711)]
  63. [New Thread 0x7fffe1000640 (LWP 3346712)]
  64. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  65. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  66. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 525997, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 13.44, "locked": 0, "update_time": 0}]}
  67. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  68. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  69. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  70. {"asset": "MCC", "free": 525997, "locked": 0, "update_time": 0}
  71. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  72. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  73. {"asset": "USDT", "free": 13.44, "locked": 0, "update_time": 0}
  74. [New Thread 0x7fffd7e00640 (LWP 3346713)]
  75. get balance indicator 0x555555679188
  76. {"ok": "1"}
  77. [ 2025-01-08-14-23-51 ] MESSAGE: starts taker test!
  78. [ 2025-01-08-14-23-51 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  79. [ 2025-01-08-14-23-51 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  80. [ 2025-01-08-14-23-51 ] INFO : WebSocketEvent: , event_time=1736346231392", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 17825555988366687457, "order": {"symbol": "MCCUSDT", "coid": 142473834586088, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00009952, "quantity": 55265.270, "filled_quantity": 55265.270, "update_time": 0}}
  81. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505682048623632384049","c":"142473834586088","o":5,"p":"0.00010941","v":"0","S":1,"a":"5.5","m":0,"A":"0.0000003296","V":"0","lv":"55265.27","s":2,"O":1736346231376,"ap":"0.00009952","cv":"55265.27","ca":"5.4999996704"},"s":"MCCUSDT","t":1736346231392}
  82. order symbol: 0x55555585be18
  83. it->second.symbol 0x55555585be18
  84. $ tlm_USDT
  85. [ 2025-01-08-14-23-51 ] INFO : WebSocketEvent: , event_time=1736346231417", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473834586088, "commission": {"asset": "USDT", "fee": 0.00275}, "trade": {"symbol": "MCCUSDT", "price": 0.00009952, "quantity": 55265.27, "trade_side": BUY, "trade_time": 1736346231390}}
  86. $ tlm_MCC
  87. ^C
  88. Thread 1 "test" received signal SIGINT, Interrupt.
  89. 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc60, rem=0x7fffffffdc60) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  90. 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
  91. (gdb) q
  92. A debugging session is active.
  93.  
  94. Inferior 1 [process 3346663] will be killed.
  95.  
  96. Quit anyway? (y or n) y
  97. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build ..
  98. Consolidate compiler generated dependencies of target mfs
  99. [ 3%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o
  100. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::_try_send_closing_order(const mira::position_t&)’:
  101. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:442:69: warning: unused parameter ‘position’ [-Wunused-parameter]
  102. 442 | void position_controller::_try_send_closing_order(const position_t& position) {
  103. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  104. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::reset_position(mira::position_t&&)’:
  105. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:457:55: warning: unused parameter ‘position’ [-Wunused-parameter]
  106. 457 | void position_controller::reset_position(position_t&& position) {
  107. | ~~~~~~~~~~~~~^~~~~~~~
  108. ^Cgmake[2]: *** [CMakeFiles/mfs.dir/build.make:174: CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o] Interrupt
  109. gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/mfs.dir/all] Interrupt
  110. gmake: *** [Makefile:91: all] Interrupt
  111.  
  112. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build ..
  113. [ 3%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o
  114. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::_try_send_closing_order(const mira::position_t&)’:
  115. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:442:69: warning: unused parameter ‘position’ [-Wunused-parameter]
  116. 442 | void position_controller::_try_send_closing_order(const position_t& position) {
  117. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  118. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::reset_position(mira::position_t&&)’:
  119. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:457:55: warning: unused parameter ‘position’ [-Wunused-parameter]
  120. 457 | void position_controller::reset_position(position_t&& position) {
  121. | ~~~~~~~~~~~~~^~~~~~~~
  122. [ 6%] Linking CXX shared library libmfs.so
  123. [100%] Built target mfs
  124. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  125. Consolidate compiler generated dependencies of target test
  126. [ 12%] Linking CXX executable test
  127. [100%] Built target test
  128. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ gdb ./test
  129. GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
  130. Copyright (C) 2022 Free Software Foundation, Inc.
  131. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  132. This is free software: you are free to change and redistribute it.
  133. There is NO WARRANTY, to the extent permitted by law.
  134. Type "show copying" and "show warranty" for details.
  135. This GDB was configured as "x86_64-linux-gnu".
  136. Type "show configuration" for configuration details.
  137. For bug reporting instructions, please see:
  138. <https://www.gnu.org/software/gdb/bugs/>.
  139. Find the GDB manual and other documentation resources online at:
  140. <http://www.gnu.org/software/gdb/documentation/>.
  141.  
  142. For help, type "help".
  143. Type "apropos word" to search for commands related to "word"...
  144. Reading symbols from ./test...
  145. (gdb) run taker/launch.config
  146. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
  147. [Thread debugging using libthread_db enabled]
  148. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  149. [New Thread 0x7ffff6a00640 (LWP 3348271)]
  150. [New Thread 0x7ffff6600640 (LWP 3348272)]
  151. [New Thread 0x7ffff6200640 (LWP 3348273)]
  152. [New Thread 0x7ffff5e00640 (LWP 3348274)]
  153. [New Thread 0x7ffff5a00640 (LWP 3348275)]
  154. [New Thread 0x7ffff5600640 (LWP 3348276)]
  155. [New Thread 0x7ffff5200640 (LWP 3348277)]
  156. [New Thread 0x7ffff4e00640 (LWP 3348278)]
  157. [New Thread 0x7ffff4a00640 (LWP 3348279)]
  158. [New Thread 0x7ffff4600640 (LWP 3348280)]
  159. [New Thread 0x7fffefe00640 (LWP 3348281)]
  160. [New Thread 0x7fffefa00640 (LWP 3348282)]
  161. [New Thread 0x7fffef600640 (LWP 3348283)]
  162. [New Thread 0x7fffef200640 (LWP 3348284)]
  163. [New Thread 0x7fffeee00640 (LWP 3348285)]
  164. [New Thread 0x7fffeea00640 (LWP 3348286)]
  165. [New Thread 0x7fffee600640 (LWP 3348287)]
  166. [New Thread 0x7fffee200640 (LWP 3348288)]
  167. [New Thread 0x7fffede00640 (LWP 3348289)]
  168. [New Thread 0x7fffeda00640 (LWP 3348290)]
  169. [New Thread 0x7fffed600640 (LWP 3348291)]
  170. [New Thread 0x7fffed200640 (LWP 3348292)]
  171. [New Thread 0x7fffece00640 (LWP 3348293)]
  172. [New Thread 0x7fffeca00640 (LWP 3348294)]
  173. [New Thread 0x7fffec600640 (LWP 3348295)]
  174. [New Thread 0x7fffe3e00640 (LWP 3348296)]
  175. [New Thread 0x7fffe3a00640 (LWP 3348297)]
  176. [New Thread 0x7fffe3600640 (LWP 3348298)]
  177. [New Thread 0x7fffe3200640 (LWP 3348299)]
  178. [New Thread 0x7fffe2e00640 (LWP 3348300)]
  179. [New Thread 0x7fffe2a00640 (LWP 3348301)]
  180. [New Thread 0x7fffe2600640 (LWP 3348302)]
  181. add_parser: BINANCE_FUTURES
  182. add_parser: BITMART_SPOT
  183. add_parser: MEXC_SPOT
  184. /home/ubuntu/keys/mexc_spot/test_1.account
  185. shared_parser: MEXC_SPOT
  186. has: BINANCE_FUTURES
  187. has: BITMART_SPOT
  188. has: MEXC_SPOT
  189. [New Thread 0x7fffe2200640 (LWP 3348303)]
  190. run forever balance 0x5555556792b0
  191. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 581262, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.93724, "locked": 0, "update_time": 0}]}
  192. [New Thread 0x7fffe1e00640 (LWP 3348304)]
  193. Initializing orderbook
  194. [New Thread 0x7fffe1400640 (LWP 3348305)]
  195. [New Thread 0x7fffe1000640 (LWP 3348306)]
  196. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  197. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  198. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 581262, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.93724, "locked": 0, "update_time": 0}]}
  199. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  200. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  201. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  202. {"asset": "MCC", "free": 581262, "locked": 0, "update_time": 0}
  203. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  204. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  205. {"asset": "USDT", "free": 7.93724, "locked": 0, "update_time": 0}
  206. [New Thread 0x7fffd7e00640 (LWP 3348307)]
  207. get balance indicator 0x5555556793d8
  208. {"ok": "1"}
  209. [ 2025-01-08-14-31-17 ] MESSAGE: starts taker test!
  210. [ 2025-01-08-14-31-17 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  211. [ 2025-01-08-14-31-17 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  212. $ tlm_USDT
  213. [ 2025-01-08-14-31-17 ] INFO : WebSocketEvent: , event_time=1736346677913", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473835032656, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00009952, "quantity": 55265.270, "filled_quantity": 55265.270, "update_time": 0}}
  214. [ 2025-01-08-14-31-17 ] INFO : WebSocketEvent: , event_time=1736346677935", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473835032656, "commission": {"asset": "USDT", "fee": 0.00275}, "trade": {"symbol": "MCCUSDT", "price": 0.00009952, "quantity": 55265.27, "trade_side": BUY, "trade_time": 1736346677911}}
  215. $ tlm_MCC
  216. ^C
  217. Thread 1 "test" received signal SIGINT, Interrupt.
  218. 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc60, rem=0x7fffffffdc60) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  219. 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
  220. (gdb) q
  221. A debugging session is active.
  222.  
  223. Inferior 1 [process 3348268] will be killed.
  224.  
  225. Quit anyway? (y or n) y
  226. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ gdb ./test
  227. GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
  228. Copyright (C) 2022 Free Software Foundation, Inc.
  229. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  230. This is free software: you are free to change and redistribute it.
  231. There is NO WARRANTY, to the extent permitted by law.
  232. Type "show copying" and "show warranty" for details.
  233. This GDB was configured as "x86_64-linux-gnu".
  234. Type "show configuration" for configuration details.
  235. For bug reporting instructions, please see:
  236. <https://www.gnu.org/software/gdb/bugs/>.
  237. Find the GDB manual and other documentation resources online at:
  238. <http://www.gnu.org/software/gdb/documentation/>.
  239.  
  240. For help, type "help".
  241. Type "apropos word" to search for commands related to "word"...
  242. Reading symbols from ./test...
  243. (gdb) run taker/launch.config
  244. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
  245. [Thread debugging using libthread_db enabled]
  246. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  247. [New Thread 0x7ffff6a00640 (LWP 3348674)]
  248. [New Thread 0x7ffff6600640 (LWP 3348675)]
  249. [New Thread 0x7ffff6200640 (LWP 3348676)]
  250. [New Thread 0x7ffff5e00640 (LWP 3348677)]
  251. [New Thread 0x7ffff5a00640 (LWP 3348678)]
  252. [New Thread 0x7ffff5600640 (LWP 3348679)]
  253. [New Thread 0x7ffff5200640 (LWP 3348680)]
  254. [New Thread 0x7ffff4e00640 (LWP 3348681)]
  255. [New Thread 0x7ffff4a00640 (LWP 3348682)]
  256. [New Thread 0x7ffff4600640 (LWP 3348683)]
  257. [New Thread 0x7fffefe00640 (LWP 3348684)]
  258. [New Thread 0x7fffefa00640 (LWP 3348685)]
  259. [New Thread 0x7fffef600640 (LWP 3348686)]
  260. [New Thread 0x7fffef200640 (LWP 3348687)]
  261. [New Thread 0x7fffeee00640 (LWP 3348688)]
  262. [New Thread 0x7fffeea00640 (LWP 3348689)]
  263. [New Thread 0x7fffee600640 (LWP 3348690)]
  264. [New Thread 0x7fffee200640 (LWP 3348691)]
  265. [New Thread 0x7fffede00640 (LWP 3348692)]
  266. [New Thread 0x7fffeda00640 (LWP 3348693)]
  267. [New Thread 0x7fffed600640 (LWP 3348694)]
  268. [New Thread 0x7fffed200640 (LWP 3348695)]
  269. [New Thread 0x7fffece00640 (LWP 3348696)]
  270. [New Thread 0x7fffeca00640 (LWP 3348697)]
  271. [New Thread 0x7fffec600640 (LWP 3348698)]
  272. [New Thread 0x7fffe3e00640 (LWP 3348699)]
  273. [New Thread 0x7fffe3a00640 (LWP 3348700)]
  274. [New Thread 0x7fffe3600640 (LWP 3348701)]
  275. [New Thread 0x7fffe3200640 (LWP 3348702)]
  276. [New Thread 0x7fffe2e00640 (LWP 3348703)]
  277. [New Thread 0x7fffe2a00640 (LWP 3348704)]
  278. [New Thread 0x7fffe2600640 (LWP 3348705)]
  279. add_parser: BINANCE_FUTURES
  280. add_parser: BITMART_SPOT
  281. add_parser: MEXC_SPOT
  282. /home/ubuntu/keys/mexc_spot/test_1.account
  283. shared_parser: MEXC_SPOT
  284. has: BINANCE_FUTURES
  285. has: BITMART_SPOT
  286. has: MEXC_SPOT
  287. [New Thread 0x7fffe2200640 (LWP 3348706)]
  288. run forever balance 0x555555678c60
  289. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  290. [New Thread 0x7fffe1e00640 (LWP 3348707)]
  291. Initializing orderbook
  292. [New Thread 0x7fffe1400640 (LWP 3348708)]
  293. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  294. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  295. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  296. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  297. {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}
  298. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  299. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  300. {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}
  301. [New Thread 0x7fffe1000640 (LWP 3348709)]
  302. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  303. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  304. [New Thread 0x7fffd7e00640 (LWP 3348710)]
  305. get balance indicator 0x555555678d88
  306. {"ok": "1"}
  307. [ 2025-01-08-14-32-28 ] MESSAGE: starts taker test!
  308. [ 2025-01-08-14-32-28 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 56549.5
  309. [ 2025-01-08-14-32-28 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 56549.5
  310. {"code": "400", "msg": " quantity scale is invalid"}
  311. ^C
  312. Thread 1 "test" received signal SIGINT, Interrupt.
  313. 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc60, rem=0x7fffffffdc60) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  314. 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
  315. (gdb) q
  316. A debugging session is active.
  317.  
  318. Inferior 1 [process 3348650] will be killed.
  319.  
  320. Quit anyway? (y or n) y
  321. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build ..
  322. Consolidate compiler generated dependencies of target mfs
  323. [ 3%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/execution.cpp.o
  324. [ 6%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o
  325. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::_try_send_closing_order(const mira::position_t&)’:
  326. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:443:69: warning: unused parameter ‘position’ [-Wunused-parameter]
  327. 443 | void position_controller::_try_send_closing_order(const position_t& position) {
  328. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  329. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::reset_position(mira::position_t&&)’:
  330. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:458:55: warning: unused parameter ‘position’ [-Wunused-parameter]
  331. 458 | void position_controller::reset_position(position_t&& position) {
  332. | ~~~~~~~~~~~~~^~~~~~~~
  333. [ 10%] Linking CXX shared library libmfs.so
  334. [100%] Built target mfs
  335. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build ..
  336. Consolidate compiler generated dependencies of target mfs
  337. [ 3%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o
  338. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::_try_send_closing_order(const mira::position_t&)’:
  339. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:444:69: warning: unused parameter ‘position’ [-Wunused-parameter]
  340. 444 | void position_controller::_try_send_closing_order(const position_t& position) {
  341. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  342. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::reset_position(mira::position_t&&)’:
  343. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:459:55: warning: unused parameter ‘position’ [-Wunused-parameter]
  344. 459 | void position_controller::reset_position(position_t&& position) {
  345. | ~~~~~~~~~~~~~^~~~~~~~
  346. [ 6%] Linking CXX shared library libmfs.so
  347. [100%] Built target mfs
  348. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  349. [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
  350. [ 25%] Linking CXX executable test
  351. [100%] Built target test
  352. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  353. add_parser: BINANCE_FUTURES
  354. add_parser: BITMART_SPOT
  355. add_parser: MEXC_SPOT
  356. /home/ubuntu/keys/mexc_spot/test_1.account
  357. shared_parser: MEXC_SPOT
  358. has: BINANCE_FUTURES
  359. has: BITMART_SPOT
  360. has: MEXC_SPOT
  361. run forever balance 0x5ebca7c0c250
  362. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  363. Initializing orderbook
  364. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  365. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  366. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  367. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  368. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  369. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  370. {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}
  371. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  372. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  373. {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}
  374. get balance indicator 0x5ebca7c0c378
  375. {"ok": "1"}
  376. [ 2025-01-08-14-44-20 ] MESSAGE: starts taker test!
  377. [ 2025-01-08-14-44-20 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 56607.7
  378. [ 2025-01-08-14-44-20 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 56607.7
  379. {"code": "400", "msg": " quantity scale is invalid"}
  380. ^C
  381. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  382. Consolidate compiler generated dependencies of target test
  383. [100%] Built target test
  384. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ gdb ./test
  385. GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
  386. Copyright (C) 2022 Free Software Foundation, Inc.
  387. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  388. This is free software: you are free to change and redistribute it.
  389. There is NO WARRANTY, to the extent permitted by law.
  390. Type "show copying" and "show warranty" for details.
  391. This GDB was configured as "x86_64-linux-gnu".
  392. Type "show configuration" for configuration details.
  393. For bug reporting instructions, please see:
  394. <https://www.gnu.org/software/gdb/bugs/>.
  395. Find the GDB manual and other documentation resources online at:
  396. <http://www.gnu.org/software/gdb/documentation/>.
  397.  
  398. For help, type "help".
  399. Type "apropos word" to search for commands related to "word"...
  400. Reading symbols from ./test...
  401. (gdb) run taker/launch.config
  402. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
  403. [Thread debugging using libthread_db enabled]
  404. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  405. [New Thread 0x7ffff6a00640 (LWP 3350087)]
  406. [New Thread 0x7ffff6600640 (LWP 3350088)]
  407. [New Thread 0x7ffff6200640 (LWP 3350089)]
  408. [New Thread 0x7ffff5e00640 (LWP 3350090)]
  409. [New Thread 0x7ffff5a00640 (LWP 3350091)]
  410. [New Thread 0x7ffff5600640 (LWP 3350092)]
  411. [New Thread 0x7ffff5200640 (LWP 3350093)]
  412. [New Thread 0x7ffff4e00640 (LWP 3350094)]
  413. [New Thread 0x7ffff4a00640 (LWP 3350096)]
  414. [New Thread 0x7ffff4600640 (LWP 3350097)]
  415. [New Thread 0x7fffefe00640 (LWP 3350098)]
  416. [New Thread 0x7fffefa00640 (LWP 3350099)]
  417. [New Thread 0x7fffef600640 (LWP 3350100)]
  418. [New Thread 0x7fffef200640 (LWP 3350101)]
  419. [New Thread 0x7fffeee00640 (LWP 3350103)]
  420. [New Thread 0x7fffeea00640 (LWP 3350104)]
  421. [New Thread 0x7fffee600640 (LWP 3350105)]
  422. [New Thread 0x7fffee200640 (LWP 3350106)]
  423. [New Thread 0x7fffede00640 (LWP 3350107)]
  424. [New Thread 0x7fffeda00640 (LWP 3350108)]
  425. [New Thread 0x7fffed600640 (LWP 3350109)]
  426. [New Thread 0x7fffed200640 (LWP 3350110)]
  427. [New Thread 0x7fffece00640 (LWP 3350111)]
  428. [New Thread 0x7fffeca00640 (LWP 3350112)]
  429. [New Thread 0x7fffec600640 (LWP 3350113)]
  430. [New Thread 0x7fffe3e00640 (LWP 3350114)]
  431. [New Thread 0x7fffe3a00640 (LWP 3350115)]
  432. [New Thread 0x7fffe3600640 (LWP 3350116)]
  433. [New Thread 0x7fffe3200640 (LWP 3350117)]
  434. [New Thread 0x7fffe2e00640 (LWP 3350118)]
  435. [New Thread 0x7fffe2a00640 (LWP 3350119)]
  436. [New Thread 0x7fffe2600640 (LWP 3350120)]
  437. add_parser: BINANCE_FUTURES
  438. add_parser: BITMART_SPOT
  439. add_parser: MEXC_SPOT
  440. /home/ubuntu/keys/mexc_spot/test_1.account
  441. shared_parser: MEXC_SPOT
  442. has: BINANCE_FUTURES
  443. has: BITMART_SPOT
  444. has: MEXC_SPOT
  445. [New Thread 0x7fffe2200640 (LWP 3350121)]
  446. run forever balance 0x5555556792f0
  447. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  448. [New Thread 0x7fffe1e00640 (LWP 3350129)]
  449. Initializing orderbook
  450. [New Thread 0x7fffe1400640 (LWP 3350130)]
  451. [New Thread 0x7fffe1000640 (LWP 3350131)]
  452. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  453. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  454. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  455. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  456. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  457. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  458. {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}
  459. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  460. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  461. {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}
  462. [New Thread 0x7fffd7e00640 (LWP 3350132)]
  463. get balance indicator 0x555555679418
  464. {"ok": "1"}
  465. [ 2025-01-08-14-44-46 ] MESSAGE: starts taker test!
  466. [ 2025-01-08-14-44-46 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54117.9
  467. [ 2025-01-08-14-44-46 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54117.9
  468. {"code": "400", "msg": " quantity scale is invalid"}
  469. ^C
  470. Thread 1 "test" received signal SIGINT, Interrupt.
  471. 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc60, rem=0x7fffffffdc60) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  472. 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
  473. (gdb) q
  474. A debugging session is active.
  475.  
  476. Inferior 1 [process 3350081] will be killed.
  477.  
  478. Quit anyway? (y or n) y
  479. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build ..
  480. Consolidate compiler generated dependencies of target mfs
  481. [ 3%] Building CXX object CMakeFiles/mfs.dir/home/ubuntu/_conn/connector_debug/execution/src/types.cpp.o
  482. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::_try_send_closing_order(const mira::position_t&)’:
  483. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:444:69: warning: unused parameter ‘position’ [-Wunused-parameter]
  484. 444 | void position_controller::_try_send_closing_order(const position_t& position) {
  485. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  486. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp: In member function ‘void mira::position_controller::reset_position(mira::position_t&&)’:
  487. /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:459:55: warning: unused parameter ‘position’ [-Wunused-parameter]
  488. 459 | void position_controller::reset_position(position_t&& position) {
  489. | ~~~~~~~~~~~~~^~~~~~~~
  490. [ 6%] Linking CXX shared library libmfs.so
  491. [100%] Built target mfs
  492. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  493. [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
  494. [ 25%] Linking CXX executable test
  495. [100%] Built target test
  496. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  497. add_parser: BINANCE_FUTURES
  498. add_parser: BITMART_SPOT
  499. add_parser: MEXC_SPOT
  500. /home/ubuntu/keys/mexc_spot/test_1.account
  501. shared_parser: MEXC_SPOT
  502. has: BINANCE_FUTURES
  503. has: BITMART_SPOT
  504. has: MEXC_SPOT
  505. run forever balance 0x60038110e2d0
  506. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  507. Initializing orderbook
  508. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  509. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  510. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  511. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  512. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  513. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  514. {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}
  515. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  516. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  517. {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}
  518. get balance indicator 0x60038110e3f8
  519. {"ok": "1"}
  520. [ 2025-01-08-14-47-01 ] MESSAGE: starts taker test!
  521. [ 2025-01-08-14-47-01 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54048.7
  522. [ 2025-01-08-14-47-01 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54048.7
  523. req.quantity: 54048.742
  524. new order request["quantity"]: 54048.742
  525. {"code": "400", "msg": " quantity scale is invalid"}
  526. ^C
  527. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  528. Consolidate compiler generated dependencies of target test
  529. [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
  530. [ 25%] Linking CXX executable test
  531. [100%] Built target test
  532. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  533. add_parser: BINANCE_FUTURES
  534. add_parser: BITMART_SPOT
  535. add_parser: MEXC_SPOT
  536. /home/ubuntu/keys/mexc_spot/test_1.account
  537. shared_parser: MEXC_SPOT
  538. has: BINANCE_FUTURES
  539. has: BITMART_SPOT
  540. has: MEXC_SPOT
  541. run forever balance 0x58e8d3ea2250
  542. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  543. Initializing orderbook
  544. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  545. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  546. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}]}
  547. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  548. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  549. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  550. {"asset": "MCC", "free": 636528, "locked": 0, "update_time": 0}
  551. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  552. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  553. {"asset": "USDT", "free": 2.43449, "locked": 0, "update_time": 0}
  554. get balance indicator 0x58e8d3ea2378
  555. {"ok": "1"}
  556. [ 2025-01-08-14-49-53 ] MESSAGE: starts taker test!
  557. [ 2025-01-08-14-49-53 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54950.5
  558. [ 2025-01-08-14-49-53 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 54950.5
  559. req.quantity: 54950.54
  560. new order request["quantity"]: 54950.54
  561. $ tlm_MCC
  562. [ 2025-01-08-14-49-53 ] INFO : WebSocketEvent: , event_time=1736347793369", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836148187, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00010009, "quantity": 54950.54, "filled_quantity": 54950.54, "update_time": 0}}
  563. [ 2025-01-08-14-49-53 ] INFO : WebSocketEvent: , event_time=1736347793396", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836148187, "commission": {"asset": "USDT", "fee": 0.00275}, "trade": {"symbol": "MCCUSDT", "price": 0.00010009, "quantity": 54950.54, "trade_side": SELL, "trade_time": 1736347793367}}
  564. $ tlm_USDT
  565. ^C
  566. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  567. add_parser: BINANCE_FUTURES
  568. add_parser: BITMART_SPOT
  569. add_parser: MEXC_SPOT
  570. /home/ubuntu/keys/mexc_spot/test_1.account
  571. shared_parser: MEXC_SPOT
  572. has: BINANCE_FUTURES
  573. has: BITMART_SPOT
  574. has: MEXC_SPOT
  575. run forever balance 0x598d8fb93140
  576. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 581577, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.93174, "locked": 0, "update_time": 0}]}
  577. Initializing orderbook
  578. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 581577, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.93174, "locked": 0, "update_time": 0}]}
  579. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  580. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  581. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  582. {"asset": "MCC", "free": 581577, "locked": 0, "update_time": 0}
  583. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  584. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  585. {"asset": "USDT", "free": 7.93174, "locked": 0, "update_time": 0}
  586. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  587. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  588. get balance indicator 0x598d8fb93268
  589. {"ok": "1"}
  590. [ 2025-01-08-14-50-31 ] MESSAGE: starts taker test!
  591. [ 2025-01-08-14-50-31 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  592. [ 2025-01-08-14-50-31 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  593. req.amount: 5.5
  594. $ tlm_USDT
  595. [ 2025-01-08-14-50-31 ] INFO : WebSocketEvent: , event_time=1736347831887", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836187012, "order_id": "", "type": "MARKET", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.00010639, "quantity": 36536.59, "filled_quantity": 36536.59, "update_time": 0}}
  596. [ 2025-01-08-14-50-31 ] INFO : WebSocketEvent: , event_time=1736347831887", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 12160274498317030541, "order": {"symbol": "MCCUSDT", "coid": 142473836187012, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00010726, "quantity": 51275.43, "filled_quantity": 14738.84, "update_time": 0}}
  597. [ 2025-01-08-14-50-31 ] INFO : WebSocketEvent: , event_time=1736347831907", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836187012, "commission": {"asset": "USDT", "fee": 0.00194356}, "trade": {"symbol": "MCCUSDT", "price": 0.00010639, "quantity": 36536.59, "trade_side": BUY, "trade_time": 1736347831886}}
  598. [ 2025-01-08-14-50-31 ] INFO : WebSocketEvent: , event_time=1736347831908", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 12160274498317030541, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836187012, "commission": {"asset": "USDT", "fee": 0.000806436}, "trade": {"symbol": "MCCUSDT", "price": 0.00010943, "quantity": 14738.84, "trade_side": BUY, "trade_time": 1736347831886}}
  599. $ tlm_MCC
  600. ^C
  601. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  602. add_parser: BINANCE_FUTURES
  603. add_parser: BITMART_SPOT
  604. add_parser: MEXC_SPOT
  605. /home/ubuntu/keys/mexc_spot/test_1.account
  606. shared_parser: MEXC_SPOT
  607. has: BINANCE_FUTURES
  608. has: BITMART_SPOT
  609. has: MEXC_SPOT
  610. run forever balance 0x5737d8e12090
  611. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 632853, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.42899, "locked": 0, "update_time": 0}]}
  612. Initializing orderbook
  613. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 632853, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 2.42899, "locked": 0, "update_time": 0}]}
  614. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  615. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  616. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  617. {"asset": "MCC", "free": 632853, "locked": 0, "update_time": 0}
  618. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  619. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  620. {"asset": "USDT", "free": 2.42899, "locked": 0, "update_time": 0}
  621. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  622. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  623. get balance indicator 0x5737d8e121b8
  624. {"ok": "1"}
  625. [ 2025-01-08-15-00-55 ] MESSAGE: starts taker test!
  626. [ 2025-01-08-15-00-55 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 52075.9
  627. [ 2025-01-08-15-00-55 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 52075.9
  628. req.quantity: 52075.93
  629. new order request["quantity"]: 52075.93
  630. $ tlm_MCC
  631. [ 2025-01-08-15-00-55 ] INFO : WebSocketEvent: , event_time=1736348455355", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836810567, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00010694, "quantity": 52075.93, "filled_quantity": 52075.93, "update_time": 0}}
  632. [ 2025-01-08-15-00-55 ] INFO : WebSocketEvent: , event_time=1736348455372", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836810567, "commission": {"asset": "USDT", "fee": 0.0027845}, "trade": {"symbol": "MCCUSDT", "price": 0.00010694, "quantity": 52075.93, "trade_side": SELL, "trade_time": 1736348455353}}
  633. $ tlm_USDT
  634. ^C
  635. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  636. Consolidate compiler generated dependencies of target test
  637. [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
  638. [ 25%] Linking CXX executable test
  639. [100%] Built target test
  640. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  641. add_parser: BINANCE_FUTURES
  642. add_parser: BITMART_SPOT
  643. add_parser: MEXC_SPOT
  644. /home/ubuntu/keys/mexc_spot/test_1.account
  645. shared_parser: MEXC_SPOT
  646. has: BINANCE_FUTURES
  647. has: BITMART_SPOT
  648. has: MEXC_SPOT
  649. run forever balance 0x5cbb6b408330
  650. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 580777, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.99521, "locked": 0, "update_time": 0}]}
  651. Initializing orderbook
  652. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 580777, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.99521, "locked": 0, "update_time": 0}]}
  653. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  654. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  655. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  656. {"asset": "MCC", "free": 580777, "locked": 0, "update_time": 0}
  657. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  658. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  659. {"asset": "USDT", "free": 7.99521, "locked": 0, "update_time": 0}
  660. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  661. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  662. get balance indicator 0x5cbb6b408458
  663. {"ok": "1"}
  664. [ 2025-01-08-15-01-21 ] MESSAGE: starts taker test!
  665. [ 2025-01-08-15-01-21 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 52075.9
  666. [ 2025-01-08-15-01-21 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 52075.9
  667. req.quantity: 52075.93
  668. new order request["quantity"]: 52075.93
  669. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736348481357,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"528700.66","fd":"-52075.93","l":"52075.93","ld":"52075.93","o":"ENTRUST_PLACE"},"t":1736348481376}
  670. $ tlm_MCC
  671. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505691485719535616049","c":"142473836836551","o":5,"p":"0.00009863","v":"52075.93","S":2,"a":"0","m":0,"A":"0","V":"0","lv":"52075.93","s":2,"O":1736348481355,"ap":"0.00010694","cv":"52075.93","ca":"5.5689999542"},"s":"MCCUSDT","t":1736348481381}
  672. [ 2025-01-08-15-01-21 ] INFO : WebSocketEvent: , event_time=1736348481381", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836836551, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00010694, "quantity": 52075.93, "filled_quantity": 52075.93, "update_time": 0}}
  673. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00010694","v":"52075.93","a":"5.5689999542","S":2,"m":0,"st":0,"t":"505691485719535616X1","c":"142473836836551","i":"C02__505691485719535616049","n":"0.0027844999771","N":"USDT","T":1736348481379},"s":"MCCUSDT","t":1736348481403}
  674. [ 2025-01-08-15-01-21 ] INFO : WebSocketEvent: , event_time=1736348481403", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 10387259097884054666, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836836551, "commission": {"asset": "USDT", "fee": 0.0027845}, "trade": {"symbol": "MCCUSDT", "price": 0.00010694, "quantity": 52075.93, "trade_side": SELL, "trade_time": 1736348481379}}
  675. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736348481402,"cd":"128f589271cb4951b03e71e6323eb7be","f":"13.56142585469155","fd":"5.5662154542229","l":"0","ld":"0","o":"ENTRUST"},"t":1736348481405}
  676. $ tlm_USDT
  677. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736348481402,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"528700.66","fd":"0","l":"0","ld":"-52075.93","o":"ENTRUST"},"t":1736348481405}
  678. ^C
  679. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  680. add_parser: BINANCE_FUTURES
  681. add_parser: BITMART_SPOT
  682. add_parser: MEXC_SPOT
  683. /home/ubuntu/keys/mexc_spot/test_1.account
  684. shared_parser: MEXC_SPOT
  685. has: BINANCE_FUTURES
  686. has: BITMART_SPOT
  687. has: MEXC_SPOT
  688. run forever balance 0x5a6a41fdd250
  689. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 528701, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 13.5614, "locked": 0, "update_time": 0}]}
  690. Initializing orderbook
  691. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  692. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  693. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 528701, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 13.5614, "locked": 0, "update_time": 0}]}
  694. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  695. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  696. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  697. {"asset": "MCC", "free": 528701, "locked": 0, "update_time": 0}
  698. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  699. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  700. {"asset": "USDT", "free": 13.5614, "locked": 0, "update_time": 0}
  701. get balance indicator 0x5a6a41fdd378
  702. {"ok": "1"}
  703. [ 2025-01-08-15-01-50 ] MESSAGE: starts taker test!
  704. [ 2025-01-08-15-01-50 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.569
  705. [ 2025-01-08-15-01-50 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.569
  706. req.amount: 5.569
  707. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736348510854,"cd":"128f589271cb4951b03e71e6323eb7be","f":"7.98964135469155","fd":"-5.5717845","l":"5.5717845","ld":"5.5717845","o":"ENTRUST_PLACE"},"t":1736348510865}
  708. $ tlm_USDT
  709. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505691609438932992049","c":"142473836865610","o":5,"p":"0.00011763","v":"0","S":1,"a":"5.569","m":0,"A":"0.0000001008","V":"0","lv":"51298.82","s":2,"O":1736348510852,"ap":"0.00010856","cv":"51298.82","ca":"5.5689998992"},"s":"MCCUSDT","t":1736348510868}
  710. [ 2025-01-08-15-01-50 ] INFO : WebSocketEvent: , event_time=1736348510868", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836865610, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00010856, "quantity": 51298.82, "filled_quantity": 51298.82, "update_time": 0}}
  711. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00010856","v":"51298.82","a":"5.5689998992","S":1,"m":0,"st":0,"t":"505691609438932992X1","c":"142473836865610","i":"C02__505691609438932992049","n":"0.0027844999496","N":"USDT","T":1736348510866},"s":"MCCUSDT","t":1736348510889}
  712. [ 2025-01-08-15-01-50 ] INFO : WebSocketEvent: , event_time=1736348510889", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836865610, "commission": {"asset": "USDT", "fee": 0.0027845}, "trade": {"symbol": "MCCUSDT", "price": 0.00010856, "quantity": 51298.82, "trade_side": BUY, "trade_time": 1736348510866}}
  713. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736348510887,"cd":"128f589271cb4951b03e71e6323eb7be","f":"7.98964145554195","fd":"0.0000001008504","l":"0","ld":"-5.5717845","o":"ENTRUST"},"t":1736348510890}
  714. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736348510887,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"579999.48","fd":"51298.82","l":"0","ld":"0","o":"ENTRUST"},"t":1736348510890}
  715. $ tlm_MCC
  716. ^C
  717. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test taker/launch.config
  718. add_parser: BINANCE_FUTURES
  719. add_parser: BITMART_SPOT
  720. add_parser: MEXC_SPOT
  721. /home/ubuntu/keys/mexc_spot/test_1.account
  722. shared_parser: MEXC_SPOT
  723. has: BINANCE_FUTURES
  724. has: BITMART_SPOT
  725. has: MEXC_SPOT
  726. run forever balance 0x61d09f0513c0
  727. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 579999, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.98964, "locked": 0, "update_time": 0}]}
  728. Initializing orderbook
  729. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 579999, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 7.98964, "locked": 0, "update_time": 0}]}
  730. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  731. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  732. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  733. {"asset": "MCC", "free": 579999, "locked": 0, "update_time": 0}
  734. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  735. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  736. {"asset": "USDT", "free": 7.98964, "locked": 0, "update_time": 0}
  737. {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  738. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
  739. get balance indicator 0x61d09f0514e8
  740. {"ok": "1"}
  741. [ 2025-01-08-15-03-12 ] MESSAGE: starts taker test!
  742. [ 2025-01-08-15-03-12 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 99910.1
  743. [ 2025-01-08-15-03-12 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 99910.1
  744. req.quantity: 99910.08
  745. new order request["quantity"]: 99910.08
  746. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505691953376010242049","c":"142473836948029","o":5,"p":"0.00009302","v":"99910.08","S":2,"a":"0","m":0,"A":"0","V":"11231.1","lv":"88678.98","s":3,"O":1736348592853,"ap":"0.00010009","cv":"88678.98","ca":"8.8758791082"},"s":"MCCUSDT","t":1736348592872}
  747. [ 2025-01-08-15-03-12 ] INFO : WebSocketEvent: , event_time=1736348592872", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473836948029, "order_id": "", "type": "MARKET", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.00010009, "quantity": 88678.98, "filled_quantity": 88678.98, "update_time": 0}}
  748. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505691953376010242049","c":"142473836948029","o":5,"p":"0.00009302","v":"99910.08","S":2,"a":"0","m":0,"A":"0","V":"0","lv":"11231.1","s":2,"O":1736348592853,"ap":"0.000099725784857744","cv":"99910.08","ca":"9.9636111432"},"s":"MCCUSDT","t":1736348592872}
  749. [ 2025-01-08-15-03-12 ] INFO : WebSocketEvent: , event_time=1736348592872", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 124029044255392, "order": {"symbol": "MCCUSDT", "coid": 142473836948029, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00009973, "quantity": 99910.08, "filled_quantity": 11231.10, "update_time": 0}}
  750. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736348592856,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"480089.4","fd":"-99910.08","l":"99910.08","ld":"99910.08","o":"ENTRUST_PLACE"},"t":1736348592873}
  751. $ tlm_MCC
  752. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00010009","v":"88678.98","a":"8.8758791082","S":2,"m":0,"st":0,"t":"505691953376010242X1","c":"142473836948029","i":"C02__505691953376010242049","n":"0.0044379395541","N":"USDT","T":1736348592870},"s":"MCCUSDT","t":1736348592893}
  753. [ 2025-01-08-15-03-12 ] INFO : WebSocketEvent: , event_time=1736348592893", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 3060686412653237239, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836948029, "commission": {"asset": "USDT", "fee": 0.00443794}, "trade": {"symbol": "MCCUSDT", "price": 0.00010009, "quantity": 88678.98, "trade_side": SELL, "trade_time": 1736348592870}}
  754. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00009685","v":"11231.1","a":"1.087732035","S":2,"m":0,"st":0,"t":"505691953376010242X2","c":"142473836948029","i":"C02__505691953376010242049","n":"0.0005438660175","N":"USDT","T":1736348592870},"s":"MCCUSDT","t":1736348592894}
  755. [ 2025-01-08-15-03-12 ] INFO : WebSocketEvent: , event_time=1736348592894", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 3060686412653237239, "is_maker": false, "is_self_trade": false, "client_order_id": 142473836948029, "commission": {"asset": "USDT", "fee": 0.000543866}, "trade": {"symbol": "MCCUSDT", "price": 0.00009685, "quantity": 11231.10, "trade_side": SELL, "trade_time": 1736348592870}}
  756. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736348592892,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"480089.4","fd":"0","l":"0","ld":"-99910.08","o":"ENTRUST"},"t":1736348592896}
  757. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736348592892,"cd":"128f589271cb4951b03e71e6323eb7be","f":"17.94827079317035","fd":"9.9586293376284","l":"0","ld":"0","o":"ENTRUST"},"t":1736348592896}
  758. $ tlm_USDT
  759. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736348592892,"cd":"128f589271cb4951b03e71e6323eb7be","f":"19.03545896215285","fd":"9.9586293376284","l":"0","ld":"0","o":"ENTRUST"},"t":1736348592896}
  760. ^C
  761. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement