Advertisement
den4ik2003

Untitled

May 21st, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT
  2. file name -> LOTTUSDT.config
  3. market: MEXC_SPOT
  4. symbol: LOTTUSDT
  5. api: mx0vglRsnmcTEgpmkD
  6. secret: ef47dd75fb8b41eebf145056dc98032f
  7. strategy: TEST_TAKER_STRATEGY
  8. side: SELL
  9. amount: 10
  10. risk_manager: VANILLA
  11.  
  12. logger is empty
  13. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127489644940048}
  14. {"asset": "LOTT", "free": 1826.43, "locked": 0, "update_time": 127489644940048}
  15. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127489644940048}
  16. {"asset": "USDT", "free": 242.304, "locked": 30.0252, "update_time": 127489644940048}
  17. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  18. starts taker test!
  19. result: OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 1009.08
  20. taker test completed!
  21. [ 2024-05-21-08-47-40 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 1009.08
  22. [ 2024-05-21-08-47-40 ] DEBUG __process_taker_sell: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "NEW", "quantity": 1009.080000, "update_time": 1716281260074}
  23.  
  24. callback
  25. WebSocketEvent: delta=1.71628e+11, event_time=1716281260087", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127489327124432, "balance": {"asset": "LOTT", "free": 817.35, "locked": 1009.08, "update_time": 1716281260078}}
  26.  
  27.  
  28. callback
  29. WebSocketEvent: delta=1.71628e+11, event_time=1716281260098", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127489654058136, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.008779, "quantity": 1009.080000, "filled_quantity": 1009.080000, "update_time": 127489529462800}}
  30.  
  31. [ 2024-05-21-08-47-40 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716281260098", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127489654058136, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.008779, "quantity": 1009.080000, "filled_quantity": 1009.080000, "update_time": 127489529462800}}
  32. [ 2024-05-21-08-47-40 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.008779, "quantity": 1009.080000, "trade_side": SELL, "trade_time": 0}
  33. ! LOTTUSDT
  34.  
  35. callback
  36. WebSocketEvent: delta=1.71628e+11, event_time=1716281260136", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127489327124224, "balance": {"asset": "LOTT", "free": 817.35, "locked": 0, "update_time": 1716281260134}}
  37.  
  38.  
  39. callback
  40. WebSocketEvent: delta=1.71628e+11, event_time=1716281260138", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127489529229408, "balance": {"asset": "USDT", "free": 251.154, "locked": 30.0252, "update_time": 1716281260134}}
  41.  
  42. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127489644940048}
  43. {"asset": "LOTT", "free": 817.35, "locked": 0, "update_time": 127489644940048}
  44. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127489644940048}
  45. {"asset": "USDT", "free": 251.154, "locked": 30.0252, "update_time": 127489644940048}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement