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 355844)]
- api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
- BalanceIndicator constructor
- API 0x555555f95dc0
- tdir /mnt/telemetry
- run forever balance 0x555555f95dc0
- hash: 5562581342570010103
- hash: 5562581342570010103
- hash: 5562581342570010103
- get balance indicator 0x555555f96250
- hash: 5562581342570010103
- hash: 5562581342570010103
- >:)
- TMP SIZE 2000
- TMP SIZE 2000
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 991, "locked": 8913, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 20.9806, "locked": 0, "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": 991, "locked": 8913, "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": 20.9806, "locked": 0, "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 = 9904
- init_quote_balance = 20.9806
- 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 355845)]
- [New Thread 0x7fffe5c00640 (LWP 355846)]
- [New Thread 0x7fffe5200640 (LWP 355847)]
- [New Thread 0x7fffe4e00640 (LWP 355848)]
- NO WRITER
- NO WRITER
- hash: 5562581342570010103
- PublicReconnect: {"ok": "1"}
- PrivateReconnect: {"ok": "1"}
- Telemetry logger constructor: /mnt/telemetry//bitmart_spot/tlm_test_1_LAI_USDT
- [ 1730319216798 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319216798 ] MESSAGE: calculate orders mid price = 0.014263
- [ 2024-10-30-20-13-36 ] DEBUG base balance: {"asset": "LAI", "free": 991, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-36 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-36 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0146196, 8913.6); ], bids: [(0.0139064, 1323.88); ]
- {"ask_price": 0.016441, "ask_quantity": 2359, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319203536000}
- [ 1730319216799 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 2024-10-30-20-13-36 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0146196, 8913.6); ], bids: [(0.0139064, 1323.88); ]
- [ 2024-10-30-20-13-36 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0146196, 8913.6); ], bids: [(0.0139064, 1323.88); ]
- [ 1730319216799 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 0
- update_order(): 142467807569053 NEW
- [ 2024-10-30-20-13-36 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319216885345", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467807569053, "order_id": "793884721942797568", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.013906, "quantity": 1323.0, "filled_quantity": 0.0, "update_time_micro": 1730319216844000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569053, "order_id": "793884721942797568", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.013906, "quantity": 1323.0, "filled_quantity": 0.0, "update_time_micro": 1730319216844000}
- update_order(): 142467807569053 FEED
- update_order(): 142467807569054 NEW
- [ 2024-10-30-20-13-36 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319216895062", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737083598784, "order": {"symbol": "LAI_USDT", "coid": 142467807569054, "order_id": "793884722031343872", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.014620, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730319216849000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569054, "order_id": "793884722031343872", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.014620, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730319216849000}
- update_order(): 142467807569054 FEED
- BalanceIndicator::_process(ws_event): ACCOUNT_BALANCE
- BalanceIndicator::_process(ws_event): ACCOUNT_BALANCE
- [ 2024-10-30-20-13-37 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319217074861", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737083598784, "order": {"symbol": "LAI_USDT", "coid": 142467807569053, "order_id": "793884721942797568", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.013906, "quantity": 1323.0, "filled_quantity": 1323.0, "update_time_micro": 1730319217030000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569053, "order_id": "793884721942797568", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.013906, "quantity": 1323.0, "filled_quantity": 1323.0, "update_time_micro": 1730319217030000}
- update_order(): 142467807569053 FEED
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 2314, "locked": 8913, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 2.53695, "locked": 0, "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": 2314, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 2.53695, "locked": 0, "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}
- [ 1730319226799 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319226800 ] MESSAGE: calculate orders mid price = 0.013353
- [ 2024-10-30-20-13-46 ] DEBUG base balance: {"asset": "LAI", "free": 2314, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-46 ] DEBUG quote balance: {"asset": "USDT", "free": 2.53695, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-46 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136868, 10104.3); ], bids: [(0.0130192, 170.992); ]
- {"ask_price": 0.01462, "ask_quantity": 8913, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319219196000}
- [ 1730319226800 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730319226800 ] MESSAGE: realised pnl = 0.000000 & upnl = -2.453854
- [ 1730319226800 ] MESSAGE: position base quantity = 1323.000000 pnl price = -0.741917
- [ 2024-10-30-20-13-46 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136868, 10104.3); ], bids: [(0.0130192, 170.992); ]
- [ 2024-10-30-20-13-46 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136868, 10104.3); ], bids: [(0.0130192, 170.992); ]
- [ 2024-10-30-20-13-46 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136868, 10104.3); ], bids: [(0.0130192, 170.992); ]
- [ 1730319226801 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 1
- {"trace": "5ca6c783416e4ed3bcef5a4dc0a92ed5.82.17303192268352236", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- update_order(): 142467807569055 NEW
- {"trace": "e24320d83f494aa7acf93d86c347cf29.71.17303192268352639", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467807569056 NEW
- update_order(): 142467807569054 CANCEL
- [ 2024-10-30-20-13-46 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319226892217", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737037461440, "order": {"symbol": "LAI_USDT", "coid": 142467807569054, "order_id": "793884722031343872", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.014620, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730319226864000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569054, "order_id": "793884722031343872", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.014620, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730319226864000}
- update_order(): 142467807569054 FEED
- {"trace": "b90a3babd0614984a5d7845117a92c07.70.17303192268657853", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467807569054 CANCEL
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.65.17303192268982998", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467807569054 CANCEL
- 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": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 2.53695, "locked": 0, "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": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 2.53695, "locked": 0, "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}
- [ 1730319236801 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319236801 ] MESSAGE: calculate orders mid price = 0.013352
- [ 2024-10-30-20-13-56 ] DEBUG base balance: {"asset": "LAI", "free": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-56 ] DEBUG quote balance: {"asset": "USDT", "free": 2.53695, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-13-56 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136858, 10104.3); ], bids: [(0.0130182, 171.005); ]
- {"ask_price": 0.014619, "ask_quantity": 10508, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319227803000}
- [ 1730319236801 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730319236801 ] MESSAGE: realised pnl = 0.000000 & upnl = -2.453854
- [ 1730319236801 ] MESSAGE: position base quantity = 1323.000000 pnl price = -0.741917
- [ 2024-10-30-20-13-56 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136858, 10104.3); ], bids: [(0.0130182, 171.005); ]
- [ 2024-10-30-20-13-56 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136858, 10104.3); ], bids: [(0.0130182, 171.005); ]
- [ 2024-10-30-20-13-56 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0136858, 10104.3); ], bids: [(0.0130182, 171.005); ]
- [ 1730319236802 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 2
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.77.17303192368331341", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "2256121ca4cd4a7fa0c797dd25b7dcbe.68.17303192368354577", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.65.17303192368380525", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- update_order(): 142467807569057 NEW
- [ 2024-10-30-20-13-56 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319236890243", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737079404480, "order": {"symbol": "LAI_USDT", "coid": 142467807569058, "order_id": "793885057542174464", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.013686, "quantity": 10104.0, "filled_quantity": 0.0, "update_time_micro": 1730319236847000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569058, "order_id": "793885057542174464", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.013686, "quantity": 10104.0, "filled_quantity": 0.0, "update_time_micro": 1730319236847000}
- update_order(): 142467807569058 FEED
- update_order(): 142467807569058 NEW
- {"trace": "e24320d83f494aa7acf93d86c347cf29.81.17303192368710060", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "b90a3babd0614984a5d7845117a92c07.68.17303192368702547", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "c184e56786b04631bc185deb4b7e4881.85.17303192368961507", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "2256121ca4cd4a7fa0c797dd25b7dcbe.64.17303192368989347", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1123, "locked": 10104, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 2.53695, "locked": 0, "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": 1123, "locked": 10104, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 2.53695, "locked": 0, "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}
- basic_api::start_streams catch: raw string: pong
- basic_api::start_streams catch: raw string: pong
- [ 1730319246802 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319246802 ] MESSAGE: calculate orders mid price = 0.012885
- [ 2024-10-30-20-14-06 ] DEBUG base balance: {"asset": "LAI", "free": 1123, "locked": 10104, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-06 ] DEBUG quote balance: {"asset": "USDT", "free": 2.53695, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-06 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- {"ask_price": 0.013685, "ask_quantity": 10508, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319246651000}
- [ 1730319246802 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730319246802 ] MESSAGE: realised pnl = 0.000000 & upnl = -2.453854
- [ 1730319246802 ] MESSAGE: position base quantity = 1323.000000 pnl price = -0.741917
- [ 2024-10-30-20-14-06 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-06 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-06 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 1730319246803 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 4
- {"trace": "b90a3babd0614984a5d7845117a92c07.75.17303192468432867", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.79.17303192468439145", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "5badf4265d7a48b09b297320b8f7b130.84.17303192468469885", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- update_order(): 142467807569058 CANCEL
- {"trace": "c184e56786b04631bc185deb4b7e4881.73.17303192468437135", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467807569060 NEW
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.71.17303192468530791", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- update_order(): 142467807569059 NEW
- {"trace": "e17b23bdff6d490bbb8850abdd2c3d29.71.17303192468721006", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467807569058 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.79.17303192468739153", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.82.17303192468722072", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "b90a3babd0614984a5d7845117a92c07.68.17303192468743879", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- [ 2024-10-30-20-14-06 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730319246907129", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737037461440, "order": {"symbol": "LAI_USDT", "coid": 142467807569058, "order_id": "793885057542174464", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.013686, "quantity": 10104.0, "filled_quantity": 0.0, "update_time_micro": 1730319246878000}}
- [{"symbol": "LAI_USDT", "coid": 142467807569058, "order_id": "793885057542174464", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.013686, "quantity": 10104.0, "filled_quantity": 0.0, "update_time_micro": 1730319246878000}
- update_order(): 142467807569058 FEED
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.68.17303192468975098", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "afd21ae56bf8430fad92f7e642d961ad.84.17303192468982073", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.80.17303192469001390", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467807569058 CANCEL
- {"trace": "2256121ca4cd4a7fa0c797dd25b7dcbe.71.17303192469009719", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 2.53695, "locked": 0, "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": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 2.53695, "locked": 0, "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}
- [ 1730319256803 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319256803 ] MESSAGE: calculate orders mid price = 0.012885
- [ 2024-10-30-20-14-16 ] DEBUG base balance: {"asset": "LAI", "free": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-16 ] DEBUG quote balance: {"asset": "USDT", "free": 2.53695, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-16 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- {"ask_price": 0.013685, "ask_quantity": 26283, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319255233000}
- [ 1730319256803 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730319256803 ] MESSAGE: realised pnl = 0.000000 & upnl = -2.453854
- [ 1730319256803 ] MESSAGE: position base quantity = 1323.000000 pnl price = -0.741917
- [ 2024-10-30-20-14-16 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-16 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-16 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 1730319256804 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 3
- {"trace": "c184e56786b04631bc185deb4b7e4881.72.17303192568368802", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "5ca6c783416e4ed3bcef5a4dc0a92ed5.84.17303192568388454", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.82.17303192568380698", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "e17b23bdff6d490bbb8850abdd2c3d29.60.17303192568691989", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "afd21ae56bf8430fad92f7e642d961ad.65.17303192568715015", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "b90a3babd0614984a5d7845117a92c07.64.17303192568700621", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "2256121ca4cd4a7fa0c797dd25b7dcbe.71.17303192568991277", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "5badf4265d7a48b09b297320b8f7b130.84.17303192568961321", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.86.17303192568996521", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- 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": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}, {"asset": "USDT", "free": 2.53695, "locked": 0, "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": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "STONKS", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- {"asset": "USDT", "free": 2.53695, "locked": 0, "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}
- [ 1730319266804 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730319266804 ] MESSAGE: calculate orders mid price = 0.012885
- [ 2024-10-30-20-14-26 ] DEBUG base balance: {"asset": "LAI", "free": 11227, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-26 ] DEBUG quote balance: {"asset": "USDT", "free": 2.53695, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-20-14-26 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- {"ask_price": 0.013685, "ask_quantity": 10508, "bid_price": 0.012086, "bid_quantity": 579, "update_time_micro": 1730319265109000}
- [ 1730319266805 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730319266805 ] MESSAGE: realised pnl = 0.000000 & upnl = -2.453854
- [ 1730319266805 ] MESSAGE: position base quantity = 1323.000000 pnl price = -0.741917
- [ 2024-10-30-20-14-26 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-26 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 2024-10-30-20-14-26 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0132071, 10104.3); ], bids: [(0.0125629, 177.202); ]
- [ 1730319266805 ] MESSAGE: Execution::_process_limit_grid() to_cancel size: 3
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.86.17303192668387449", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "e24320d83f494aa7acf93d86c347cf29.71.17303192668408781", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.64.17303192668402006", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "a89b7cf4118c42e4bf69a4e2ce2d914f.78.17303192668695641", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "b90a3babd0614984a5d7845117a92c07.64.17303192668701687", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.69.17303192668711477", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569056 CANCEL
- {"trace": "5ca6c783416e4ed3bcef5a4dc0a92ed5.74.17303192668998614", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569055 CANCEL
- {"trace": "e24320d83f494aa7acf93d86c347cf29.63.17303192669044073", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467807569057 CANCEL
- {"trace": "c184e56786b04631bc185deb4b7e4881.78.17303192669028446", "data": {}, "code": "50032", "message": "Order does not exist"}
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=355845, 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