Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/ubuntu/keys/bitmart_spot/test_1.account
- converts_ size: 4
- TMP SIZE 2000
- bitmart_spot
- [New Thread 0x7fffe6a00640 (LWP 365664)]
- api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
- BalanceIndicator constructor
- API 0x555555f95c00
- tdir /mnt/telemetry
- run forever balance 0x555555f95c00
- hash: 5562581342570010103
- hash: 5562581342570010103
- hash: 5562581342570010103
- get balance indicator 0x555555f96090
- hash: 5562581342570010103
- hash: 5562581342570010103
- >:)
- TMP SIZE 2000
- TMP SIZE 2000
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_LAI
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_LAI
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_STONKS
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_STONKS
- {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_USDT
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_USDT
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_CHAT_Delist
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_CHAT_Delist
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_BTC
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_BTC
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
- TMP SIZE 2000
- calculate_init_balance_position = false, but SPOT
- position_controller successfully calculate spot balance
- init_base_balance = 10149
- init_quote_balance = 15.9814
- hash: 5562581342570010103
- {"name": "MARKET_MAKING_MANAGER", "rpnl_bound": "1000", "cooldown": "10000", "max_position": "20", "critical_min_balance": "0", "upnl_bound": "1000", "labels": ["52"], "symbols": [{"account": "TEST_1", "market": "BITMART_SPOT", "symbol": "LAI_USDT"}]}
- [New Thread 0x7fffe6600640 (LWP 365665)]
- hash: 5562581342570010103
- [ 1730365785054 ] MESSAGE: interval_call _update_routine()
- [New Thread 0x7fffe5c00640 (LWP 365666)]
- [New Thread 0x7fffe5200640 (LWP 365667)]
- [New Thread 0x7fffe4e00640 (LWP 365668)]
- NO WRITER
- NO WRITER
- Telemetry logger constructor: /mnt/telemetry//bitmart_spot/tlm_test_1_LAI_USDT
- [ 1730365785118 ] MESSAGE: update_routine() Open orders size:
- PrivateReconnect: {"ok": "1"}
- PublicReconnect: {"ok": "1"}
- [ 1730365788055 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365788055 ] MESSAGE: calculate orders mid price = 0.015439
- [ 2024-10-31-09-09-48 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-09-48 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-09-48 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
- {"ask_price": 0.019986, "ask_quantity": 553, "bid_price": 0.012485, "bid_quantity": 78724, "update_time_micro": 1730365782986000}
- [ 1730365788056 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-09-48 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
- [ 2024-10-31-09-09-48 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0224637, 9134.1); ], bids: [(0.00841425, 930.479); ]
- [ 1730365788056 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 0
- order_storage::create(): 142467854140315
- order_storage::create(): 142467854140316
- [ 2024-10-31-09-09-48 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365788151620", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365788104000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365788104000}
- update_order(): 142467854140315 FEED
- update_order(): 142467854140316 NEW
- update_order(): 142467854140315 NEW
- [ 2024-10-31-09-09-48 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365788153566", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365788105000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365788105000}
- update_order(): 142467854140316 FEED
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 1730365795055 ] MESSAGE: interval_call _update_routine()
- [ 1730365795124 ] MESSAGE: date_routine() Open orders size:
- update_order(): 142467854140316 FEED
- update_order(): 142467854140315 FEED
- [ 1730365798056 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365798056 ] MESSAGE: calculate orders mid price = 0.015173
- [ 2024-10-31-09-09-58 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-09-58 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13683, "locked": 7.82502, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-09-58 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
- {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365797997000}
- [ 1730365798057 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-09-58 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
- [ 2024-10-31-09-09-58 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.791); ]
- [ 1730365798057 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 2
- cancel order: 142467854140316
- cancel order: 142467854140315
- order_storage::create(): 142467854140317
- order_storage::create(): 142467854140318
- retry cancel order: 142467854140316
- retry cancel order: 142467854140315
- retry cancel order: 142467854140316
- retry cancel order: 142467854140315
- update_order(): 142467854140316 CANCEL
- orders_ erase: 142467854140316
- {"trace": "5be8cf53f2d1448f95d9bd4ac40a5b87.82.17303657980967022", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467854140318 NEW
- no result
- update_order(): 142467854140315 CANCEL
- orders_ erase: 142467854140315
- update_order(): 142467854140317 NEW
- [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798154572", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365798108000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365798108000}
- update_order(): 142467854140317 FEED
- {"trace": "c2855322303c49df8e857408804dec59.81.17303657981268159", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140316 CANCEL
- no result
- [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798160331", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365798133000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140315, "order_id": "794666058035789056", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008414, "quantity": 930.0, "filled_quantity": 0.0, "update_time_micro": 1730365798133000}
- update_order(): 142467854140315 FEED
- {"trace": "bee2512d27944b76aa3bc26f0f789775.83.17303657981323421", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140315 CANCEL
- no result
- {"trace": "5be8cf53f2d1448f95d9bd4ac40a5b87.71.17303657981544211", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140316 CANCEL
- no result
- {"trace": "366bda62530540008a964c369cb244d0.82.17303657981580999", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140315 CANCEL
- no result
- [ 2024-10-31-09-09-58 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365798240412", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365798127000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140316, "order_id": "794666058048066561", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022464, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365798127000}
- update_order(): 142467854140316 FEED
- basic_api::start_streams catch: raw string: pong
- basic_api::start_streams catch: raw string: pong
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 1730365805054 ] MESSAGE: interval_call _update_routine()
- [ 1730365805123 ] MESSAGE: pdate_routine() Open orders size:
- update_order(): 142467854140318 FEED
- orders_ erase: 142467854140318
- update_order(): 142467854140317 FEED
- [ 1730365808057 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365808057 ] MESSAGE: calculate orders mid price = 0.015172
- [ 2024-10-31-09-10-08 ] DEBUG base balance: {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-08 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-08 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
- {"ask_price": 0.019982, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365804524000}
- [ 1730365808058 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-10-08 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
- [ 2024-10-31-09-10-08 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220753, 9134.1); ], bids: [(0.00826874, 946.854); ]
- [ 1730365808059 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 1
- cancel order: 142467854140317
- order_storage::create(): 142467854140319
- order_storage::create(): 142467854140320
- retry cancel order: 142467854140317
- retry cancel order: 142467854140317
- update_order(): 142467854140317 CANCEL
- orders_ erase: 142467854140317
- update_order(): 142467854140319 NEW
- [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808155958", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808124000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140317, "order_id": "794666225875732738", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808124000}
- update_order(): 142467854140317 FEED
- [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808156420", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808106000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365808106000}
- update_order(): 142467854140319 FEED
- [ 2024-10-31-09-10-08 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365808162903", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365808115000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365808115000}
- update_order(): 142467854140320 FEED
- update_order(): 142467854140320 NEW
- {"trace": "366bda62530540008a964c369cb244d0.84.17303658081394202", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140317 CANCEL
- no result
- {"trace": "c64b085ab4ca4ff794908a07f0dc38d0.77.17303658081550558", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140317 CANCEL
- no result
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 1730365815055 ] MESSAGE: interval_call _update_routine()
- basic_api::start_streams catch: raw string: pong
- basic_api::start_streams catch: raw string: pong
- [ 1730365815122 ] MESSAGE: date_routine() Open orders size:
- update_order(): 142467854140320 FEED
- update_order(): 142467854140319 FEED
- [ 1730365818059 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365818059 ] MESSAGE: calculate orders mid price = 0.015171
- [ 2024-10-31-09-10-18 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-18 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-18 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
- {"ask_price": 0.019981, "ask_quantity": 2359, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365817610000}
- [ 1730365818059 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-10-18 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
- [ 2024-10-31-09-10-18 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220738, 9134.1); ], bids: [(0.00826819, 946.916); ]
- [ 1730365818059 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 2
- cancel order: 142467854140320
- cancel order: 142467854140319
- order_storage::create(): 142467854140321
- order_storage::create(): 142467854140322
- retry cancel order: 142467854140319
- retry cancel order: 142467854140320
- retry cancel order: 142467854140319
- retry cancel order: 142467854140320
- {"trace": "c2855322303c49df8e857408804dec59.73.17303658180955781", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467854140322 NEW
- no result
- update_order(): 142467854140320 CANCEL
- orders_ erase: 142467854140320
- update_order(): 142467854140319 CANCEL
- orders_ erase: 142467854140319
- update_order(): 142467854140321 NEW
- [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818152864", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818104000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818104000}
- update_order(): 142467854140321 FEED
- [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818157199", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365818125000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140320, "order_id": "794666393763426816", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.022075, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365818125000}
- update_order(): 142467854140320 FEED
- {"trace": "b251e07f6bf94e07bd5b224f51df4e00.84.17303658181313537", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140319 CANCEL
- no result
- {"trace": "ba14adb9af2c45138f0f7dae1e4d8d6d.66.17303658181363059", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140320 CANCEL
- no result
- [ 2024-10-31-09-10-18 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365818175028", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737337354176, "order": {"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818147000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140319, "order_id": "794666393614141184", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365818147000}
- update_order(): 142467854140319 FEED
- {"trace": "9fa7957089d64d3e92200267bf2a9d92.72.17303658181549688", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140319 CANCEL
- no result
- {"trace": "d56d6fe2db344bbeb979604275343640.63.17303658181594054", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140320 CANCEL
- no result
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 1730365825055 ] MESSAGE: interval_call _update_routine()
- [ 1730365825122 ] MESSAGE: pdate_routine() Open orders size:
- update_order(): 142467854140322 FEED
- orders_ erase: 142467854140322
- update_order(): 142467854140321 FEED
- [ 1730365828060 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365828060 ] MESSAGE: calculate orders mid price = 0.015173
- [ 2024-10-31-09-10-28 ] DEBUG base balance: {"asset": "LAI", "free": 10149, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-28 ] DEBUG quote balance: {"asset": "USDT", "free": 8.14033, "locked": 7.82153, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-28 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365827191000}
- [ 1730365828060 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-10-28 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- [ 2024-10-31-09-10-28 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- [ 1730365828061 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 1
- cancel order: 142467854140321
- order_storage::create(): 142467854140323
- order_storage::create(): 142467854140324
- retry cancel order: 142467854140321
- retry cancel order: 142467854140321
- update_order(): 142467854140321 CANCEL
- orders_ erase: 142467854140321
- update_order(): 142467854140323 NEW
- [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828156737", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737083598784, "order": {"symbol": "LAI_USDT", "coid": 142467854140323, "order_id": "794666729155182592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828106000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140323, "order_id": "794666729155182592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.008269, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828106000}
- update_order(): 142467854140323 FEED
- {"trace": "776824c663ea402caeccc9a7b8e5493e.75.17303658281287410", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140321 CANCEL
- no result
- [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828161361", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828129000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140321, "order_id": "794666561352943872", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.008268, "quantity": 946.0, "filled_quantity": 0.0, "update_time_micro": 1730365828129000}
- update_order(): 142467854140321 FEED
- update_order(): 142467854140324 NEW
- [ 2024-10-31-09-10-28 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730365828168094", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737163290560, "order": {"symbol": "LAI_USDT", "coid": 142467854140324, "order_id": "794666729338355456", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022077, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365828117000}}
- [{"symbol": "LAI_USDT", "coid": 142467854140324, "order_id": "794666729338355456", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.022077, "quantity": 9134.0, "filled_quantity": 0.0, "update_time_micro": 1730365828117000}
- update_order(): 142467854140324 FEED
- {"trace": "ba14adb9af2c45138f0f7dae1e4d8d6d.84.17303658281570063", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467854140321 CANCEL
- no result
- basic_api::start_streams catch: raw string: pong
- basic_api::start_streams catch: raw string: pong
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}, {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}]}
- {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "BTC", "free": 5e-05, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 1730365835055 ] MESSAGE: interval_call _update_routine()
- [ 1730365835128 ] MESSAGE: date_routine() Open orders size:
- update_order(): 142467854140324 FEED
- update_order(): 142467854140323 FEED
- [ 1730365838062 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730365838062 ] MESSAGE: calculate orders mid price = 0.015173
- [ 2024-10-31-09-10-38 ] DEBUG base balance: {"asset": "LAI", "free": 1015, "locked": 9134, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-38 ] DEBUG quote balance: {"asset": "USDT", "free": 8.13938, "locked": 7.82247, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-31-09-10-38 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- {"ask_price": 0.019984, "ask_quantity": 10508, "bid_price": 0.010362, "bid_quantity": 12014, "update_time_micro": 1730365827191000}
- [ 1730365838063 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-31-09-10-38 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- [ 2024-10-31-09-10-38 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0220767, 9134.1); ], bids: [(0.00826928, 946.792); ]
- [ 1730365838063 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 0
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=365665, futex_word=0x7fffe6600910) at ./nptl/futex-internal.c:57
- 57 ./nptl/futex-internal.c: No such file or directory.
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement