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": 129386716056336}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
- {"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": 1715943069921, "type": LIMIT", "side": BUY"}
- csize: 1
- [ 2024-05-17-10-51-10 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715943069945}
- [ 2024-05-17-10-51-10 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069921, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-10-51-10 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386476981584}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943070555", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-10 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943070555", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-10 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943070569", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 290.718, "locked": 0, "update_time": 1715943070566}}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943070578", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293341408, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943070575}}
- [ 2024-05-17-10-51-10 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943070572}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943070592", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-10 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943070592", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-10 ] 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": 129386716056336}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
- {"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": 1715943069922, "type": LIMIT", "side": BUY"}
- csize: 2
- [ 2024-05-17-10-51-21 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}
- [ 2024-05-17-10-51-21 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
- [ 2024-05-17-10-51-21 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069922, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-10-51-21 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-10-51-21 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-10-51-21 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386468588880}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943081066", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-21 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943081066", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-21 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943081069", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332128, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715943081066}}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943081083", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-21 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943081083", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-21 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943081102", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943081100}}
- [ 2024-05-17-10-51-21 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943081064}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129386716056336}
- {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
- {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
- {"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": 1715943069923, "type": LIMIT", "side": BUY"}
- csize: 3
- [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}
- [ 2024-05-17-10-51-31 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069923, "type": LIMIT", "side": BUY"}
- [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
- [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
- [ 2024-05-17-10-51-31 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386460196176}
- [ 2024-05-17-10-51-31 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-10-51-31 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943091564", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-31 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943091564", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
- [ 2024-05-17-10-51-31 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943091566", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293341408, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715943091563}}
- [ 2024-05-17-10-51-31 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- [ 2024-05-17-10-51-31 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943091575", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943091573}}
- callback
- WebSocketEvent: delta=1.71594e+11, event_time=1715943091580", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-31 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943091580", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
- [ 2024-05-17-10-51-31 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- [ 2024-05-17-10-51-31 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943091561}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement