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_TAKER_STRATEGY
- side: BUY
- amount: 10
- risk_manager: VANILLA
- logger is empty
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 134695287245584}
- {"asset": "LOTT", "free": 909.09, "locked": 0, "update_time": 134695287245584}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 134695287245584}
- {"asset": "USDT", "free": 251.404, "locked": 30.0252, "update_time": 134695287245584}
- {"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.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
- taker test completed!
- [ 2024-05-21-08-42-11 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
- here
- event amount: 10
- request: {"symbol": "LOTTUSDT", "amount": 10, "type": MARKET", "side": BUY"}
- [ 2024-05-21-08-42-11 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 917.340000, "update_time": 1716280931065}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716280931071", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134694805793584, "balance": {"asset": "USDT", "free": 241.394, "locked": 40.0351, "update_time": 1716280931068}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716280931090", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134695296363672, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009910, "quantity": 917.340000, "filled_quantity": 917.340000, "update_time": 134694805814928}}
- [ 2024-05-21-08-42-11 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716280931090", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134695296363672, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009910, "quantity": 917.340000, "filled_quantity": 917.340000, "update_time": 134694805814928}}
- [ 2024-05-21-08-42-11 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009910, "quantity": 917.340000, "trade_side": BUY, "trade_time": 0}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716280931100", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134694805828336, "balance": {"asset": "USDT", "free": 242.304, "locked": 30.0252, "update_time": 1716280931097}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716280931100", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134694805850176, "balance": {"asset": "LOTT", "free": 1826.43, "locked": 0, "update_time": 1716280931097}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 134695287245584}
- {"asset": "LOTT", "free": 1826.43, "locked": 0, "update_time": 134695287245584}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 134695287245584}
- {"asset": "USDT", "free": 242.304, "locked": 30.0252, "update_time": 134695287245584}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement