Advertisement
den4ik2003

Untitled

Jan 13th, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.86 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test volume/launch.config
  2. add_parser: BINANCE_FUTURES
  3. add_parser: BITMART_SPOT
  4. add_parser: MEXC_SPOT
  5. /home/ubuntu/keys//mexc_spot/test_1.account
  6. shared_parser: MEXC_SPOT
  7. has: BINANCE_FUTURES
  8. has: BITMART_SPOT
  9. has: MEXC_SPOT
  10. run forever balance 0x589f46909530
  11. {"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": 11380.5, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 37.5856, "locked": 0, "update_time": 0}]}
  12. Initializing orderbook
  13. {"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": 11380.5, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 37.5856, "locked": 0, "update_time": 0}]}
  14. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  15. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  16. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  17. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  18. {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  19. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  20. {"asset": "USDT", "free": 37.5856, "locked": 0, "update_time": 0}
  21. {"symbol": "LOTTUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
  22. cooldown: 4000
  23. sleep time: 4000
  24. binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
  25. /mnt/volume_telemetry/LOTT_USDT_mexc
  26. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "LOTTUSDT"}]}
  27. get balance indicator 0x589f46909658
  28. {"ok": "1"}
  29. {"ok": "1"}
  30. [ 2025-01-13-13-22-30 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  31. [ 2025-01-13-13-22-30 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5856, "locked": 0, "update_time": 0}
  32. ask: 0.006422/215.3
  33. bid: 0.006393/225.44
  34. current_volume_5m: 801.78
  35. btc_turnover_1d: 2.05857e+10
  36. price_max: 93275.8
  37. price_min: 90397.4
  38. sleep_time: 4476
  39. current_volume: 11.9626
  40. btc_klines_5m[btc_klines_5m.size() - 1].close: 91631.7
  41. norm_price_coeff: 0.428815
  42. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 1.20068e-05
  43. (best_book.bid_price + step_size / 2): 0.0063935
  44. current_price: 0.00640551
  45. max_trade_available_quantity: 5711.58
  46. calculated_current_volume: 13.4322
  47. current_quantity: 2096.98
  48. price/quantity: 0.00640551/2096.98
  49. [ 2025-01-13-13-22-30 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  50. [ 2025-01-13-13-22-30 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  51. {"t": "1736774550085", "d": {"fd": "-2096.98", "f": "9283.55", "ld": "2096.98", "l": "2096.98", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST_PLACE", "c": "1736774550066", "a": "LOTT"}, "c": ""}
  52. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550085, "balance": {"asset": "LOTT", "free": 9283.55, "locked": 2096.98, "update_time": 1736774550085}}
  53. $ tlm_LOTT
  54. [ 2025-01-13-13-22-30 ] INFO : WebSocketEvent: , event_time=1736774550086", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262902866, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006406, "quantity": 2096.98, "filled_quantity": 0.00, "update_time": 0}}
  55. [ 2025-01-13-13-22-30 ] INFO : WebSocketEvent: , event_time=1736774550109", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 9734509919256555178, "order": {"symbol": "LOTTUSDT", "coid": 142474262902866, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006406, "quantity": 2096.98, "filled_quantity": 2096.98, "update_time": 0}}
  56. [ 2025-01-13-13-22-30 ] INFO : WebSocketEvent: , event_time=1736774550109", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 124342161631888, "order": {"symbol": "LOTTUSDT", "coid": 142474262902865, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006406, "quantity": 2096.98, "filled_quantity": 2096.98, "update_time": 0}}
  57. AccountOrderFail
  58. {"t": "1736774550109", "d": {"fd": "-13.43997050694", "f": "24.14560788132755", "ld": "13.43997050694", "l": "13.43997050694", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST_PLACE", "c": "1736774550077", "a": "USDT"}, "c": ""}
  59. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550109, "balance": {"asset": "USDT", "free": 24.1456, "locked": 13.44, "update_time": 1736774550109}}
  60. $ tlm_USDT
  61. [ 2025-01-13-13-22-30 ] INFO : WebSocketEvent: , event_time=1736774550127", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262902865, "commission": {"asset": "USDT", "fee": 0.00671663}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 2096.98, "trade_side": BUY, "trade_time": 1736774550108}}
  62. [ 2025-01-13-13-22-30 ] INFO : WebSocketEvent: , event_time=1736774550127", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262902866, "commission": {"asset": "USDT", "fee": 0.00671663}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 2096.98, "trade_side": SELL, "trade_time": 1736774550108}}
  63. {"t": "1736774550129", "d": {"fd": "0", "f": "37.57214513438755", "ld": "-13.43997050694", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774550126", "a": "USDT"}, "c": ""}
  64. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550129, "balance": {"asset": "USDT", "free": 37.5721, "locked": 0, "update_time": 1736774550129}}
  65. {"t": "1736774550129", "d": {"fd": "2096.98", "f": "11380.53", "ld": "0", "l": "2096.98", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774550126", "a": "LOTT"}, "c": ""}
  66. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550129, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 2096.98, "update_time": 1736774550129}}
  67. {"t": "1736774550129", "d": {"fd": "0", "f": "24.14560788132755", "ld": "-13.43997050694", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774550126", "a": "USDT"}, "c": ""}
  68. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550129, "balance": {"asset": "USDT", "free": 24.1456, "locked": 0, "update_time": 1736774550129}}
  69. {"t": "1736774550129", "d": {"fd": "2096.98", "f": "11380.53", "ld": "0", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774550126", "a": "LOTT"}, "c": ""}
  70. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774550129, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774550129}}
  71. [ 2025-01-13-13-22-34 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774550129}
  72. [ 2025-01-13-13-22-34 ] DEBUG quote balance: {"asset": "USDT", "free": 24.1456, "locked": 0, "update_time": 1736774550129}
  73. ask: 0.006422/215.3
  74. bid: 0.006393/225.44
  75. current_volume_5m: 801.78
  76. btc_turnover_1d: 2.05857e+10
  77. price_max: 93275.8
  78. price_min: 90397.4
  79. sleep_time: 3452
  80. current_volume: 9.22582
  81. btc_klines_5m[btc_klines_5m.size() - 1].close: 91653.3
  82. norm_price_coeff: 0.436319
  83. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 1.22169e-05
  84. (best_book.bid_price + step_size / 2): 0.0063935
  85. current_price: 0.00640572
  86. max_trade_available_quantity: 3613.27
  87. calculated_current_volume: 12.3011
  88. current_quantity: 1920.33
  89. price/quantity: 0.00640572/1920.33
  90. [ 2025-01-13-13-22-34 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  91. [ 2025-01-13-13-22-34 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  92. {"t": "1736774554617", "d": {"fd": "-12.30778479699", "f": "25.26436033739755", "ld": "12.30778479699", "l": "12.30778479699", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST_PLACE", "c": "1736774554603", "a": "USDT"}, "c": ""}
  93. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554617, "balance": {"asset": "USDT", "free": 25.2644, "locked": 12.3078, "update_time": 1736774554617}}
  94. [ 2025-01-13-13-22-34 ] INFO : WebSocketEvent: , event_time=1736774554618", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1736774516844, "order": {"symbol": "LOTTUSDT", "coid": 142474262902867, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006406, "quantity": 1920.33, "filled_quantity": 0.00, "update_time": 0}}
  95. AccountOrderFail
  96. {"t": "1736774554623", "d": {"fd": "-1920.33", "f": "9460.2", "ld": "1920.33", "l": "1920.33", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST_PLACE", "c": "1736774554609", "a": "LOTT"}, "c": ""}
  97. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554623, "balance": {"asset": "LOTT", "free": 9460.2, "locked": 1920.33, "update_time": 1736774554623}}
  98. [ 2025-01-13-13-22-34 ] INFO : WebSocketEvent: , event_time=1736774554628", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262902867, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006406, "quantity": 1920.33, "filled_quantity": 1920.33, "update_time": 0}}
  99. [ 2025-01-13-13-22-34 ] INFO : WebSocketEvent: , event_time=1736774554628", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 124342130174608, "order": {"symbol": "LOTTUSDT", "coid": 142474262902868, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006406, "quantity": 1920.33, "filled_quantity": 1920.33, "update_time": 0}}
  100. [ 2025-01-13-13-22-34 ] INFO : WebSocketEvent: , event_time=1736774554644", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 9734509919256555178, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262902868, "commission": {"asset": "USDT", "fee": 0.00615082}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 1920.33, "trade_side": SELL, "trade_time": 1736774554627}}
  101. [ 2025-01-13-13-22-34 ] INFO : WebSocketEvent: , event_time=1736774554645", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 9734509919256555178, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262902867, "commission": {"asset": "USDT", "fee": 0.00615082}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 1920.33, "trade_side": BUY, "trade_time": 1736774554627}}
  102. {"t": "1736774554646", "d": {"fd": "12.29548316301", "f": "37.55984350040755", "ld": "0", "l": "12.30778479699", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774554643", "a": "USDT"}, "c": ""}
  103. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554646, "balance": {"asset": "USDT", "free": 37.5598, "locked": 12.3078, "update_time": 1736774554646}}
  104. {"t": "1736774554646", "d": {"fd": "0", "f": "9460.2", "ld": "-1920.33", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774554643", "a": "LOTT"}, "c": ""}
  105. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554646, "balance": {"asset": "LOTT", "free": 9460.2, "locked": 0, "update_time": 1736774554646}}
  106. {"t": "1736774554646", "d": {"fd": "12.29548316301", "f": "37.55984350040755", "ld": "0", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774554643", "a": "USDT"}, "c": ""}
  107. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554646, "balance": {"asset": "USDT", "free": 37.5598, "locked": 0, "update_time": 1736774554646}}
  108. {"t": "1736774554646", "d": {"fd": "0", "f": "11380.53", "ld": "-1920.33", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774554643", "a": "LOTT"}, "c": ""}
  109. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774554646, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774554646}}
  110. [ 2025-01-13-13-22-38 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774554646}
  111. [ 2025-01-13-13-22-38 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5598, "locked": 0, "update_time": 1736774554646}
  112. ask: 0.006422/215.3
  113. bid: 0.006393/225.44
  114. current_volume_5m: 801.78
  115. btc_turnover_1d: 2.05857e+10
  116. price_max: 93275.8
  117. price_min: 90397.4
  118. sleep_time: 1223
  119. current_volume: 3.26859
  120. btc_klines_5m[btc_klines_5m.size() - 1].close: 91650.4
  121. norm_price_coeff: 0.435311
  122. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 1.21887e-05
  123. (best_book.bid_price + step_size / 2): 0.0063935
  124. current_price: 0.00640569
  125. max_trade_available_quantity: 5707.4
  126. calculated_current_volume: 3.73977
  127. current_quantity: 858.612
  128. price/quantity: 0.00640569/858.612
  129. [ 2025-01-13-13-22-38 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  130. [ 2025-01-13-13-22-38 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  131. {"t": "1736774558077", "d": {"fd": "-858.61", "f": "10521.92", "ld": "858.61", "l": "858.61", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST_PLACE", "c": "1736774558063", "a": "LOTT"}, "c": ""}
  132. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558077, "balance": {"asset": "LOTT", "free": 10521.9, "locked": 858.61, "update_time": 1736774558077}}
  133. [ 2025-01-13-13-22-38 ] INFO : WebSocketEvent: , event_time=1736774558080", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262902870, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006406, "quantity": 858.61, "filled_quantity": 0.00, "update_time": 0}}
  134. AccountOrderFail
  135. {"t": "1736774558138", "d": {"fd": "-5.50300578783", "f": "32.05683771257755", "ld": "5.50300578783", "l": "5.50300578783", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST_PLACE", "c": "1736774558121", "a": "USDT"}, "c": ""}
  136. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558138, "balance": {"asset": "USDT", "free": 32.0568, "locked": 5.50301, "update_time": 1736774558138}}
  137. [ 2025-01-13-13-22-38 ] INFO : WebSocketEvent: , event_time=1736774558147", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1736774516844, "order": {"symbol": "LOTTUSDT", "coid": 142474262902870, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006406, "quantity": 858.61, "filled_quantity": 858.61, "update_time": 0}}
  138. [ 2025-01-13-13-22-38 ] INFO : WebSocketEvent: , event_time=1736774558147", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 124342130174608, "order": {"symbol": "LOTTUSDT", "coid": 142474262902869, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006406, "quantity": 858.61, "filled_quantity": 858.61, "update_time": 0}}
  139. [ 2025-01-13-13-22-38 ] INFO : WebSocketEvent: , event_time=1736774558164", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 9734509919256555178, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262902870, "commission": {"asset": "USDT", "fee": 0.00275013}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 858.61, "trade_side": SELL, "trade_time": 1736774558145}}
  140. [ 2025-01-13-13-22-38 ] INFO : WebSocketEvent: , event_time=1736774558164", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 9734509919256555178, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262902869, "commission": {"asset": "USDT", "fee": 0.00275013}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 858.61, "trade_side": BUY, "trade_time": 1736774558145}}
  141. {"t": "1736774558165", "d": {"fd": "0", "f": "10521.92", "ld": "-858.61", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774558163", "a": "LOTT"}, "c": ""}
  142. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558165, "balance": {"asset": "LOTT", "free": 10521.9, "locked": 0, "update_time": 1736774558165}}
  143. {"t": "1736774558165", "d": {"fd": "5.49750553217", "f": "37.55434324474755", "ld": "0", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774558163", "a": "USDT"}, "c": ""}
  144. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558165, "balance": {"asset": "USDT", "free": 37.5543, "locked": 0, "update_time": 1736774558165}}
  145. {"t": "1736774558165", "d": {"fd": "5.49750553217", "f": "37.55434324474755", "ld": "0", "l": "5.50300578783", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774558163", "a": "USDT"}, "c": ""}
  146. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558165, "balance": {"asset": "USDT", "free": 37.5543, "locked": 5.50301, "update_time": 1736774558165}}
  147. {"t": "1736774558165", "d": {"fd": "0", "f": "11380.53", "ld": "-858.61", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774558163", "a": "LOTT"}, "c": ""}
  148. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774558165, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774558165}}
  149. [ 2025-01-13-13-22-39 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774558165}
  150. [ 2025-01-13-13-22-39 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5543, "locked": 5.50301, "update_time": 1736774558165}
  151. [ 2025-01-13-13-22-39 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  152. [ 2025-01-13-13-22-39 ] DEBUG csize: 0
  153. [ 2025-01-13-13-22-41 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774558165}
  154. [ 2025-01-13-13-22-41 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5543, "locked": 5.50301, "update_time": 1736774558165}
  155. [ 2025-01-13-13-22-41 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  156. [ 2025-01-13-13-22-41 ] DEBUG csize: 0
  157. [ 2025-01-13-13-22-42 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774558165}
  158. [ 2025-01-13-13-22-42 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5543, "locked": 5.50301, "update_time": 1736774558165}
  159. [ 2025-01-13-13-22-42 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  160. [ 2025-01-13-13-22-42 ] DEBUG csize: 0
  161. {"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": 11380.5, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 37.5543, "locked": 0, "update_time": 0}]}
  162. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  163. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  164. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  165. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  166. {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  167. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  168. {"asset": "USDT", "free": 37.5543, "locked": 0, "update_time": 0}
  169. [ 2025-01-13-13-22-44 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  170. [ 2025-01-13-13-22-44 ] DEBUG quote balance: {"asset": "USDT", "free": 37.5543, "locked": 0, "update_time": 0}
  171. ask: 0.006422/215.3
  172. bid: 0.006393/225.44
  173. current_volume_5m: 801.78
  174. btc_turnover_1d: 2.05857e+10
  175. price_max: 93275.8
  176. price_min: 90397.4
  177. sleep_time: 6012
  178. current_volume: 16.0677
  179. btc_klines_5m[btc_klines_5m.size() - 1].close: 91631.7
  180. norm_price_coeff: 0.428815
  181. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 1.20068e-05
  182. (best_book.bid_price + step_size / 2): 0.0063935
  183. current_price: 0.00640551
  184. max_trade_available_quantity: 5706.71
  185. calculated_current_volume: 14.2612
  186. current_quantity: 2226.4
  187. price/quantity: 0.00640551/2226.4
  188. [ 2025-01-13-13-22-44 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  189. [ 2025-01-13-13-22-44 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  190. {"t": "1736774564057", "d": {"fd": "-14.2694495592", "f": "23.28489368554755", "ld": "14.2694495592", "l": "14.2694495592", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST_PLACE", "c": "1736774564043", "a": "USDT"}, "c": ""}
  191. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564057, "balance": {"asset": "USDT", "free": 23.2849, "locked": 14.2694, "update_time": 1736774564057}}
  192. [ 2025-01-13-13-22-44 ] INFO : WebSocketEvent: , event_time=1736774564061", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262902871, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006406, "quantity": 2226.40, "filled_quantity": 0.00, "update_time": 0}}
  193. [ 2025-01-13-13-22-44 ] INFO : WebSocketEvent: , event_time=1736774564073", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262902871, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006406, "quantity": 2226.40, "filled_quantity": 2226.40, "update_time": 0}}
  194. [ 2025-01-13-13-22-44 ] INFO : WebSocketEvent: , event_time=1736774564073", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 124342144854672, "order": {"symbol": "LOTTUSDT", "coid": 142474262902872, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006406, "quantity": 2226.40, "filled_quantity": 2226.40, "update_time": 0}}
  195. AccountOrderFail
  196. {"t": "1736774564072", "d": {"fd": "-2226.4", "f": "9154.13", "ld": "2226.4", "l": "2226.4", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST_PLACE", "c": "1736774564058", "a": "LOTT"}, "c": ""}
  197. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564072, "balance": {"asset": "LOTT", "free": 9154.13, "locked": 2226.4, "update_time": 1736774564072}}
  198. [ 2025-01-13-13-22-44 ] INFO : WebSocketEvent: , event_time=1736774564097", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262902872, "commission": {"asset": "USDT", "fee": 0.00713116}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 2226.40, "trade_side": SELL, "trade_time": 1736774564072}}
  199. [ 2025-01-13-13-22-44 ] INFO : WebSocketEvent: , event_time=1736774564098", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262902871, "commission": {"asset": "USDT", "fee": 0.00713116}, "trade": {"symbol": "LOTTUSDT", "price": 0.006406, "quantity": 2226.40, "trade_side": BUY, "trade_time": 1736774564072}}
  200. {"t": "1736774564098", "d": {"fd": "0", "f": "37.54008092634755", "ld": "-14.2694495592", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774564096", "a": "USDT"}, "c": ""}
  201. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564098, "balance": {"asset": "USDT", "free": 37.5401, "locked": 0, "update_time": 1736774564098}}
  202. {"t": "1736774564098", "d": {"fd": "0", "f": "23.28489368554755", "ld": "-14.2694495592", "l": "0", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST", "c": "1736774564096", "a": "USDT"}, "c": ""}
  203. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564098, "balance": {"asset": "USDT", "free": 23.2849, "locked": 0, "update_time": 1736774564098}}
  204. {"t": "1736774564098", "d": {"fd": "2226.4", "f": "11380.53", "ld": "0", "l": "0", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774564096", "a": "LOTT"}, "c": ""}
  205. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564098, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736774564098}}
  206. {"t": "1736774564098", "d": {"fd": "2226.4", "f": "11380.53", "ld": "0", "l": "2226.4", "cd": "54d37663dc184934a43a0e80649c1315", "o": "ENTRUST", "c": "1736774564096", "a": "LOTT"}, "c": ""}
  207. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1736774564098, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 2226.4, "update_time": 1736774564098}}
  208. ^C
  209. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement