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: SELL
- amount: 7
- debug: 1
- risk_manager: VANILLA
- logger is empty
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 131074870987536}
- {"asset": "LOTT", "free": 2012.69, "locked": 0, "update_time": 131074870987536}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 131074870987536}
- {"asset": "USDT", "free": 238.456, "locked": 30.0252, "update_time": 131074870987536}
- {"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_SELL", quantity: 819.672
- taker test completed!
- [ 2024-05-21-09-22-51 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 819.672
- [ 2024-05-21-09-22-51 ] DEBUG __process_taker_sell: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "NEW", "quantity": 819.670000, "update_time": 1716283371565}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716283371573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 131074551074768, "balance": {"asset": "LOTT", "free": 1193.02, "locked": 819.67, "update_time": 1716283371567}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716283371587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 131074880105624, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.008540, "quantity": 819.670000, "filled_quantity": 819.670000, "update_time": 131074551043648}}
- [ 2024-05-21-09-22-51 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716283371587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 131074880105624, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.008540, "quantity": 819.670000, "filled_quantity": 819.670000, "update_time": 131074551043648}}
- [ 2024-05-21-09-22-51 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.008540, "quantity": 819.670000, "trade_side": SELL, "trade_time": 0}
- [ 2024-05-21-09-22-51 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.00854, "quantity": -819.67, "position_quote": -6.99998}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716283371628", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 131074551074560, "balance": {"asset": "LOTT", "free": 1193.02, "locked": 0, "update_time": 1716283371626}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716283371630", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 131074753179744, "balance": {"asset": "USDT", "free": 245.449, "locked": 30.0252, "update_time": 1716283371626}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 131074870987536}
- {"asset": "LOTT", "free": 1193.02, "locked": 0, "update_time": 131074870987536}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 131074870987536}
- {"asset": "USDT", "free": 245.449, "locked": 30.0252, "update_time": 131074870987536}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement