Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: LBANK_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys//lbank_spot/test_1.account
- shared_parser: LBANK_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: LBANK_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe2200640 (LWP 208420)]
- run forever balance 0x5555556a4790
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "usdt", "free": 28.8791, "locked": 0, "update_time": 0}, {"asset": "lbk", "free": 872.107, "locked": 0, "update_time": 0}]}
- [New Thread 0x7fffe1e00640 (LWP 208452)]
- Initializing orderbook
- [New Thread 0x7fffe1400640 (LWP 208453)]
- {"symbol": "lbk_usdt", "market": "LBANK_SPOT", "account": "TEST_1"}
- cooldown: 15000
- sleep time: 15000
- binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
- /mnt/volume_telemetry/lbk_usdt_lbank_spot
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "LBANK_SPOT", "symbol": "lbk_usdt"}]}
- members_.channels[i].stream: ACCOUNT_BALANCE
- members_.channels[i].stream: PART_DEPTH
- members_.channels[i].stream: ACCOUNT_ORDER
- get balance indicator 0x5555556a48b8
- {"ok": "1"}
- {"subscribe": "assetUpdate", "action": "subscribe"}
- {"depth": "50", "pair": "lbk_usdt", "subscribe": "depth", "action": "subscribe"}
- {"pair": "lbk_usdt", "subscribe": "orderUpdate", "action": "subscribe"}
- [New Thread 0x7fffe0a00640 (LWP 208454)]
- [New Thread 0x7fffd7e00640 (LWP 208455)]
- {"ok": "1"}
- subscription_channel.serialize(): {"subscribeKey": "a0ce6df8b673fc4fde5682f6b20f822a10c870272cdfb713c3fc4125d3bbe1a0", "subscribe": "assetUpdate", "action": "subscribe"}
- subscription_channel.serialize(): {"depth": "50", "pair": "lbk_usdt", "subscribe": "depth", "action": "subscribe"}
- subscription_channel.serialize(): {"subscribeKey": "a0ce6df8b673fc4fde5682f6b20f822a10c870272cdfb713c3fc4125d3bbe1a0", "pair": "lbk_usdt", "subscribe": "orderUpdate", "action": "subscribe"}
- upd balance cd: {"asset": "usdt", "free": 28.8791, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 872.107, "locked": 0, "update_time": 0}
- 1737729560291 ask: 0.02538/516 upd_time: 1737729556861
- 1737729560291 bid: 0.025316/118 upd_time: 1737729556861
- [ 2025-01-24-14-39-20 ] DEBUG base balance: {"asset": "lbk", "free": 872.107, "locked": 0, "update_time": 0}
- [ 2025-01-24-14-39-20 ] DEBUG quote balance: {"asset": "usdt", "free": 28.8791, "locked": 0, "update_time": 0}
- current_volume_5m: 349.249
- btc_turnover_1d: 4.06875e+10
- price_max: 105697
- price_min: 104814
- sleep_time: 15387
- current_volume: 17.913
- btc_klines_5m[btc_klines_5m.size() - 1].close: 105241.3
- norm_price_coeff: 0.484156
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 3.05018e-05
- (best_book.bid_price + step_size / 2): 0.0253165
- current_price: 0.025347
- max_trade_available_quantity: 832.655
- calculated_current_volume: 22.7652
- [ 2025-01-24-14-39-20 ] MESSAGE: current_quantity >= base_balance - 1 / current_price
- [ 2025-01-24-14-39-20 ] INFO execution order event process: OrderEvent: symbol="lbk_usdt", type="LIMIT_GRID", asks: [], bids: [(0.02538, 898.143); ]
- [ 2025-01-24-14-39-20 ] DEBUG bid in _process_limit_grid: 0.02538
- [ 2025-01-24-14-39-20 ] DEBUG bid in _process_limit_grid: 898.143
- [New Thread 0x7fffd7400640 (LWP 208474)]
- [ 2025-01-24-14-39-20 ] DEBUG csize: 0
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"0","amount":"0","avgPrice":"0","customerID":"142475217912112","orderAmt":"898","orderPrice":"0.02538","orderStatus":0,"price":"0","remainAmt":"22.79124","role":"taker","symbol":"lbk_usdt","type":"buy","updateTime":1737729560442,"uuid":"e58b20ed-51e4-4ea0-a6b4-bbee71c94da0","volumePrice":"0"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:20.443"}
- [ 2025-01-24-14-39-20 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729560442, "order": {"symbol": "lbk_usdt", "coid": 142475217912112, "order_id": "e58b20ed-51e4-4ea0-a6b4-bbee71c94da0", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.025380, "quantity": 898, "filled_quantity": 0, "update_time": 1737729560442}}
- [Thread 0x7fffd7400640 (LWP 208474) exited]
- {"ts": "1737729560539", "error_code": "10016", "result": "false", "msg": "Currency is not enough"}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"516","amount":"516","avgPrice":"0.02538","customerID":"142475217912112","orderAmt":"898","orderPrice":"0.02538","orderStatus":1,"price":"0.02538","remainAmt":"9.69516","role":"taker","symbol":"lbk_usdt","txUuid":"2890de271d72a3e289eb942c9a99b725b4159bfb","type":"buy","updateTime":1737729560589,"uuid":"e58b20ed-51e4-4ea0-a6b4-bbee71c94da0","volumePrice":"13.09608"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:20.595"}
- [ 2025-01-24-14-39-20 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729560589, "order": {"symbol": "lbk_usdt", "coid": 142475217912112, "order_id": "e58b20ed-51e4-4ea0-a6b4-bbee71c94da0", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.025380, "quantity": 898, "filled_quantity": 516, "update_time": 1737729560589}}
- _feed_process: {"data":{"asset":"1387.591","assetCode":"lbk","free":"1387.591","freeze":"0","time":1737729560594,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:20.595"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729560594, "balance": {"asset": "lbk", "free": 1387.59, "locked": 0, "update_time": 1737729560594}}
- $ tlm_lbk
- _feed_process: {"data":{"asset":"1769.209","assetCode":"lbk","free":"1769.209","freeze":"0","time":1737729562012,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:22.013"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729562012, "balance": {"asset": "lbk", "free": 1769.21, "locked": 0, "update_time": 1737729562012}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"898","amount":"382","avgPrice":"0.02538","customerID":"142475217912112","orderAmt":"898","orderPrice":"0.02538","orderStatus":2,"price":"0.02538","remainAmt":"0","role":"maker","symbol":"lbk_usdt","txUuid":"e2518183cefeaf3667631293f869ce0f2bf326d0","type":"buy","updateTime":1737729561974,"uuid":"e58b20ed-51e4-4ea0-a6b4-bbee71c94da0","volumePrice":"9.69516"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:22.014"}
- [ 2025-01-24-14-39-22 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729561974, "order": {"symbol": "lbk_usdt", "coid": 142475217912112, "order_id": "e58b20ed-51e4-4ea0-a6b4-bbee71c94da0", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.025380, "quantity": 898, "filled_quantity": 898, "update_time": 1737729561974}}
- _feed_process: {"data":{"asset":"6.087822","assetCode":"usdt","free":"6.087822","freeze":"0","time":1737729560443,"type":"ORDER_CREATE"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:23.094"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729560443, "balance": {"asset": "usdt", "free": 6.08782, "locked": 0, "update_time": 1737729560443}}
- $ tlm_usdt
- _feed_process: {"data":{"asset":"6.087822","assetCode":"usdt","free":"6.087822","freeze":"0","time":1737729560595,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:23.103"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729560595, "balance": {"asset": "usdt", "free": 6.08782, "locked": 0, "update_time": 1737729560595}}
- _feed_process: {"data":{"asset":"6.087822","assetCode":"usdt","free":"6.087822","freeze":"0","time":1737729562013,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:23.107"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729562013, "balance": {"asset": "usdt", "free": 6.08782, "locked": 0, "update_time": 1737729562013}}
- [Thread 0x7fffe2200640 (LWP 208420) exited]
- 1737729572895 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
- 1737729576012 ask: 0.02538/516 upd_time: 1737729556861
- 1737729576012 bid: 0.025316/118 upd_time: 1737729556861
- [ 2025-01-24-14-39-36 ] DEBUG base balance: {"asset": "lbk", "free": 1769.21, "locked": 0, "update_time": 1737729562012}
- [ 2025-01-24-14-39-36 ] DEBUG quote balance: {"asset": "usdt", "free": 6.08782, "locked": 0, "update_time": 1737729562013}
- current_volume_5m: 349.249
- btc_turnover_1d: 4.06875e+10
- price_max: 105697
- price_min: 104814
- sleep_time: 20086
- current_volume: 23.3834
- btc_klines_5m[btc_klines_5m.size() - 1].close: 105295.0
- norm_price_coeff: 0.54493
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 3.43306e-05
- (best_book.bid_price + step_size / 2): 0.0253165
- current_price: 0.0253508
- max_trade_available_quantity: 200.696
- calculated_current_volume: 15.5889
- [ 2025-01-24-14-39-36 ] MESSAGE: current_quantity * current_price >= quote_balance - 1
- [ 2025-01-24-14-39-36 ] INFO execution order event process: OrderEvent: symbol="lbk_usdt", type="LIMIT_GRID", asks: [(0.025316, 614.927); ], bids: []
- [ 2025-01-24-14-39-36 ] DEBUG ask in _process_limit_grid: 0.025316
- [ 2025-01-24-14-39-36 ] DEBUG ask in _process_limit_grid: 614.927
- [New Thread 0x7fffd7400640 (LWP 208531)]
- [ 2025-01-24-14-39-36 ] DEBUG csize: 0
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"0","amount":"0","avgPrice":"0","customerID":"142475217912113","orderAmt":"615","orderPrice":"0.025316","orderStatus":0,"price":"0","remainAmt":"615","role":"taker","symbol":"lbk_usdt","type":"sell","updateTime":1737729576085,"uuid":"0f0c6771-1fd9-4c22-b003-631ed5a42d6b","volumePrice":"0"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:36.086"}
- [ 2025-01-24-14-39-36 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729576085, "order": {"symbol": "lbk_usdt", "coid": 142475217912113, "order_id": "0f0c6771-1fd9-4c22-b003-631ed5a42d6b", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.025316, "quantity": 615, "filled_quantity": 0, "update_time": 1737729576085}}
- _feed_process: [New Thread 0x7fffd6a00640 (LWP 208532)]
- {"data":{"asset":"1769.209","assetCode":"lbk","free":"1154.209","freeze":"615","time":1737729576085,"type":"ORDER_CREATE"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:36.087"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729576085, "balance": {"asset": "lbk", "free": 1154.21, "locked": 615, "update_time": 1737729576085}}
- [Thread 0x7fffd7400640 (LWP 208531) exited]
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"118","amount":"118","avgPrice":"0.025316","customerID":"142475217912113","orderAmt":"615","orderPrice":"0.025316","orderStatus":1,"price":"0.025316","remainAmt":"497","role":"taker","symbol":"lbk_usdt","txUuid":"c9cdd774b761620bc652d99eee633577fdd3cd53","type":"sell","updateTime":1737729576232,"uuid":"0f0c6771-1fd9-4c22-b003-631ed5a42d6b","volumePrice":"2.987288"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:36.238"}
- [ 2025-01-24-14-39-36 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729576232, "order": {"symbol": "lbk_usdt", "coid": 142475217912113, "order_id": "0f0c6771-1fd9-4c22-b003-631ed5a42d6b", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.025316, "quantity": 615, "filled_quantity": 118, "update_time": 1737729576232}}
- _feed_process: {"data":{"asset":"1651.209","assetCode":"lbk","free":"1154.209","freeze":"497","time":1737729576238,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:36.239"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729576238, "balance": {"asset": "lbk", "free": 1154.21, "locked": 497, "update_time": 1737729576238}}
- _feed_process: {"data":{"asset":"9.072123","assetCode":"usdt","free":"9.072123","freeze":"0","time":1737729576238,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:36.578"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729576238, "balance": {"asset": "usdt", "free": 9.07212, "locked": 0, "update_time": 1737729576238}}
- upd balance cd: {"asset": "usdt", "free": 6.08782, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 1769.21, "locked": 0, "update_time": 0}
- [Thread 0x7ffff6a00640 (LWP 208385) exited]
- 1737729587896 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
- _feed_process: {"data":{"asset":"1154.209","assetCode":"lbk","free":"1154.209","freeze":"0","time":1737729588146,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:48.147"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729588146, "balance": {"asset": "lbk", "free": 1154.21, "locked": 0, "update_time": 1737729588146}}
- _feed_process: {"data":{"asset":"21.641593","assetCode":"usdt","free":"21.641593","freeze":"0","time":1737729588147,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:39:48.147"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729588147, "balance": {"asset": "usdt", "free": 21.6416, "locked": 0, "update_time": 1737729588147}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"615","amount":"497","avgPrice":"0.025316","customerID":"142475217912113","orderAmt":"615","orderPrice":"0.025316","orderStatus":2,"price":"0.025316","remainAmt":"0","role":"maker","symbol":"lbk_usdt","txUuid":"a15831d482c3a265a2abb9e2e3b6eca7c7ad2770","type":"sell","updateTime":1737729588140,"uuid":"0f0c6771-1fd9-4c22-b003-631ed5a42d6b","volumePrice":"12.582052"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:39:48.154"}
- [ 2025-01-24-14-39-48 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729588140, "order": {"symbol": "lbk_usdt", "coid": 142475217912113, "order_id": "0f0c6771-1fd9-4c22-b003-631ed5a42d6b", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.025316, "quantity": 615, "filled_quantity": 615, "update_time": 1737729588140}}
- [New Thread 0x7fffe2200640 (LWP 208607)]
- upd balance cd: {"asset": "usdt", "free": 9.07212, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 1154.21, "locked": 497, "update_time": 0}
- 1737729596670 ask: 0.02538/516 upd_time: 1737729556861
- 1737729596670 bid: 0.025316/118 upd_time: 1737729556861
- [ 2025-01-24-14-39-56 ] DEBUG base balance: {"asset": "lbk", "free": 1154.21, "locked": 497, "update_time": 0}
- [ 2025-01-24-14-39-56 ] DEBUG quote balance: {"asset": "usdt", "free": 9.07212, "locked": 0, "update_time": 0}
- [ 2025-01-24-14-39-56 ] INFO execution order event process: OrderEvent: symbol="lbk_usdt", type="LIMIT_GRID", asks: [], bids: []
- [ 2025-01-24-14-39-56 ] DEBUG csize: 0
- 1737729602896 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
- [Thread 0x7fffe2a00640 (LWP 208418) exited]
- [New Thread 0x7ffff6a00640 (LWP 208660)]
- upd balance cd: {"asset": "usdt", "free": 21.6416, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 1154.21, "locked": 0, "update_time": 0}
- [Thread 0x7fffd6a00640 (LWP 208532) exited]
- [New Thread 0x7fffe2a00640 (LWP 208698)]
- upd balance cd: {"asset": "usdt", "free": 21.6416, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 1154.21, "locked": 0, "update_time": 0}
- 1737729617896 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
- 1737729618015 ask: 0.02538/516 upd_time: 1737729556861
- 1737729618015 bid: 0.025316/118 upd_time: 1737729556861
- [ 2025-01-24-14-40-18 ] DEBUG base balance: {"asset": "lbk", "free": 1154.21, "locked": 0, "update_time": 0}
- [ 2025-01-24-14-40-18 ] DEBUG quote balance: {"asset": "usdt", "free": 21.6416, "locked": 0, "update_time": 0}
- current_volume_5m: 383.184
- btc_turnover_1d: 3.9796e+10
- price_max: 105697
- price_min: 104814
- sleep_time: 14205
- current_volume: 18.1438
- btc_klines_5m[btc_klines_5m.size() - 1].close: 105260.4
- norm_price_coeff: 0.505772
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 3.18636e-05
- (best_book.bid_price + step_size / 2): 0.0253165
- current_price: 0.0253484
- max_trade_available_quantity: 814.317
- calculated_current_volume: 12.0958
- current_quantity: 477.184
- price/quantity: 0.0253484/477.184
- [ 2025-01-24-14-40-18 ] DEBUG volume strategy result: OrderEvent: symbol="lbk_usdt", type="SELF_TRADE"
- [ 2025-01-24-14-40-18 ] INFO execution order event process: OrderEvent: symbol="lbk_usdt", type="SELF_TRADE"
- _feed_process: {"data":{"asset":"21.641593","assetCode":"usdt","free":"9.550597","freeze":"12.090996","time":1737729618063,"type":"ORDER_CREATE"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:18.065"}
- 1737729600034: finished kline 5m
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729618063, "balance": {"asset": "usdt", "free": 9.5506, "locked": 12.091, "update_time": 1737729618063}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"0","amount":"0","avgPrice":"0","customerID":"142475217912114","orderAmt":"477","orderPrice":"0.025348","orderStatus":0,"price":"0","remainAmt":"12.090996","role":"taker","symbol":"lbk_usdt","type":"buy","updateTime":1737729618063,"uuid":"7664d55c-a284-4802-9024-40ea372e762d","volumePrice":"0"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:18.079"}
- [ 2025-01-24-14-40-18 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729618063, "order": {"symbol": "lbk_usdt", "coid": 142475217912114, "order_id": "7664d55c-a284-4802-9024-40ea372e762d", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.025348, "quantity": 477, "filled_quantity": 0, "update_time": 1737729618063}}
- _feed_process: {"data":{"asset":"1154.209","assetCode":"lbk","free":"677.209","freeze":"477","time":1737729618436,"type":"ORDER_CREATE"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:18.438"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729618436, "balance": {"asset": "lbk", "free": 677.209, "locked": 477, "update_time": 1737729618436}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"0","amount":"0","avgPrice":"0","customerID":"142475217912115","orderAmt":"477","orderPrice":"0.025348","orderStatus":0,"price":"0","remainAmt":"477","role":"taker","symbol":"lbk_usdt","type":"sell","updateTime":1737729618436,"uuid":"4829273f-e8b5-4ab3-ab44-23845a9cd628","volumePrice":"0"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:18.453"}
- [ 2025-01-24-14-40-18 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729618436, "order": {"symbol": "lbk_usdt", "coid": 142475217912115, "order_id": "4829273f-e8b5-4ab3-ab44-23845a9cd628", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.025348, "quantity": 477, "filled_quantity": 0, "update_time": 1737729618436}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"477","amount":"477","avgPrice":"0.025348","customerID":"142475217912114","orderAmt":"477","orderPrice":"0.025348","orderStatus":2,"price":"0.025348","remainAmt":"0","role":"maker","symbol":"lbk_usdt","txUuid":"26ce33dbe955346ddcf076b597a05317d753fb01","type":"buy","updateTime":1737729618539,"uuid":"7664d55c-a284-4802-9024-40ea372e762d","volumePrice":"12.090996"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:18.545"}
- [ 2025-01-24-14-40-18 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729618539, "order": {"symbol": "lbk_usdt", "coid": 142475217912114, "order_id": "7664d55c-a284-4802-9024-40ea372e762d", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.025348, "quantity": 477, "filled_quantity": 477, "update_time": 1737729618539}}
- _feed_process: {"data":{"asset":"1153.732","assetCode":"lbk","free":"1153.732","freeze":"0","time":1737729618544,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:18.545"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729618544, "balance": {"asset": "lbk", "free": 1153.73, "locked": 0, "update_time": 1737729618544}}
- _feed_process: {"data":{"asset":"21.629502","assetCode":"usdt","free":"21.629502","freeze":"0","time":1737729618545,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:18.545"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729618545, "balance": {"asset": "usdt", "free": 21.6295, "locked": 0, "update_time": 1737729618545}}
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"477","amount":"477","avgPrice":"0.025348","customerID":"142475217912115","orderAmt":"477","orderPrice":"0.025348","orderStatus":2,"price":"0.025348","remainAmt":"0","role":"taker","symbol":"lbk_usdt","txUuid":"26ce33dbe955346ddcf076b597a05317d753fb01","type":"sell","updateTime":1737729618539,"uuid":"4829273f-e8b5-4ab3-ab44-23845a9cd628","volumePrice":"12.090996"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:18.545"}
- [ 2025-01-24-14-40-18 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729618539, "order": {"symbol": "lbk_usdt", "coid": 142475217912115, "order_id": "4829273f-e8b5-4ab3-ab44-23845a9cd628", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.025348, "quantity": 477, "filled_quantity": 477, "update_time": 1737729618539}}
- [Thread 0x7ffff6a00640 (LWP 208660) exited]
- 1737729632344 ask: 0.02538/516 upd_time: 1737729556861
- 1737729632344 bid: 0.025316/118 upd_time: 1737729556861
- [ 2025-01-24-14-40-32 ] DEBUG base balance: {"asset": "lbk", "free": 1153.73, "locked": 0, "update_time": 1737729618544}
- [ 2025-01-24-14-40-32 ] DEBUG quote balance: {"asset": "usdt", "free": 21.6295, "locked": 0, "update_time": 1737729618545}
- current_volume_5m: 383.184
- btc_turnover_1d: 3.9796e+10
- price_max: 105697
- price_min: 104814
- sleep_time: 25243
- current_volume: 32.2424
- btc_klines_5m[btc_klines_5m.size() - 1].close: 105370.0
- norm_price_coeff: 0.62981
- (best_book.ask_price - best_book.bid_price - step_size) * norm_price_coeff: 3.9678e-05
- (best_book.bid_price + step_size / 2): 0.0253165
- current_price: 0.0253562
- max_trade_available_quantity: 813.589
- calculated_current_volume: 28.8011
- [ 2025-01-24-14-40-32 ] MESSAGE: current_quantity * current_price >= quote_balance - 1
- [ 2025-01-24-14-40-32 ] INFO execution order event process: OrderEvent: symbol="lbk_usdt", type="LIMIT_GRID", asks: [(0.025316, 1135.86); ], bids: []
- [ 2025-01-24-14-40-32 ] DEBUG ask in _process_limit_grid: 0.025316
- [ 2025-01-24-14-40-32 ] DEBUG ask in _process_limit_grid: 1135.86
- [New Thread 0x7fffd7400640 (LWP 208737)]
- [ 2025-01-24-14-40-32 ] DEBUG csize: 0
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"0","amount":"0","avgPrice":"0","customerID":"142475217912116","orderAmt":"1136","orderPrice":"0.025316","orderStatus":0,"price":"0","remainAmt":"1136","role":"taker","symbol":"lbk_usdt","type":"sell","updateTime":1737729632433,"uuid":"74a86197-b1aa-422a-aafe-552e62006eb5","volumePrice":"0"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:32.434"}
- [ 2025-01-24-14-40-32 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729632433, "order": {"symbol": "lbk_usdt", "coid": 142475217912116, "order_id": "74a86197-b1aa-422a-aafe-552e62006eb5", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.025316, "quantity": 1136, "filled_quantity": 0, "update_time": 1737729632433}}
- _feed_process: {"data":{"asset":"1153.732","assetCode":"lbk","free":"17.732","freeze":"1136","time":1737729632433,"type":"ORDER_CREATE"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:32.435"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729632433, "balance": {"asset": "lbk", "free": 17.732, "locked": 1136, "update_time": 1737729632433}}
- [New Thread 0x7fffd6a00640 (LWP 208738)]
- _feed_process: {"SERVER":"V2","orderUpdate":{"accAmt":"39","amount":"39","avgPrice":"0.025338","customerID":"142475217912116","orderAmt":"1136","orderPrice":"0.025316","orderStatus":1,"price":"0.025338","remainAmt":"1097","role":"taker","symbol":"lbk_usdt","txUuid":"0b06761a10d0675269346a24d858a519b801f630","type":"sell","updateTime":1737729632493,"uuid":"74a86197-b1aa-422a-aafe-552e62006eb5","volumePrice":"0.988182"},"type":"orderUpdate","pair":"lbk_usdt","TS":"2025-01-24T22:40:32.503"}
- [ 2025-01-24-14-40-32 ] INFO : WebSocketEvent: , event_time=0", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1737729632493, "order": {"symbol": "lbk_usdt", "coid": 142475217912116, "order_id": "74a86197-b1aa-422a-aafe-552e62006eb5", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.025316, "quantity": 1136, "filled_quantity": 39, "update_time": 1737729632493}}
- _feed_process: {"data":{"asset":"1114.732","assetCode":"lbk","free":"17.732","freeze":"1097","time":1737729632504,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:32.504"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729632504, "balance": {"asset": "lbk", "free": 17.732, "locked": 1097, "update_time": 1737729632504}}
- [Thread 0x7fffd7400640 (LWP 208737) exited]
- _feed_process: {"data":{"asset":"22.616696","assetCode":"usdt","free":"22.616696","freeze":"0","time":1737729632504,"type":"ORDER_DEAL"},"SERVER":"V2","type":"assetUpdate","TS":"2025-01-24T22:40:32.754"}
- BALANCE UPDATE: {"stream": ACCOUNT_BALANCE, "event_time": 1737729632504, "balance": {"asset": "usdt", "free": 22.6167, "locked": 0, "update_time": 1737729632504}}
- upd balance cd: {"asset": "usdt", "free": 21.6295, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 1153.73, "locked": 0, "update_time": 0}
- 1737729632896 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
- {"ts": "1737729633278", "error_code": "10014", "result": "false", "msg": "Currency is not enough"}
- [Thread 0x7fffe2e00640 (LWP 208417) exited]
- [New Thread 0x7ffff6a00640 (LWP 208776)]
- upd balance cd: {"asset": "usdt", "free": 22.6167, "locked": 0, "update_time": 0}
- upd balance cd: {"asset": "lbk", "free": 17.732, "locked": 1097, "update_time": 0}
- 1737729647896 volunerable ping: {"ping": "0ca8f854-7ba7-4341-9d86-d3327e52804e", "action": "ping"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement