Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/connector_demo/main$ cat /mnt/logs/MM_BOT-2024-06-11-15-17-03.log
- [ 2024-06-11-15-17-03 ] DEBUG init open orders: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-03 ] DEBUG init open orders: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-04 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-04 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119024582
- [ 2024-06-11-15-17-04 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4016, 19.085); (0.4017, 19.085); ], bids: [(0.3456, 40.2062); (0.3455, 40.2179); ]
- [ 2024-06-11-15-17-04 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4016, 19.085); (0.4017, 19.085); ], bids: [(0.3456, 40.2062); (0.3455, 40.2179); ]
- [ 2024-06-11-15-17-04 ] MESSAGE: LIMIT GRID
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.4016
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.4017
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.3456
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 40.2062
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.3455
- [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 40.2179
- [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.210000, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345600, "quantity": 40.200000, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401700, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401600, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-04 ] MESSAGE: csize: 2
- [ 2024-06-11-15-17-04 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-04 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.210000, "client_order_id": 1718119023955, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345600, "quantity": 40.200000, "client_order_id": 1718119023956, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401600, "quantity": 19.080000, "client_order_id": 1718119023958, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401700, "quantity": 19.080000, "client_order_id": 1718119023957, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-04 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 124342482476096}
- [ 2024-06-11-15-17-04 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 124342490868800}
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024616", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024616, "order": {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-04 ] MESSAGE: erase
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 5
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024616", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024616, "order": {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
- [ 2024-06-11-15-17-04 ] MESSAGE: erase
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119024625}
- [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.210000, "update_time": 1718119024622}
- [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.200000, "update_time": 1718119024623}
- [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119024631}
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345400, "quantity": 40.210000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345600, "quantity": 40.200000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401600, "quantity": 19.080000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit
- [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401700, "quantity": 19.080000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-05 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-06 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-07 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-08 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-10 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-11 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-13 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-15 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-15 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119035579
- [ 2024-06-11-15-17-15 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
- [ 2024-06-11-15-17-15 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
- [ 2024-06-11-15-17-15 ] MESSAGE: LIMIT GRID
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.4014
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.4015
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.3454
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 40.2295
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.3453
- [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 40.2412
- [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345300, "quantity": 40.240000, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.220000, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-15 ] MESSAGE: csize: 4
- [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
- [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.220000, "client_order_id": 1718119023960, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "client_order_id": 1718119023962, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345300, "quantity": 40.240000, "client_order_id": 1718119023959, "type": LIMIT", "side": BUY"}
- [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "client_order_id": 1718119023961, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 124342474083392}
- [ 2024-06-11-15-17-15 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023961, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.220000, "update_time": 1718119035591}
- [ 2024-06-11-15-17-15 ] DEBUG ? new: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
- [ 2024-06-11-15-17-15 ] ERROR new order error: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
- [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 124342054677568}
- [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 124342046284864}
- [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 124342037892160}
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035611", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035611, "order": {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
- [ 2024-06-11-15-17-15 ] MESSAGE: erase
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 6
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035615", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035615, "order": {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.220000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.220000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345400, "quantity": 40.220000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 6
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035618", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035618, "order": {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] MESSAGE: erase
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 5
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035619", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035619, "order": {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-15 ] MESSAGE: erase
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-15 ] DEBUG ? new: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
- [ 2024-06-11-15-17-15 ] ERROR new order error: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035627", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035627, "order": {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-15 ] MESSAGE: erase
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 2
- [ 2024-06-11-15-17-15 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023961, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.240000, "update_time": 1718119035630}
- [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035652", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035652, "order": {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345300, "quantity": 40.240000, "filled_quantity": 0.000000, "update_time": 264}}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit
- [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345300, "quantity": 40.240000, "filled_quantity": 0.000000, "update_time": 264}
- [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345300, "quantity": 40.240000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 2
- [ 2024-06-11-15-17-17 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-25 ] MESSAGE: mid price changed +7952812
- [ 2024-06-11-15-17-25 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119045582
- [ 2024-06-11-15-17-25 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
- [ 2024-06-11-15-17-25 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
- [ 2024-06-11-15-17-25 ] MESSAGE: LIMIT GRID
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.4014
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.4015
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 19.085
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.3454
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 40.2295
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.3453
- [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 40.2412
- [ 2024-06-11-15-17-25 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-25 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-25 ] MESSAGE: csize: 0
- [ 2024-06-11-15-17-25 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "client_order_id": 1718119023963, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-25 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "client_order_id": 1718119023964, "type": LIMIT", "side": SELL"}
- [ 2024-06-11-15-17-25 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119045593}
- [ 2024-06-11-15-17-25 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119045614", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119045614, "order": {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401400, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
- [ 2024-06-11-15-17-25 ] MESSAGE: limit
- [ 2024-06-11-15-17-25 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401400, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
- [ 2024-06-11-15-17-25 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401400, "quantity": 19.080000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-25 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-25 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119045593}
- [ 2024-06-11-15-17-25 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119045617", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119045617, "order": {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401500, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 260}}
- [ 2024-06-11-15-17-25 ] MESSAGE: limit
- [ 2024-06-11-15-17-25 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401500, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 260}
- [ 2024-06-11-15-17-25 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401500, "quantity": 19.080000, "update_time": 100408610046824}
- [ 2024-06-11-15-17-25 ] MESSAGE: limit/market orders size: 4
- [ 2024-06-11-15-17-26 ] MESSAGE: mid price changed +7952812
- ubuntu@ip-172-31-31-23:~/connector_demo/main$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement