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 352752)]
- api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
- BalanceIndicator constructor
- API 0x555555f95c30
- tdir /mnt/telemetry
- run forever balance 0x555555f95c30
- hash: 5562581342570010103
- hash: 5562581342570010103
- hash: 5562581342570010103
- get balance indicator 0x555555f960c0
- 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}
- TMP SIZE TMP SIZE $ 2000/mnt/telemetry/bitmart_spot/tlm_test_1_USDT
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_USDT
- calculate_init_balance_position = true
- init_base_balance = 8244
- init_quote_balance = 43.3268
- {"asset": "CHAT_Delist", "free": 0, "locked": 0, "wallet": 0, "update_time_micro": 0}
- hash: 5562581342570010103
- $ /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}
- $ $ {"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"}/mnt/telemetry/bitmart_spot/tlm_test_1_BTC$ {"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"}
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_BTC
- hash: 5562581342570010103
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time_micro": 0}
- $ /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
- [New Thread 0x7fffe6600640 (LWP 352759)]
- [New Thread 0x7fffe5c00640 (LWP 352760)]
- [New Thread 0x7fffe5200640 (LWP 352761)]
- [New Thread 0x7fffe4e00640 (LWP 352762)]
- NO WRITER
- NO WRITER
- Telemetry logger constructor: /mnt/telemetry/bitmart_spot/tlm_test_1_ALGO
- Telemetry logger constructor: /mnt/telemetry//bitmart_spot/tlm_test_1_LAI_USDT
- PrivateReconnect: {"ok": "1"}
- PublicReconnect: {"ok": "1"}
- [ 1730317932422 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730317932422 ] MESSAGE: calculate orders mid price = 0.015670
- [ 2024-10-30-19-52-12 ] DEBUG base balance: {"asset": "LAI", "free": 991, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-12 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-12 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0180205, 8913.6); ], bids: [(0.0133195, 1205.01); ]
- {"ask_price": 0.018359, "ask_quantity": 10508, "bid_price": 0.012982, "bid_quantity": 539, "update_time_micro": 1730317929963000}
- [ 1730317932422 ] MESSAGE: position quote: 22.346220max pos: 20.000000
- [ 1730317932422 ] MESSAGE: Too much position
- [ 1730317932422 ] MESSAGE: Open orders:
- [ 1730317932422 ] MESSAGE: cancel buy
- [ 2024-10-30-19-52-12 ] DEBUG max pos risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0180205, 8913.6); ], bids: []
- [ 1730317932423 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730317932423 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.796100
- [ 1730317932423 ] MESSAGE: position base quantity = 1660.000000 pnl price = -0.588948
- [ 2024-10-30-19-52-12 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0180205, 8913.6); ], bids: []
- [ 2024-10-30-19-52-12 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0180205, 8913.6); ], bids: []
- [ 2024-10-30-19-52-12 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0180205, 8913.6); ], bids: []
- update_order(): 142467806284749 NEW
- [ 2024-10-30-19-52-12 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730317932519836", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467806284749, "order_id": "793863173726322432", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.018021, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317932470000}}
- [{"symbol": "LAI_USDT", "coid": 142467806284749, "order_id": "793863173726322432", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.018021, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317932470000}
- update_order(): 142467806284749 FEED
- {"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}
- {"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}
- [ 1730317942423 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730317942423 ] MESSAGE: calculate orders mid price = 0.015531
- [ 2024-10-30-19-52-22 ] DEBUG base balance: {"asset": "LAI", "free": 991, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-22 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-22 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178606, 8913.6); ], bids: [(0.0132013, 1215.8); ]
- {"ask_price": 0.018018, "ask_quantity": 2359, "bid_price": 0.013045, "bid_quantity": 874, "update_time_micro": 1730317939093000}
- [ 1730317942423 ] MESSAGE: position quote: 22.346220max pos: 20.000000
- [ 1730317942423 ] MESSAGE: Too much position
- [ 1730317942424 ] MESSAGE: Open orders:
- [ 1730317942424 ] MESSAGE: ask order: 0.018021 8913.600000
- [ 1730317942424 ] MESSAGE: cancel buy
- [ 2024-10-30-19-52-22 ] DEBUG max pos risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178606, 8913.6); ], bids: []
- [ 1730317942424 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730317942424 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.691520
- [ 1730317942424 ] MESSAGE: position base quantity = 1660.000000 pnl price = -0.588948
- [ 2024-10-30-19-52-22 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178606, 8913.6); ], bids: []
- [ 2024-10-30-19-52-22 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178606, 8913.6); ], bids: []
- [ 2024-10-30-19-52-22 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178606, 8913.6); ], bids: []
- update_order(): 142467806284749 CANCEL
- {"trace": "bee630817aeb4a73a1d66b6d7d171e1d.86.17303179424587127", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467806284750 NEW
- [ 2024-10-30-19-52-22 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730317942515132", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737062627264, "order": {"symbol": "LAI_USDT", "coid": 142467806284749, "order_id": "793863173726322432", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.018021, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317942487000}}
- [{"symbol": "LAI_USDT", "coid": 142467806284749, "order_id": "793863173726322432", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.018021, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317942487000}
- update_order(): 142467806284749 FEED
- {"trace": "5badf4265d7a48b09b297320b8f7b130.84.17303179424879871", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467806284749 CANCEL
- {"trace": "e24320d83f494aa7acf93d86c347cf29.79.17303179425205760", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467806284749 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": 9904, "locked": 0, "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": 9904, "locked": 0, "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}
- [ 1730317952424 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730317952424 ] MESSAGE: calculate orders mid price = 0.015499
- [ 2024-10-30-19-52-32 ] DEBUG base balance: {"asset": "LAI", "free": 9904, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-32 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-32 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178238, 8913.6); ], bids: [(0.0131741, 1218.31); ]
- {"ask_price": 0.018016, "ask_quantity": 2359, "bid_price": 0.012982, "bid_quantity": 539, "update_time_micro": 1730317947662000}
- [ 1730317952425 ] MESSAGE: position quote: 22.346220max pos: 20.000000
- [ 1730317952425 ] MESSAGE: Too much position
- [ 1730317952425 ] MESSAGE: Open orders:
- [ 1730317952425 ] MESSAGE: ask order: 0.017861 8913.600000
- [ 1730317952425 ] MESSAGE: cancel buy
- [ 2024-10-30-19-52-32 ] DEBUG max pos risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178238, 8913.6); ], bids: []
- [ 1730317952425 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730317952425 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.796100
- [ 1730317952425 ] MESSAGE: position base quantity = 1660.000000 pnl price = -0.588948
- [ 2024-10-30-19-52-32 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178238, 8913.6); ], bids: []
- [ 2024-10-30-19-52-32 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178238, 8913.6); ], bids: []
- [ 2024-10-30-19-52-32 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0178238, 8913.6); ], bids: []
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.85.17303179524577142", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- update_order(): 142467806284751 NEW
- [ 2024-10-30-19-52-32 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730317952516016", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737337354176, "order": {"symbol": "LAI_USDT", "coid": 142467806284751, "order_id": "793863509255422976", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.017824, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317952469000}}
- [{"symbol": "LAI_USDT", "coid": 142467806284751, "order_id": "793863509255422976", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.017824, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317952469000}
- update_order(): 142467806284751 FEED
- {"trace": "a89b7cf4118c42e4bf69a4e2ce2d914f.66.17303179524873159", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "a89b7cf4118c42e4bf69a4e2ce2d914f.66.17303179525223175", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"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}
- {"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}
- basic_api::start_streams catch: raw string: pong
- basic_api::start_streams catch: raw string: pong
- [ 1730317962425 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730317962425 ] MESSAGE: calculate orders mid price = 0.015402
- [ 2024-10-30-19-52-42 ] DEBUG base balance: {"asset": "LAI", "free": 991, "locked": 8913, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-42 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-42 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177123, 8913.6); ], bids: [(0.0130917, 1225.98); ]
- {"ask_price": 0.017823, "ask_quantity": 2359, "bid_price": 0.012982, "bid_quantity": 539, "update_time_micro": 1730317954898000}
- [ 1730317962426 ] MESSAGE: position quote: 22.346220max pos: 20.000000
- [ 1730317962426 ] MESSAGE: Too much position
- [ 1730317962426 ] MESSAGE: Open orders:
- [ 1730317962426 ] MESSAGE: ask order: 0.017861 8913.600000
- [ 1730317962426 ] MESSAGE: ask order: 0.017824 8913.600000
- [ 1730317962426 ] MESSAGE: cancel buy
- [ 2024-10-30-19-52-42 ] DEBUG max pos risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177123, 8913.6); ], bids: []
- [ 1730317962426 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730317962427 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.796100
- [ 1730317962427 ] MESSAGE: position base quantity = 1660.000000 pnl price = -0.588948
- [ 2024-10-30-19-52-42 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177123, 8913.6); ], bids: []
- [ 2024-10-30-19-52-42 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177123, 8913.6); ], bids: []
- [ 2024-10-30-19-52-42 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177123, 8913.6); ], bids: []
- {"trace": "a89b7cf4118c42e4bf69a4e2ce2d914f.75.17303179624625048", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.81.17303179624606850", "data": {}, "code": "50020", "message": "Balance not enough"}
- update_order(): 142467806284752 NEW
- update_order(): 142467806284751 CANCEL
- [ 2024-10-30-19-52-42 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730317962517637", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737337354176, "order": {"symbol": "LAI_USDT", "coid": 142467806284751, "order_id": "793863509255422976", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.017824, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317962491000}}
- [{"symbol": "LAI_USDT", "coid": 142467806284751, "order_id": "793863509255422976", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.017824, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317962491000}
- update_order(): 142467806284751 FEED
- {"trace": "e17b23bdff6d490bbb8850abdd2c3d29.74.17303179624933944", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467806284751 CANCEL
- {"trace": "5badf4265d7a48b09b297320b8f7b130.69.17303179624947995", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "5ca6c783416e4ed3bcef5a4dc0a92ed5.80.17303179625199213", "data": {}, "code": "50030", "message": "Order is already canceled"}
- update_order(): 142467806284751 CANCEL
- {"trace": "c184e56786b04631bc185deb4b7e4881.77.17303179625208341", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 9904, "locked": 0, "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": 9904, "locked": 0, "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}
- [ 1730317972426 ] MESSAGE: cooldown OK -> _common_process pass follow
- [ 1730317972426 ] MESSAGE: calculate orders mid price = 0.015401
- [ 2024-10-30-19-52-52 ] DEBUG base balance: {"asset": "LAI", "free": 9904, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-52 ] DEBUG quote balance: {"asset": "USDT", "free": 20.9806, "locked": 0, "wallet": 0, "update_time_micro": 0}
- [ 2024-10-30-19-52-52 ] DEBUG strategy result: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177111, 8913.6); ], bids: [(0.0130908, 1226.06); ]
- {"ask_price": 0.01782, "ask_quantity": 10508, "bid_price": 0.012982, "bid_quantity": 539, "update_time_micro": 1730317972061000}
- [ 1730317972427 ] MESSAGE: position quote: 22.346220max pos: 20.000000
- [ 1730317972427 ] MESSAGE: Too much position
- [ 1730317972427 ] MESSAGE: Open orders:
- [ 1730317972427 ] MESSAGE: ask order: 0.017861 8913.600000
- [ 1730317972427 ] MESSAGE: ask order: 0.017712 8913.600000
- [ 1730317972427 ] MESSAGE: cancel buy
- [ 2024-10-30-19-52-52 ] DEBUG max pos risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177111, 8913.6); ], bids: []
- [ 1730317972427 ] MESSAGE: MarketMakingManager::pnl_price_checker
- [ 1730317972427 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.796100
- [ 1730317972427 ] MESSAGE: position base quantity = 1660.000000 pnl price = -0.588948
- [ 2024-10-30-19-52-52 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177111, 8913.6); ], bids: []
- [ 2024-10-30-19-52-52 ] DEBUG overall risk checker res: OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177111, 8913.6); ], bids: []
- [ 2024-10-30-19-52-52 ] INFO Execution::_process(order_event): OrderEvent: symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.0177111, 8913.6); ], bids: []
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.69.17303179724606034", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "2e9a44db5eb347d7a11f0436c05a13b3.64.17303179724593626", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284752 CANCEL
- update_order(): 142467806284753 NEW
- [ 2024-10-30-19-52-52 ] INFO Execution::_process(ws_event): WebSocketEvent: , event_time_micro=1730317972518901", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time_micro": 140737071015872, "order": {"symbol": "LAI_USDT", "coid": 142467806284753, "order_id": "793863844883102976", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.017711, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317972474000}}
- [{"symbol": "LAI_USDT", "coid": 142467806284753, "order_id": "793863844883102976", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.017711, "quantity": 8913.0, "filled_quantity": 0.0, "update_time_micro": 1730317972474000}
- update_order(): 142467806284753 FEED
- {"trace": "afd21ae56bf8430fad92f7e642d961ad.74.17303179724931346", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "e24320d83f494aa7acf93d86c347cf29.86.17303179725008009", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284752 CANCEL
- {"trace": "2256121ca4cd4a7fa0c797dd25b7dcbe.85.17303179725217547", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284750 CANCEL
- {"trace": "457a7e2cf0e6420594f57fe1c372c7df.66.17303179725227182", "data": {}, "code": "50032", "message": "Order does not exist"}
- update_order(): 142467806284752 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": 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}
- {"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}
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=352759, 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