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_taker
- file name -> LOTTUSDT_taker.config
- market: MEXC_SPOT
- symbol: LOTTUSDT
- api: mx0vglK51dUi2B9C2h
- secret: 6a8770866e0843f2a1e866239304fa54
- strategy: TEST_TAKER_STRATEGY
- side: BUY
- amount: 10
- debug: 1
- risk_manager: VANILLA
- logger is empty
- {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
- {"asset": "USDT", "free": 36.1743, "locked": 30.03, "update_time": 129118576298768}
- {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
- starts taker test!
- result: OrderEvent: delta=1.71619e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
- taker test completed!
- [ 2024-05-21-17-59-50 ] INFO : OrderEvent: delta=1.71619e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
- [ 2024-05-21-17-59-50 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 919.200000, "update_time": 1716314390564}
- callback
- WebSocketEvent: delta=1.71631e+11, event_time=1716314390574", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129118260538912, "balance": {"asset": "USDT", "free": 26.1643, "locked": 40.04, "update_time": 1716314390567}}
- callback
- WebSocketEvent: delta=1.71631e+11, event_time=1716314390590", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129118585416856, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009474, "quantity": 919.200000, "filled_quantity": 919.200000, "update_time": 129118260549408}}
- [ 2024-05-21-17-59-50 ] INFO : WebSocketEvent: delta=1.71631e+11, event_time=1716314390590", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129118585416856, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009474, "quantity": 919.200000, "filled_quantity": 919.200000, "update_time": 129118260549408}}
- [ 2024-05-21-17-59-50 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 919.200000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-17-59-50 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 919.2, "position_quote": 8.7085}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71631e+11, event_time=1716314390632", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129118462656544, "balance": {"asset": "LOTT", "free": 919.2, "locked": 0, "update_time": 1716314390627}}
- callback
- WebSocketEvent: delta=1.71631e+11, event_time=1716314390632", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129118260562336, "balance": {"asset": "USDT", "free": 27.4571, "locked": 30.03, "update_time": 1716314390627}}
- {"asset": "LOTT", "free": 919.2, "locked": 0, "update_time": 129118576298768}
- {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
- {"asset": "USDT", "free": 27.4571, "locked": 30.03, "update_time": 129118576298768}
- {"asset": "LOTT", "free": 919.2, "locked": 0, "update_time": 129118576298768}
- {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
- {"asset": "USDT", "free": 27.4571, "locked": 30.03, "update_time": 129118576298768}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement