Advertisement
den4ik2003

Untitled

Jan 13th, 2025
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.65 KB | None | 0 0
  1. buntu@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 0x5f6e53310490
  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.8294, "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.8294, "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.8294, "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 0x5f6e533105b8
  28. {"ok": "1"}
  29. {"ok": "1"}
  30. [ 2025-01-13-13-08-45 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  31. [ 2025-01-13-13-08-45 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8294, "locked": 0, "update_time": 0}
  32. ask: 0.006422/215.3
  33. bid: 0.006393/225.44
  34. current_volume_5m: 612.67
  35. btc_turnover_1d: 1.99048e+10
  36. price_max: 93413.1
  37. price_min: 90397.4
  38. sleep_time: 6941
  39. current_volume: 14.1751
  40. btc_klines_5m[btc_klines_5m.size() - 1].close: 91110.0
  41. norm_price_coeff: 0.236297
  42. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 6.61631e-06
  43. (best_book.bid_price + step_size / 2): 0.0063935
  44. current_price: 0.00640012
  45. max_trade_available_quantity: 5754.5
  46. calculated_current_volume: 9.45009
  47. current_quantity: 1476.55
  48. price/quantity: 0.00640012/1476.55
  49. [ 2025-01-13-13-08-45 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  50. [ 2025-01-13-13-08-45 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  51. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9903.98, "locked": 1476.55, "update_time": 1736773725083}}
  52. $ tlm_LOTT
  53. [ 2025-01-13-13-08-45 ] INFO : WebSocketEvent: , event_time=1736773725119", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 10735303360792463511, "order": {"symbol": "LOTTUSDT", "coid": 142474262077988, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006400, "quantity": 1476.55, "filled_quantity": 0.00, "update_time": 0}}
  54. AccountOrderFail
  55. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 28.3748, "locked": 9.45464, "update_time": 1736773725108}}
  56. $ tlm_USDT
  57. [ 2025-01-13-13-08-45 ] INFO : WebSocketEvent: , event_time=1736773725139", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262077988, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006400, "quantity": 1476.55, "filled_quantity": 1476.55, "update_time": 0}}
  58. [ 2025-01-13-13-08-45 ] INFO : WebSocketEvent: , event_time=1736773725139", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 123483296098960, "order": {"symbol": "LOTTUSDT", "coid": 142474262077987, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006400, "quantity": 1476.55, "filled_quantity": 1476.55, "update_time": 0}}
  59. [ 2025-01-13-13-08-45 ] INFO : WebSocketEvent: , event_time=1736773725156", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 123483296098960, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262077988, "commission": {"asset": "USDT", "fee": 0.00472496}, "trade": {"symbol": "LOTTUSDT", "price": 0.006400, "quantity": 1476.55, "trade_side": SELL, "trade_time": 1736773725138}}
  60. [ 2025-01-13-13-08-45 ] INFO : WebSocketEvent: , event_time=1736773725156", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 123483296098960, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262077987, "commission": {"asset": "USDT", "fee": 0.00472496}, "trade": {"symbol": "LOTTUSDT", "price": 0.006400, "quantity": 1476.55, "trade_side": BUY, "trade_time": 1736773725138}}
  61. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296098960, "balance": {"asset": "LOTT", "free": 9903.98, "locked": 0, "update_time": 1736773725155}}
  62. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296039020, "balance": {"asset": "USDT", "free": 37.82, "locked": 9.45464, "update_time": 1736773725155}}
  63. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296039020, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773725155}}
  64. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 37.82, "locked": 0, "update_time": 1736773725155}}
  65. [ 2025-01-13-13-08-52 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773725155}
  66. [ 2025-01-13-13-08-52 ] DEBUG quote balance: {"asset": "USDT", "free": 37.82, "locked": 0, "update_time": 1736773725155}
  67. ask: 0.006422/215.3
  68. bid: 0.006393/225.44
  69. current_volume_5m: 612.67
  70. btc_turnover_1d: 1.99048e+10
  71. price_max: 93413.1
  72. price_min: 90397.4
  73. sleep_time: 3782
  74. current_volume: 7.72373
  75. btc_klines_5m[btc_klines_5m.size() - 1].close: 91132.8
  76. norm_price_coeff: 0.243857
  77. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 6.828e-06
  78. (best_book.bid_price + step_size / 2): 0.0063935
  79. current_price: 0.00640033
  80. max_trade_available_quantity: 5752.83
  81. calculated_current_volume: 10.2983
  82. current_quantity: 1609.03
  83. price/quantity: 0.00640033/1609.03
  84. [ 2025-01-13-13-08-52 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  85. [ 2025-01-13-13-08-52 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  86. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9771.5, "locked": 1609.03, "update_time": 1736773732071}}
  87. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 30, "balance": {"asset": "USDT", "free": 27.5171, "locked": 10.3029, "update_time": 1736773732074}}
  88. [ 2025-01-13-13-08-52 ] INFO : WebSocketEvent: , event_time=1736773732093", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262077990, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.006400, "quantity": 1609.03, "filled_quantity": 0.00, "update_time": 0}}
  89. [ 2025-01-13-13-08-52 ] INFO : WebSocketEvent: , event_time=1736773732095", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "LOTTUSDT", "coid": 142474262077990, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006400, "quantity": 1609.03, "filled_quantity": 1609.03, "update_time": 0}}
  90. [ 2025-01-13-13-08-52 ] INFO : WebSocketEvent: , event_time=1736773732095", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 123483652614800, "order": {"symbol": "LOTTUSDT", "coid": 142474262077989, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006400, "quantity": 1609.03, "filled_quantity": 1609.03, "update_time": 0}}
  91. [ 2025-01-13-13-08-52 ] INFO : WebSocketEvent: , event_time=1736773732114", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 10735303360792463511, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262077989, "commission": {"asset": "USDT", "fee": 0.0051489}, "trade": {"symbol": "LOTTUSDT", "price": 0.006400, "quantity": 1609.03, "trade_side": BUY, "trade_time": 1736773732094}}
  92. [ 2025-01-13-13-08-52 ] INFO : WebSocketEvent: , event_time=1736773732114", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 10735303360792463511, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262077990, "commission": {"asset": "USDT", "fee": 0.0051489}, "trade": {"symbol": "LOTTUSDT", "price": 0.006400, "quantity": 1609.03, "trade_side": SELL, "trade_time": 1736773732094}}
  93. AccountOrderFail
  94. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 1609.03, "update_time": 1736773732113}}
  95. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773732113}}
  96. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 0, "balance": {"asset": "USDT", "free": 37.8097, "locked": 0, "update_time": 1736773732113}}
  97. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 37.8097, "locked": 10.3029, "update_time": 1736773732113}}
  98. [ 2025-01-13-13-08-56 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773732113}
  99. [ 2025-01-13-13-08-56 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8097, "locked": 10.3029, "update_time": 1736773732113}
  100. [ 2025-01-13-13-08-56 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
  101. [ 2025-01-13-13-08-56 ] DEBUG csize: 0
  102. {"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.8097, "locked": 0, "update_time": 0}]}
  103. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  104. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  105. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  106. {"asset": "MCC", "free": 435276, "locked": 0, "update_time": 0}
  107. {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  108. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  109. {"asset": "USDT", "free": 37.8097, "locked": 0, "update_time": 0}
  110. [ 2025-01-13-13-09-00 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
  111. [ 2025-01-13-13-09-00 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8097, "locked": 0, "update_time": 0}
  112. ask: 0.006422/215.3
  113. bid: 0.006393/225.44
  114. current_volume_5m: 612.67
  115. btc_turnover_1d: 1.99048e+10
  116. price_max: 93413.1
  117. price_min: 90397.4
  118. sleep_time: 4871
  119. current_volume: 9.94772
  120. btc_klines_5m[btc_klines_5m.size() - 1].close: 91173.6
  121. norm_price_coeff: 0.257386
  122. (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 7.20682e-06
  123. (best_book.bid_price + step_size / 2): 0.0063935
  124. current_price: 0.00640071
  125. max_trade_available_quantity: 5750.88
  126. calculated_current_volume: 11.2328
  127. current_quantity: 1754.93
  128. price/quantity: 0.00640071/1754.93
  129. [ 2025-01-13-13-09-00 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  130. [ 2025-01-13-13-09-00 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
  131. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 26.5708, "locked": 11.2389, "update_time": 1736773740074}}
  132. [ 2025-01-13-13-09-00 ] INFO : WebSocketEvent: , event_time=1736773740100", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 10735303360792428652, "order": {"symbol": "LOTTUSDT", "coid": 142474262077991, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.006401, "quantity": 1754.93, "filled_quantity": 0.00, "update_time": 0}}
  133. AccountOrderFail
  134. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9625.6, "locked": 1754.93, "update_time": 1736773740126}}
  135. [ 2025-01-13-13-09-00 ] INFO : WebSocketEvent: , event_time=1736773740154", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 10735303360792428652, "order": {"symbol": "LOTTUSDT", "coid": 142474262077991, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.006401, "quantity": 1754.93, "filled_quantity": 1754.93, "update_time": 0}}
  136. [ 2025-01-13-13-09-00 ] INFO : WebSocketEvent: , event_time=1736773740154", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 123483296098960, "order": {"symbol": "LOTTUSDT", "coid": 142474262077992, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.006401, "quantity": 1754.93, "filled_quantity": 1754.93, "update_time": 0}}
  137. [ 2025-01-13-13-09-00 ] INFO : WebSocketEvent: , event_time=1736773740174", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 10735303360792463511, "is_maker": true, "is_self_trade": true, "client_order_id": 142474262077991, "commission": {"asset": "USDT", "fee": 0.00561665}, "trade": {"symbol": "LOTTUSDT", "price": 0.006401, "quantity": 1754.93, "trade_side": BUY, "trade_time": 1736773740152}}
  138. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 1754.93, "update_time": 1736773740172}}
  139. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "USDT", "free": 26.5708, "locked": 0, "update_time": 1736773740172}}
  140. [ 2025-01-13-13-09-00 ] INFO : WebSocketEvent: , event_time=1736773740177", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 10735303360792428652, "is_maker": false, "is_self_trade": true, "client_order_id": 142474262077992, "commission": {"asset": "USDT", "fee": 0.00561665}, "trade": {"symbol": "LOTTUSDT", "price": 0.006401, "quantity": 1754.93, "trade_side": SELL, "trade_time": 1736773740152}}
  141. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "USDT", "free": 37.7985, "locked": 0, "update_time": 1736773740175}}
  142. BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773740175}}
  143. ^C
  144. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
  145. [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
  146. [ 25%] Linking CXX executable test
  147. [100%] Built target tes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement