Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ ./test volume/launch.config
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys//mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- run forever balance 0x5f6e53310490
- {"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}]}
- Initializing orderbook
- {"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}]}
- {"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}
- {"symbol": "LOTTUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
- cooldown: 4000
- sleep time: 4000
- binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
- /mnt/volume_telemetry/LOTT_USDT_mexc
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "LOTTUSDT"}]}
- get balance indicator 0x5f6e533105b8
- {"ok": "1"}
- {"ok": "1"}
- [ 2025-01-13-13-08-45 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
- [ 2025-01-13-13-08-45 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8294, "locked": 0, "update_time": 0}
- ask: 0.006422/215.3
- bid: 0.006393/225.44
- current_volume_5m: 612.67
- btc_turnover_1d: 1.99048e+10
- price_max: 93413.1
- price_min: 90397.4
- sleep_time: 6941
- current_volume: 14.1751
- btc_klines_5m[btc_klines_5m.size() - 1].close: 91110.0
- norm_price_coeff: 0.236297
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 6.61631e-06
- (best_book.bid_price + step_size / 2): 0.0063935
- current_price: 0.00640012
- max_trade_available_quantity: 5754.5
- calculated_current_volume: 9.45009
- current_quantity: 1476.55
- price/quantity: 0.00640012/1476.55
- [ 2025-01-13-13-08-45 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- [ 2025-01-13-13-08-45 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9903.98, "locked": 1476.55, "update_time": 1736773725083}}
- $ tlm_LOTT
- [ 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}}
- AccountOrderFail
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 28.3748, "locked": 9.45464, "update_time": 1736773725108}}
- $ tlm_USDT
- [ 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}}
- [ 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}}
- [ 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}}
- [ 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}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296098960, "balance": {"asset": "LOTT", "free": 9903.98, "locked": 0, "update_time": 1736773725155}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296039020, "balance": {"asset": "USDT", "free": 37.82, "locked": 9.45464, "update_time": 1736773725155}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 123483296039020, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773725155}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 37.82, "locked": 0, "update_time": 1736773725155}}
- [ 2025-01-13-13-08-52 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773725155}
- [ 2025-01-13-13-08-52 ] DEBUG quote balance: {"asset": "USDT", "free": 37.82, "locked": 0, "update_time": 1736773725155}
- ask: 0.006422/215.3
- bid: 0.006393/225.44
- current_volume_5m: 612.67
- btc_turnover_1d: 1.99048e+10
- price_max: 93413.1
- price_min: 90397.4
- sleep_time: 3782
- current_volume: 7.72373
- btc_klines_5m[btc_klines_5m.size() - 1].close: 91132.8
- norm_price_coeff: 0.243857
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 6.828e-06
- (best_book.bid_price + step_size / 2): 0.0063935
- current_price: 0.00640033
- max_trade_available_quantity: 5752.83
- calculated_current_volume: 10.2983
- current_quantity: 1609.03
- price/quantity: 0.00640033/1609.03
- [ 2025-01-13-13-08-52 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- [ 2025-01-13-13-08-52 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9771.5, "locked": 1609.03, "update_time": 1736773732071}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 30, "balance": {"asset": "USDT", "free": 27.5171, "locked": 10.3029, "update_time": 1736773732074}}
- [ 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}}
- [ 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}}
- [ 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}}
- [ 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}}
- [ 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}}
- AccountOrderFail
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 1609.03, "update_time": 1736773732113}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773732113}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 0, "balance": {"asset": "USDT", "free": 37.8097, "locked": 0, "update_time": 1736773732113}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 37.8097, "locked": 10.3029, "update_time": 1736773732113}}
- [ 2025-01-13-13-08-56 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773732113}
- [ 2025-01-13-13-08-56 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8097, "locked": 10.3029, "update_time": 1736773732113}
- [ 2025-01-13-13-08-56 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: []
- [ 2025-01-13-13-08-56 ] DEBUG csize: 0
- {"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}]}
- {"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}
- [ 2025-01-13-13-09-00 ] DEBUG base balance: {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 0}
- [ 2025-01-13-13-09-00 ] DEBUG quote balance: {"asset": "USDT", "free": 37.8097, "locked": 0, "update_time": 0}
- ask: 0.006422/215.3
- bid: 0.006393/225.44
- current_volume_5m: 612.67
- btc_turnover_1d: 1.99048e+10
- price_max: 93413.1
- price_min: 90397.4
- sleep_time: 4871
- current_volume: 9.94772
- btc_klines_5m[btc_klines_5m.size() - 1].close: 91173.6
- norm_price_coeff: 0.257386
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 7.20682e-06
- (best_book.bid_price + step_size / 2): 0.0063935
- current_price: 0.00640071
- max_trade_available_quantity: 5750.88
- calculated_current_volume: 11.2328
- current_quantity: 1754.93
- price/quantity: 0.00640071/1754.93
- [ 2025-01-13-13-09-00 ] DEBUG volume strategy result: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- [ 2025-01-13-13-09-00 ] INFO execution order event process: OrderEvent: symbol="LOTTUSDT", type="SELF_TRADE"
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "USDT", "free": 26.5708, "locked": 11.2389, "update_time": 1736773740074}}
- [ 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}}
- AccountOrderFail
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 9625.6, "locked": 1754.93, "update_time": 1736773740126}}
- [ 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}}
- [ 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}}
- [ 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}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792463511, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 1754.93, "update_time": 1736773740172}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "USDT", "free": 26.5708, "locked": 0, "update_time": 1736773740172}}
- [ 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}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "USDT", "free": 37.7985, "locked": 0, "update_time": 1736773740175}}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 10735303360792428652, "balance": {"asset": "LOTT", "free": 11380.5, "locked": 0, "update_time": 1736773740175}}
- ^C
- ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ cmake --build .
- [ 12%] Building CXX object CMakeFiles/test.dir/soft/parsing/mexc_spot/src/api.cpp.o
- [ 25%] Linking CXX executable test
- [100%] Built target tes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement