Advertisement
den4ik2003

Untitled

May 21st, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT_taker
  2. file name -> LOTTUSDT_taker.config
  3. market: MEXC_SPOT
  4. symbol: LOTTUSDT
  5. api: mx0vglK51dUi2B9C2h
  6. secret: 6a8770866e0843f2a1e866239304fa54
  7. strategy: TEST_TAKER_STRATEGY
  8. side: BUY
  9. amount: 10
  10. debug: 1
  11. risk_manager: VANILLA
  12.  
  13. logger is empty
  14. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
  15. {"asset": "USDT", "free": 36.1743, "locked": 30.03, "update_time": 129118576298768}
  16. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  17. starts taker test!
  18. result: OrderEvent: delta=1.71619e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
  19. taker test completed!
  20. [ 2024-05-21-17-59-50 ] INFO : OrderEvent: delta=1.71619e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
  21. [ 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}
  22.  
  23. callback
  24. 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}}
  25.  
  26.  
  27. callback
  28. 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}}
  29.  
  30. [ 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}}
  31. [ 2024-05-21-17-59-50 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 919.200000, "trade_side": BUY, "trade_time": 0}
  32. [ 2024-05-21-17-59-50 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 919.2, "position_quote": 8.7085}
  33. ! LOTTUSDT
  34.  
  35. callback
  36. 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}}
  37.  
  38.  
  39. callback
  40. 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}}
  41.  
  42. {"asset": "LOTT", "free": 919.2, "locked": 0, "update_time": 129118576298768}
  43. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
  44. {"asset": "USDT", "free": 27.4571, "locked": 30.03, "update_time": 129118576298768}
  45. {"asset": "LOTT", "free": 919.2, "locked": 0, "update_time": 129118576298768}
  46. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 129118576298768}
  47. {"asset": "USDT", "free": 27.4571, "locked": 30.03, "update_time": 129118576298768}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement