Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT
- file name -> LOTTUSDT.config
- market: MEXC_SPOT
- symbol: LOTTUSDT
- api: mx0vglRsnmcTEgpmkD
- secret: ef47dd75fb8b41eebf145056dc98032f
- strategy: TEST_STRATEGY
- risk_manager: VANILLA
- logger is empty
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
- {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
- {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
- OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
- LIMIT_GRID
- @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832211, "type": LIMIT", "side": BUY"}
- csize: 1
- [ 2024-05-17-11-37-12 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715945832230}
- [ 2024-05-17-11-37-12 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832211, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-37-12 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856952946000}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945832563", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-12 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945832563", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-12 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-12 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715945832230}
- [ 2024-05-17-11-37-12 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- [ 2024-05-17-11-37-12 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945832564}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945832573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020994224, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715945832567}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945832586", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-12 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945832586", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-12 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-12 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
- [ 2024-05-17-11-37-12 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945832613", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020979264, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945832607}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
- {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
- OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
- LIMIT_GRID
- @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832212, "type": LIMIT", "side": BUY"}
- csize: 2
- [ 2024-05-17-11-37-22 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-22 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-22 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832212, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-37-22 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-22 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-22 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945842579}
- [ 2024-05-17-11-37-22 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856944553296}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945842584", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020946752, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715945842582}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945842605", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-22 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945842605", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-22 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-22 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
- [ 2024-05-17-11-37-22 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945842610", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-22 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945842610", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-22 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-22 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-22 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945842619", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020947296, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945842617}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
- {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
- OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
- LIMIT_GRID
- @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832213, "type": LIMIT", "side": BUY"}
- csize: 3
- [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-33 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832213, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-37-33 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-33 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-33 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-33 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-11-37-33 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856936160592}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945853065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-33 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945853065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
- [ 2024-05-17-11-37-33 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-33 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
- [ 2024-05-17-11-37-33 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945853075", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020947296, "balance": {"asset": "USDT", "free": 290.718, "locked": 0, "update_time": 1715945853073}}
- [ 2024-05-17-11-37-33 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945853079}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945853085", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020994224, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945853082}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715945853102", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-33 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945853102", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
- [ 2024-05-17-11-37-33 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
- [ 2024-05-17-11-37-33 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
- [ 2024-05-17-11-37-33 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement