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": 129890225474320}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
- {"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.71582e+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": 1715946192459, "type": LIMIT", "side": BUY"}
- csize: 1
- [ 2024-05-17-11-43-13 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715946192480}
- [ 2024-05-17-11-43-13 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192459, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-43-13 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889986395472}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946193069", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-13 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946193069", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-13 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
- [ 2024-05-17-11-43-13 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715946192480}
- [ 2024-05-17-11-43-13 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- Erase
- [ 2024-05-17-11-43-13 ] ! LOTTUSDT
- DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946193065}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946193073", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744022864, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946193068}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946193088", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-13 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946193088", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-13 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-13 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
- [ 2024-05-17-11-43-13 ] 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=1715946193097", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946193095}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129890225474320}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
- {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
- OrderEvent: delta=1.71582e+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": 1715946192460, "type": LIMIT", "side": BUY"}
- csize: 1
- [ 2024-05-17-11-43-23 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-23 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192460, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-43-23 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889978002768}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946203562", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-23 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946203562", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-23 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
- [ 2024-05-17-11-43-23 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-23 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- Erase
- ! LOTTUSDT
- [ 2024-05-17-11-43-23 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946203566}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946203573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744076736, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946203569}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946203575", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946203572}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946203587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-23 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946203587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-23 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-23 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
- [ 2024-05-17-11-43-23 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129890225474320}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
- {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
- OrderEvent: delta=1.71582e+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": 1715946192461, "type": LIMIT", "side": BUY"}
- csize: 1
- [ 2024-05-17-11-43-34 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-34 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192461, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-11-43-34 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946214057}
- [ 2024-05-17-11-43-34 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889986395472}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946214063", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744076736, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946214060}}
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946214075", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-34 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946214075", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
- [ 2024-05-17-11-43-34 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
- [ 2024-05-17-11-43-34 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-34 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- Erase
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71595e+11, event_time=1715946214081", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-34 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946214081", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
- [ 2024-05-17-11-43-34 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
- [ 2024-05-17-11-43-34 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
- [ 2024-05-17-11-43-34 ] 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=1715946214121", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946214118}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement