Advertisement
den4ik2003

Untitled

Jan 9th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.92 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ 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/launch.config
  19. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test volume/launch.config
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  22. [New Thread 0x7ffff6a00640 (LWP 3448388)]
  23. [New Thread 0x7ffff6600640 (LWP 3448389)]
  24. [New Thread 0x7ffff6200640 (LWP 3448390)]
  25. [New Thread 0x7ffff5e00640 (LWP 3448391)]
  26. [New Thread 0x7ffff5a00640 (LWP 3448392)]
  27. [New Thread 0x7ffff5600640 (LWP 3448393)]
  28. [New Thread 0x7ffff5200640 (LWP 3448394)]
  29. [New Thread 0x7ffff4e00640 (LWP 3448395)]
  30. [New Thread 0x7ffff4a00640 (LWP 3448396)]
  31. [New Thread 0x7ffff4600640 (LWP 3448397)]
  32. [New Thread 0x7fffefe00640 (LWP 3448398)]
  33. [New Thread 0x7fffefa00640 (LWP 3448399)]
  34. [New Thread 0x7fffef600640 (LWP 3448400)]
  35. [New Thread 0x7fffef200640 (LWP 3448401)]
  36. [New Thread 0x7fffeee00640 (LWP 3448402)]
  37. [New Thread 0x7fffeea00640 (LWP 3448403)]
  38. [New Thread 0x7fffee600640 (LWP 3448404)]
  39. [New Thread 0x7fffee200640 (LWP 3448405)]
  40. [New Thread 0x7fffede00640 (LWP 3448406)]
  41. [New Thread 0x7fffeda00640 (LWP 3448407)]
  42. [New Thread 0x7fffed600640 (LWP 3448408)]
  43. [New Thread 0x7fffed200640 (LWP 3448409)]
  44. [New Thread 0x7fffece00640 (LWP 3448410)]
  45. [New Thread 0x7fffeca00640 (LWP 3448411)]
  46. [New Thread 0x7fffec600640 (LWP 3448412)]
  47. [New Thread 0x7fffe3e00640 (LWP 3448413)]
  48. [New Thread 0x7fffe3a00640 (LWP 3448414)]
  49. [New Thread 0x7fffe3600640 (LWP 3448415)]
  50. [New Thread 0x7fffe3200640 (LWP 3448416)]
  51. [New Thread 0x7fffe2e00640 (LWP 3448417)]
  52. [New Thread 0x7fffe2a00640 (LWP 3448418)]
  53. [New Thread 0x7fffe2600640 (LWP 3448419)]
  54. add_parser: BINANCE_FUTURES
  55. add_parser: BITMART_SPOT
  56. add_parser: MEXC_SPOT
  57. /home/ubuntu/keys/mexc_spot/test_1.account
  58. shared_parser: MEXC_SPOT
  59. has: BINANCE_FUTURES
  60. has: BITMART_SPOT
  61. has: MEXC_SPOT
  62. [New Thread 0x7fffe2200640 (LWP 3448420)]
  63. run forever balance 0x555555679370
  64. {"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": 435276, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 32.4865, "locked": 0, "update_time": 0}]}
  65. [New Thread 0x7fffe1e00640 (LWP 3448424)]
  66. Initializing orderbook
  67. [New Thread 0x7fffe1400640 (LWP 3448425)]
  68. {"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": 435276, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 32.4865, "locked": 0, "update_time": 0}]}
  69. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  70. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  71. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  72. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  73. {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  74. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  75. {"asset": "USDT", "free": 32.4865, "locked": 0, "update_time": 0}
  76. [New Thread 0x7fffe1000640 (LWP 3448426)]
  77. {"symbol": "LOTTUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  78. cooldown: 15000
  79. sleep time: 15000
  80. binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
  81. /mnt/volume_telemetry/LOTT_USDT_mexc_spot
  82. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "LOTTUSDT"}]}
  83. [New Thread 0x7fffd7e00640 (LWP 3448427)]
  84. get balance indicator 0x555555679498
  85. {"ok": "1"}
  86. {"ok": "1"}
  87. [ 2025-01-09-13-30-03 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  88. [ 2025-01-09-13-30-03 ] DEBUG quote balance: {"asset": "USDT", "free": 32.4865, "locked": 0, "update_time": 0}
  89. current_volume_5m: 197.322
  90. btc_turnover_1d: 2.38711e+10
  91. price_max: 93676.6
  92. price_min: 92815.9
  93. sleep_time: 11965
  94. current_volume: 7.86985
  95. btc_klines_5m[btc_klines_5m.size() - 1].close: 92820.3
  96. norm_price_coeff: 0.00511212
  97. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 2.19821e-07
  98. (best_book.bid_price + step_size / 2): 0.0061405
  99. current_price: 0.00614072
  100. max_trade_available_quantity: 5127.49
  101. calculated_current_volume: 5.99208
  102. current_quantity: 975.794
  103. price/quantity: 0.00614072/975.794
  104. [ 2025-01-09-13-30-03 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  105. [ 2025-01-09-13-30-03 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  106. ask: 0.006184
  107. bid: 0.006140
  108. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429403080,"cd":"128f589271cb4951b03e71e6323eb7be","f":"55.18103983507255","fd":"-5.995322553195","l":"5.995322553195","ld":"5.995322553195","o":"ENTRUST_PLACE"},"t":1736429403090}
  109. $ tlm_USDT
  110. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030896005009412049","c":"142473917755821","o":1,"p":"0.006141","v":"975.79","S":2,"a":"5.99232639","m":0,"A":"5.99232639","V":"975.79","s":1,"O":1736429403073,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429403105}
  111. [ 2025-01-09-13-30-03 ] INFO : WebSocketEvent: , event_time=1736429403105", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755821, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006141, "quantity": 975.79, "filled_quantity": 0.00, "update_time": 0}}
  112. AccountOrderFail
  113. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030896005009412049","c":"142473917755821","o":1,"p":"0.006141","v":"975.79","S":2,"a":"5.99232639","m":1,"A":"0","V":"0","lv":"975.79","s":2,"O":1736429403073,"ap":"0.006141","cv":"975.79","ca":"5.99232639"},"s":"LOTTUSDT","t":1736429403106}
  114. [ 2025-01-09-13-30-03 ] INFO : WebSocketEvent: , event_time=1736429403106", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755821, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006141, "quantity": 975.79, "filled_quantity": 975.79, "update_time": 0}}
  115. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030896021794816049","c":"142473917755820","o":1,"p":"0.006141","v":"975.79","S":1,"a":"5.99232639","m":0,"A":"0","V":"0","lv":"975.79","s":2,"O":1736429403077,"ap":"0.006141","cv":"975.79","ca":"5.99232639"},"s":"LOTTUSDT","t":1736429403106}
  116. [ 2025-01-09-13-30-03 ] INFO : WebSocketEvent: , event_time=1736429403106", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736999713424, "order": {"symbol": "LOTTUSDT", "coid": 142473917755820, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006141, "quantity": 975.79, "filled_quantity": 975.79, "update_time": 0}}
  117. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.006141","v":"975.79","a":"5.99232639","S":2,"m":1,"st":1,"t":"506030896005009412X1","c":"142473917755821","i":"C02__506030896005009412049","n":"0.002996163195","N":"USDT","T":1736429403105},"s":"LOTTUSDT","t":1736429403123}
  118. [ 2025-01-09-13-30-03 ] INFO : WebSocketEvent: , event_time=1736429403123", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": true, "is_self_trade": true, "client_order_id": 142473917755821, "commission": {"asset": "USDT", "fee": 0.00299616}, "trade": {"symbol": "LOTTUSDT", "price": 0.006141, "quantity": 975.79, "trade_side": SELL, "trade_time": 1736429403105}}
  119. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.006141","v":"975.79","a":"5.99232639","S":1,"m":0,"st":1,"t":"506030896021794816X1","c":"142473917755820","i":"C02__506030896021794816049","n":"0.002996163195","N":"USDT","T":1736429403105},"s":"LOTTUSDT","t":1736429403123}
  120. [ 2025-01-09-13-30-03 ] INFO : WebSocketEvent: , event_time=1736429403123", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": false, "is_self_trade": true, "client_order_id": 142473917755820, "commission": {"asset": "USDT", "fee": 0.00299616}, "trade": {"symbol": "LOTTUSDT", "price": 0.006141, "quantity": 975.79, "trade_side": BUY, "trade_time": 1736429403105}}
  121. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429403122,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.17037006187755","fd":"5.989330226805","l":"5.995322553195","ld":"0","o":"ENTRUST"},"t":1736429403125}
  122. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429403122,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.17037006187755","fd":"5.989330226805","l":"0","ld":"0","o":"ENTRUST"},"t":1736429403125}
  123. [Thread 0x7fffe1400640 (LWP 3448425) exited]
  124. [Thread 0x7fffe3200640 (LWP 3448416) exited]
  125. [ 2025-01-09-13-30-15 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  126. [ 2025-01-09-13-30-15 ] DEBUG quote balance: {"asset": "USDT", "free": 61.1704, "locked": 0, "update_time": 1736429403122}
  127. current_volume_5m: 197.322
  128. btc_turnover_1d: 2.38711e+10
  129. price_max: 93676.6
  130. price_min: 92815.9
  131. sleep_time: 24222
  132. current_volume: 15.9318
  133. btc_klines_5m[btc_klines_5m.size() - 1].close: 92843.8
  134. norm_price_coeff: 0.0324155
  135. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 1.39387e-06
  136. (best_book.bid_price + step_size / 2): 0.0061405
  137. current_price: 0.00614189
  138. max_trade_available_quantity: 9796.71
  139. calculated_current_volume: 11.8329
  140. current_quantity: 1926.59
  141. price/quantity: 0.00614189/1926.59
  142. [ 2025-01-09-13-30-15 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  143. [ 2025-01-09-13-30-15 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  144. [New Thread 0x7fffe1400640 (LWP 3448498)]
  145. ask: 0.006184
  146. bid: 0.006140
  147. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429415095,"cd":"128f589271cb4951b03e71e6323eb7be","f":"49.33133772398755","fd":"-11.83903233789","l":"11.83903233789","ld":"11.83903233789","o":"ENTRUST_PLACE"},"t":1736429415107}
  148. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030946420527104049","c":"142473917755822","o":1,"p":"0.006142","v":"1926.59","S":1,"a":"11.83311578","m":0,"A":"11.83311578","V":"1926.59","s":1,"O":1736429415093,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429415120}
  149. [ 2025-01-09-13-30-15 ] INFO : WebSocketEvent: , event_time=1736429415120", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755822, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006142, "quantity": 1926.59, "filled_quantity": 0.00, "update_time": 0}}
  150. AccountOrderFail
  151. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030946420527104049","c":"142473917755822","o":1,"p":"0.006142","v":"1926.59","S":1,"a":"11.83311578","m":1,"A":"0","V":"0","lv":"1926.59","s":2,"O":1736429415093,"ap":"0.006142","cv":"1926.59","ca":"11.83311578"},"s":"LOTTUSDT","t":1736429415131}
  152. [ 2025-01-09-13-30-15 ] INFO : WebSocketEvent: , event_time=1736429415131", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203087368, "order": {"symbol": "LOTTUSDT", "coid": 142473917755822, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006142, "quantity": 1926.59, "filled_quantity": 1926.59, "update_time": 0}}
  153. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506030946475081731049","c":"142473917755823","o":1,"p":"0.006142","v":"1926.59","S":2,"a":"11.83311578","m":0,"A":"0","V":"0","lv":"1926.59","s":2,"O":1736429415106,"ap":"0.006142","cv":"1926.59","ca":"11.83311578"},"s":"LOTTUSDT","t":1736429415131}
  154. [ 2025-01-09-13-30-15 ] INFO : WebSocketEvent: , event_time=1736429415131", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737331063456, "order": {"symbol": "LOTTUSDT", "coid": 142473917755823, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006142, "quantity": 1926.59, "filled_quantity": 1926.59, "update_time": 0}}
  155. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.006142","v":"1926.59","a":"11.83311578","S":2,"m":0,"st":1,"t":"506030946475081731X1","c":"142473917755823","i":"C02__506030946475081731049","n":"0.00591655789","N":"USDT","T":1736429415129},"s":"LOTTUSDT","t":1736429415153}
  156. [ 2025-01-09-13-30-15 ] INFO : WebSocketEvent: , event_time=1736429415153", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": true, "client_order_id": 142473917755823, "commission": {"asset": "USDT", "fee": 0.00591656}, "trade": {"symbol": "LOTTUSDT", "price": 0.006142, "quantity": 1926.59, "trade_side": SELL, "trade_time": 1736429415129}}
  157. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.006142","v":"1926.59","a":"11.83311578","S":1,"m":1,"st":1,"t":"506030946420527104X1","c":"142473917755822","i":"C02__506030946420527104049","n":"0.00591655789","N":"USDT","T":1736429415129},"s":"LOTTUSDT","t":1736429415153}
  158. [ 2025-01-09-13-30-15 ] INFO : WebSocketEvent: , event_time=1736429415153", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": true, "is_self_trade": true, "client_order_id": 142473917755822, "commission": {"asset": "USDT", "fee": 0.00591656}, "trade": {"symbol": "LOTTUSDT", "price": 0.006142, "quantity": 1926.59, "trade_side": BUY, "trade_time": 1736429415129}}
  159. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429415151,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.15853694609755","fd":"11.82719922211","l":"11.83903233789","ld":"0","o":"ENTRUST"},"t":1736429415154}
  160. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429415151,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.15853694609755","fd":"11.82719922211","l":"0","ld":"0","o":"ENTRUST"},"t":1736429415154}
  161. [Thread 0x7fffe2200640 (LWP 3448420) exited]
  162. [New Thread 0x7fffe3200640 (LWP 3448585)]
  163. {"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": 435276, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 32.4687, "locked": 0, "update_time": 0}]}
  164. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  165. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  166. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  167. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  168. {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  169. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  170. {"asset": "USDT", "free": 32.4687, "locked": 0, "update_time": 0}
  171. [ 2025-01-09-13-30-39 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  172. [ 2025-01-09-13-30-39 ] DEBUG quote balance: {"asset": "USDT", "free": 32.4687, "locked": 0, "update_time": 0}
  173. current_volume_5m: 197.322
  174. btc_turnover_1d: 2.38711e+10
  175. [ 2025-01-09-13-30-39 ] MESSAGE: now bitcoin 5 hour minimum
  176. price_max: 93676.6
  177. price_min: 92800.1
  178. sleep_time: 3014
  179. current_volume: 1.98243
  180. btc_klines_5m[btc_klines_5m.size() - 1].close: 92800.1
  181. norm_price_coeff: 0
  182. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 0
  183. (best_book.bid_price + step_size / 2): 0.0061405
  184. current_price: 0.0061405
  185. max_trade_available_quantity: 5124.77
  186. calculated_current_volume: 2.24945
  187. current_quantity: 895.693
  188. price/quantity: 0.0061405/895.693
  189. [ 2025-01-09-13-30-39 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  190. [ 2025-01-09-13-30-39 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  191. ask: 0.006184
  192. bid: 0.006140
  193. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429439576,"cd":"128f589271cb4951b03e71e6323eb7be","f":"55.65625057779755","fd":"-5.5022863683","l":"5.5022863683","ld":"5.5022863683","o":"ENTRUST_PLACE"},"t":1736429439595}
  194. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031049092943872049","c":"142473917755825","o":1,"p":"0.00614","v":"895.69","S":2,"a":"5.4995366","m":0,"A":"0","V":"0","lv":"895.69","s":2,"O":1736429439572,"ap":"0.00614","cv":"895.69","ca":"5.4995366"},"s":"LOTTUSDT","t":1736429439601}
  195. [ 2025-01-09-13-30-39 ] INFO : WebSocketEvent: , event_time=1736429439601", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755825, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 895.69, "update_time": 0}}
  196. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031049097109505049","c":"142473917755824","o":1,"p":"0.00614","v":"895.69","S":1,"a":"5.4995366","m":0,"A":"5.4995366","V":"895.69","s":1,"O":1736429439573,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429439606}
  197. [ 2025-01-09-13-30-39 ] INFO : WebSocketEvent: , event_time=1736429439606", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755824, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006140, "quantity": 895.69, "filled_quantity": 0.00, "update_time": 0}}
  198. AccountOrderFail
  199. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"895.69","a":"5.4995366","S":2,"m":0,"st":0,"t":"506031049092943872X1","c":"142473917755825","i":"C02__506031049092943872049","n":"0.0027497683","N":"USDT","T":1736429439600},"s":"LOTTUSDT","t":1736429439628}
  200. [ 2025-01-09-13-30-39 ] INFO : WebSocketEvent: , event_time=1736429439628", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": false, "is_self_trade": false, "client_order_id": 142473917755825, "commission": {"asset": "USDT", "fee": 0.00274977}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 895.69, "trade_side": SELL, "trade_time": 1736429439600}}
  201. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429439626,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.15303740949755","fd":"5.4967868317","l":"5.5022863683","ld":"0","o":"ENTRUST"},"t":1736429439630}
  202. [ 2025-01-09-13-30-43 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  203. [ 2025-01-09-13-30-43 ] DEBUG quote balance: {"asset": "USDT", "free": 61.153, "locked": 5.50229, "update_time": 1736429439626}
  204. [ 2025-01-09-13-30-43 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  205. [ 2025-01-09-13-30-43 ] DEBUG already opened order: {"symbol": "LOTTUSDT", "coid": 142473917755824, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006140, "quantity": 895.69, "filled_quantity": 0.00, "update_time": 1736429439542}
  206. [ 2025-01-09-13-30-43 ] DEBUG csize: 1
  207. [New Thread 0x7fffd7400640 (LWP 3448655)]
  208. [Thread 0x7fffd7400640 (LWP 3448655) exited]
  209. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031049097109505049","c":"142473917755824","o":1,"p":"0.00614","v":"895.69","S":1,"a":"5.4995366","m":0,"A":"5.4995366","V":"895.69","s":4,"O":1736429439573,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429443061}
  210. [ 2025-01-09-13-30-43 ] INFO : WebSocketEvent: , event_time=1736429443061", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203087368, "order": {"symbol": "LOTTUSDT", "coid": 142473917755824, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 0.00, "update_time": 0}}
  211. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429443074,"cd":"128f589271cb4951b03e71e6323eb7be","f":"66.65532377779755","fd":"5.5022863683","l":"0","ld":"-5.5022863683","o":"ENTRUST"},"t":1736429443077}
  212. [ 2025-01-09-13-30-46 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  213. [ 2025-01-09-13-30-46 ] DEBUG quote balance: {"asset": "USDT", "free": 66.6553, "locked": 0, "update_time": 1736429443074}
  214. current_volume_5m: 197.322
  215. btc_turnover_1d: 2.38711e+10
  216. [ 2025-01-09-13-30-46 ] MESSAGE: now bitcoin 5 hour minimum
  217. price_max: 93676.6
  218. price_min: 92805.6
  219. sleep_time: 8172
  220. current_volume: 5.37505
  221. btc_klines_5m[btc_klines_5m.size() - 1].close: 92805.6
  222. norm_price_coeff: 0
  223. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 0
  224. (best_book.bid_price + step_size / 2): 0.0061405
  225. current_price: 0.0061405
  226. max_trade_available_quantity: 10692.2
  227. calculated_current_volume: 5.46648
  228. current_quantity: 895.693
  229. price/quantity: 0.0061405/895.693
  230. [ 2025-01-09-13-30-46 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  231. [ 2025-01-09-13-30-46 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  232. ask: 0.006184
  233. bid: 0.006140
  234. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031078444670976049","c":"142473917755827","o":1,"p":"0.00614","v":"895.69","S":2,"a":"5.4995366","m":0,"A":"0.9991008","V":"162.72","lv":"732.97","s":3,"O":1736429446570,"ap":"0.00614","cv":"732.97","ca":"4.5004358"},"s":"LOTTUSDT","t":1736429446586}
  235. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446586", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203087368, "order": {"symbol": "LOTTUSDT", "coid": 142473917755827, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 732.97, "update_time": 0}}
  236. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031078444670976049","c":"142473917755827","o":1,"p":"0.00614","v":"895.69","S":2,"a":"5.4995366","m":1,"A":"0","V":"0","lv":"162.72","s":2,"O":1736429446570,"ap":"0.00614","cv":"895.69","ca":"5.4995366"},"s":"LOTTUSDT","t":1736429446593}
  237. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446593", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737003907728, "order": {"symbol": "LOTTUSDT", "coid": 142473917755827, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 895.69, "update_time": 0}}
  238. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031078453063680049","c":"142473917755826","o":1,"p":"0.00614","v":"895.69","S":1,"a":"5.4995366","m":0,"A":"4.5004358","V":"732.97","lv":"162.72","s":3,"O":1736429446572,"ap":"0.00614","cv":"162.72","ca":"0.9991008"},"s":"LOTTUSDT","t":1736429446593}
  239. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446593", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737003907728, "order": {"symbol": "LOTTUSDT", "coid": 142473917755826, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 162.72, "update_time": 0}}
  240. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429446574,"cd":"128f589271cb4951b03e71e6323eb7be","f":"61.15303740949755","fd":"-5.5022863683","l":"5.5022863683","ld":"5.5022863683","o":"ENTRUST_PLACE"},"t":1736429446593}
  241. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"732.97","a":"4.5004358","S":2,"m":0,"st":0,"t":"506031078444670976X1","c":"142473917755827","i":"C02__506031078444670976049","n":"0.0022502179","N":"USDT","T":1736429446585},"s":"LOTTUSDT","t":1736429446605}
  242. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446605", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": false, "is_self_trade": false, "client_order_id": 142473917755827, "commission": {"asset": "USDT", "fee": 0.00225022}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 732.97, "trade_side": SELL, "trade_time": 1736429446585}}
  243. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"162.72","a":"0.9991008","S":1,"m":0,"st":1,"t":"506031078453063680X1","c":"142473917755826","i":"C02__506031078453063680049","n":"0.0004995504","N":"USDT","T":1736429446592},"s":"LOTTUSDT","t":1736429446610}
  244. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446610", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 32, "is_maker": false, "is_self_trade": true, "client_order_id": 142473917755826, "commission": {"asset": "USDT", "fee": 0.00049955}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 162.72, "trade_side": BUY, "trade_time": 1736429446592}}
  245. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429446604,"cd":"128f589271cb4951b03e71e6323eb7be","f":"65.65122299159755","fd":"4.4981855821","l":"5.5022863683","ld":"0","o":"ENTRUST"},"t":1736429446609}
  246. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429446609,"cd":"128f589271cb4951b03e71e6323eb7be","f":"65.65122299159755","fd":"0","l":"4.5026860179","ld":"-0.9996003504","o":"ENTRUST"},"t":1736429446612}
  247. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"162.72","a":"0.9991008","S":2,"m":1,"st":1,"t":"506031078444670976X2","c":"142473917755827","i":"C02__506031078444670976049","n":"0.0004995504","N":"USDT","T":1736429446592},"s":"LOTTUSDT","t":1736429446615}
  248. [ 2025-01-09-13-30-46 ] INFO : WebSocketEvent: , event_time=1736429446615", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": true, "is_self_trade": true, "client_order_id": 142473917755827, "commission": {"asset": "USDT", "fee": 0.00049955}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 162.72, "trade_side": SELL, "trade_time": 1736429446592}}
  249. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429446614,"cd":"128f589271cb4951b03e71e6323eb7be","f":"66.64982424119755","fd":"0.9986012496","l":"4.5026860179","ld":"0","o":"ENTRUST"},"t":1736429446618}
  250. [ 2025-01-09-13-30-55 ] DEBUG base balance: {"asset": "LOTT", "free": 13439.8, "locked": 0, "update_time": 0}
  251. [ 2025-01-09-13-30-55 ] DEBUG quote balance: {"asset": "USDT", "free": 66.6498, "locked": 4.50269, "update_time": 1736429446614}
  252. [ 2025-01-09-13-30-55 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  253. [ 2025-01-09-13-30-55 ] DEBUG already opened order: {"symbol": "LOTTUSDT", "coid": 142473917755826, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 162.72, "update_time": 0}
  254. [ 2025-01-09-13-30-55 ] DEBUG csize: 1
  255. [New Thread 0x7fffd7400640 (LWP 3448693)]
  256. [Thread 0x7fffd7400640 (LWP 3448693) exited]
  257. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031078453063680049","c":"142473917755826","o":1,"p":"0.00614","v":"895.69","S":1,"a":"5.4995366","m":0,"A":"4.5004358","V":"732.97","s":5,"O":1736429446572,"ap":"0.00614","cv":"162.72","ca":"0.9991008"},"s":"LOTTUSDT","t":1736429455061}
  258. [ 2025-01-09-13-30-55 ] INFO : WebSocketEvent: , event_time=1736429455061", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203087368, "order": {"symbol": "LOTTUSDT", "coid": 142473917755826, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.006140, "quantity": 895.69, "filled_quantity": 162.72, "update_time": 0}}
  259. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429455074,"cd":"128f589271cb4951b03e71e6323eb7be","f":"71.15251025909755","fd":"4.5026860179","l":"0","ld":"-4.5026860179","o":"ENTRUST_CANCEL"},"t":1736429455077}
  260. {"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": 435276, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 11811.1, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 42.4626, "locked": 0, "update_time": 0}]}
  261. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  262. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  263. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  264. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  265. {"asset": "LOTT", "free": 11811.1, "locked": 0, "update_time": 0}
  266. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  267. {"asset": "USDT", "free": 42.4626, "locked": 0, "update_time": 0}
  268. [ 2025-01-09-13-31-03 ] DEBUG base balance: {"asset": "LOTT", "free": 11811.1, "locked": 0, "update_time": 0}
  269. [ 2025-01-09-13-31-03 ] DEBUG quote balance: {"asset": "USDT", "free": 42.4626, "locked": 0, "update_time": 0}
  270. current_volume_5m: 197.322
  271. btc_turnover_1d: 2.38711e+10
  272. [ 2025-01-09-13-31-03 ] MESSAGE: now bitcoin 5 hour minimum
  273. price_max: 93676.6
  274. price_min: 92805.6
  275. sleep_time: 16631
  276. current_volume: 10.9389
  277. btc_klines_5m[btc_klines_5m.size() - 1].close: 92805.6
  278. norm_price_coeff: 0
  279. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 0
  280. (best_book.bid_price + step_size / 2): 0.0061405
  281. current_price: 0.0061405
  282. max_trade_available_quantity: 6752.32
  283. calculated_current_volume: 12.9224
  284. current_quantity: 2104.45
  285. price/quantity: 0.0061405/2104.45
  286. [ 2025-01-09-13-31-03 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  287. [ 2025-01-09-13-31-03 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  288. ask: 0.006184
  289. bid: 0.006140
  290. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429463650,"cd":"128f589271cb4951b03e71e6323eb7be","f":"58.22472659759755","fd":"-12.9277836615","l":"12.9277836615","ld":"12.9277836615","o":"ENTRUST_PLACE"},"t":1736429463657}
  291. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031150070788098049","c":"142473917755829","o":1,"p":"0.00614","v":"2104.45","S":2,"a":"12.921323","m":0,"A":"12.921323","V":"2104.45","s":1,"O":1736429463647,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429463687}
  292. [ 2025-01-09-13-31-03 ] INFO : WebSocketEvent: , event_time=1736429463687", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203080300, "order": {"symbol": "LOTTUSDT", "coid": 142473917755829, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006140, "quantity": 2104.45, "filled_quantity": 0.00, "update_time": 0}}
  293. AccountOrderFail
  294. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031150070788098049","c":"142473917755829","o":1,"p":"0.00614","v":"2104.45","S":2,"a":"12.921323","m":1,"A":"0","V":"0","lv":"2104.45","s":2,"O":1736429463647,"ap":"0.00614","cv":"2104.45","ca":"12.921323"},"s":"LOTTUSDT","t":1736429463687}
  295. [ 2025-01-09-13-31-03 ] INFO : WebSocketEvent: , event_time=1736429463687", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142473917755829, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006140, "quantity": 2104.45, "filled_quantity": 2104.45, "update_time": 0}}
  296. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031150074974208049","c":"142473917755828","o":1,"p":"0.00614","v":"2104.45","S":1,"a":"12.921323","m":0,"A":"0","V":"0","lv":"2104.45","s":2,"O":1736429463648,"ap":"0.00614","cv":"2104.45","ca":"12.921323"},"s":"LOTTUSDT","t":1736429463687}
  297. [ 2025-01-09-13-31-03 ] INFO : WebSocketEvent: , event_time=1736429463687", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737331063440, "order": {"symbol": "LOTTUSDT", "coid": 142473917755828, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006140, "quantity": 2104.45, "filled_quantity": 2104.45, "update_time": 0}}
  298. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"2104.45","a":"12.921323","S":1,"m":0,"st":1,"t":"506031150074974208X1","c":"142473917755828","i":"C02__506031150074974208049","n":"0.0064606615","N":"USDT","T":1736429463683},"s":"LOTTUSDT","t":1736429463706}
  299. [ 2025-01-09-13-31-03 ] INFO : WebSocketEvent: , event_time=1736429463706", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": false, "is_self_trade": true, "client_order_id": 142473917755828, "commission": {"asset": "USDT", "fee": 0.00646066}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 2104.45, "trade_side": BUY, "trade_time": 1736429463683}}
  300. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"2104.45","a":"12.921323","S":2,"m":1,"st":1,"t":"506031150070788098X1","c":"142473917755829","i":"C02__506031150070788098049","n":"0.0064606615","N":"USDT","T":1736429463683},"s":"LOTTUSDT","t":1736429463706}
  301. [ 2025-01-09-13-31-03 ] INFO : WebSocketEvent: , event_time=1736429463706", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": true, "is_self_trade": true, "client_order_id": 142473917755829, "commission": {"asset": "USDT", "fee": 0.00646066}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 2104.45, "trade_side": SELL, "trade_time": 1736429463683}}
  302. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429463705,"cd":"128f589271cb4951b03e71e6323eb7be","f":"58.22472659759755","fd":"0","l":"0","ld":"-12.9277836615","o":"ENTRUST"},"t":1736429463708}
  303. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429463705,"cd":"128f589271cb4951b03e71e6323eb7be","f":"71.13958893609755","fd":"0","l":"0","ld":"-12.9277836615","o":"ENTRUST"},"t":1736429463708}
  304. [Thread 0x7fffe2e00640 (LWP 3448417) exited]
  305. [ 2025-01-09-13-31-20 ] DEBUG base balance: {"asset": "LOTT", "free": 11811.1, "locked": 0, "update_time": 0}
  306. [ 2025-01-09-13-31-20 ] DEBUG quote balance: {"asset": "USDT", "free": 71.1396, "locked": 0, "update_time": 1736429463705}
  307. current_volume_5m: 197.322
  308. btc_turnover_1d: 2.38711e+10
  309. [ 2025-01-09-13-31-20 ] MESSAGE: now bitcoin 5 hour minimum
  310. price_max: 93676.6
  311. price_min: 92815.9
  312. sleep_time: 10059
  313. current_volume: 6.6162
  314. btc_klines_5m[btc_klines_5m.size() - 1].close: 92815.9
  315. norm_price_coeff: 0
  316. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 0
  317. (best_book.bid_price + step_size / 2): 0.0061405
  318. current_price: 0.0061405
  319. max_trade_available_quantity: 11422.5
  320. calculated_current_volume: 6.87774
  321. current_quantity: 1120.06
  322. price/quantity: 0.0061405/1120.06
  323. [ 2025-01-09-13-31-20 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  324. [ 2025-01-09-13-31-20 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  325. [New Thread 0x7fffe2200640 (LWP 3448823)]
  326. ask: 0.006184
  327. bid: 0.006140
  328. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429480569,"cd":"128f589271cb4951b03e71e6323eb7be","f":"35.56909683051755","fd":"-6.8806069842","l":"6.8806069842","ld":"6.8806069842","o":"ENTRUST_PLACE"},"t":1736429480582}
  329. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"LOTT","c":1736429480579,"cd":"54d37663dc184934a43a0e80649c1315","f":"10691.07","fd":"-1120.06","l":"1120.06","ld":"1120.06","o":"ENTRUST_PLACE"},"t":1736429480592}
  330. $ tlm_LOTT
  331. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031221034209281049","c":"142473917755830","o":1,"p":"0.00614","v":"1120.06","S":1,"a":"6.8771684","m":0,"A":"6.8771684","V":"1120.06","s":1,"O":1736429480566,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1736429480596}
  332. [ 2025-01-09-13-31-20 ] INFO : WebSocketEvent: , event_time=1736429480596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6076568986666729580, "order": {"symbol": "LOTTUSDT", "coid": 142473917755830, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006140, "quantity": 1120.06, "filled_quantity": 0.00, "update_time": 0}}
  333. AccountOrderFail
  334. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031221034209281049","c":"142473917755830","o":1,"p":"0.00614","v":"1120.06","S":1,"a":"6.8771684","m":1,"A":"0","V":"0","lv":"1120.06","s":2,"O":1736429480566,"ap":"0.00614","cv":"1120.06","ca":"6.8771684"},"s":"LOTTUSDT","t":1736429480604}
  335. [ 2025-01-09-13-31-20 ] INFO : WebSocketEvent: , event_time=1736429480604", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736972450448, "order": {"symbol": "LOTTUSDT", "coid": 142473917755830, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006140, "quantity": 1120.06, "filled_quantity": 1120.06, "update_time": 0}}
  336. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506031221080375296049","c":"142473917755831","o":1,"p":"0.00614","v":"1120.06","S":2,"a":"6.8771684","m":0,"A":"0","V":"0","lv":"1120.06","s":2,"O":1736429480577,"ap":"0.00614","cv":"1120.06","ca":"6.8771684"},"s":"LOTTUSDT","t":1736429480604}
  337. [ 2025-01-09-13-31-20 ] INFO : WebSocketEvent: , event_time=1736429480604", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 18316162995203087368, "order": {"symbol": "LOTTUSDT", "coid": 142473917755831, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006140, "quantity": 1120.06, "filled_quantity": 1120.06, "update_time": 0}}
  338. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"1120.06","a":"6.8771684","S":1,"m":1,"st":1,"t":"506031221034209281X1","c":"142473917755830","i":"C02__506031221034209281049","n":"0.0034385842","N":"USDT","T":1736429480602},"s":"LOTTUSDT","t":1736429480621}
  339. [ 2025-01-09-13-31-20 ] INFO : WebSocketEvent: , event_time=1736429480621", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": true, "is_self_trade": true, "client_order_id": 142473917755830, "commission": {"asset": "USDT", "fee": 0.00343858}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 1120.06, "trade_side": BUY, "trade_time": 1736429480602}}
  340. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00614","v":"1120.06","a":"6.8771684","S":2,"m":0,"st":1,"t":"506031221080375296X1","c":"142473917755831","i":"C02__506031221080375296049","n":"0.0034385842","N":"USDT","T":1736429480602},"s":"LOTTUSDT","t":1736429480622}
  341. [ 2025-01-09-13-31-20 ] INFO : WebSocketEvent: , event_time=1736429480622", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18316162995203087368, "is_maker": false, "is_self_trade": true, "client_order_id": 142473917755831, "commission": {"asset": "USDT", "fee": 0.00343858}, "trade": {"symbol": "LOTTUSDT", "price": 0.006140, "quantity": 1120.06, "trade_side": SELL, "trade_time": 1736429480602}}
  342. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"LOTT","c":1736429480620,"cd":"54d37663dc184934a43a0e80649c1315","f":"11811.13","fd":"1120.06","l":"1120.06","ld":"0","o":"ENTRUST"},"t":1736429480623}
  343. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429480620,"cd":"128f589271cb4951b03e71e6323eb7be","f":"35.56909683051755","fd":"0","l":"0","ld":"-6.8806069842","o":"ENTRUST"},"t":1736429480623}
  344. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"LOTT","c":1736429480620,"cd":"54d37663dc184934a43a0e80649c1315","f":"11811.13","fd":"1120.06","l":"0","ld":"0","o":"ENTRUST"},"t":1736429480623}
  345. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736429480620,"cd":"128f589271cb4951b03e71e6323eb7be","f":"42.44282664631755","fd":"0","l":"0","ld":"-6.8806069842","o":"ENTRUST"},"t":1736429480623}
  346. ^C
  347. Thread 1 "test" received signal SIGINT, Interrupt.
  348. 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc40, rem=0x7fffffffdc40) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  349. 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
  350. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement