Advertisement
den4ik2003

Untitled

May 21st, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 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: BUY
  9. amount: 10
  10. debug: 1
  11. risk_manager: VANILLA
  12.  
  13. logger is empty
  14. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129259504913168}
  15. {"asset": "LOTT", "free": 1826.43, "locked": 0, "update_time": 129259504913168}
  16. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 129259504913168}
  17. {"asset": "USDT", "free": 241.144, "locked": 30.0252, "update_time": 129259504913168}
  18. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  19. starts taker test!
  20. result: OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
  21. taker test completed!
  22. [ 2024-05-21-08-59-10 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 10
  23. event amount: 10
  24. request: {"symbol": "LOTTUSDT", "amount": 10, "type": MARKET", "side": BUY"}
  25. [ 2024-05-21-08-59-10 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 917.340000, "update_time": 1716281950562}
  26.  
  27. callback
  28. WebSocketEvent: delta=1.71628e+11, event_time=1716281950573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129259188318864, "balance": {"asset": "USDT", "free": 231.134, "locked": 40.0351, "update_time": 1716281950564}}
  29.  
  30.  
  31. callback
  32. WebSocketEvent: delta=1.71628e+11, event_time=1716281950584", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129259514031256, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009909, "quantity": 917.340000, "filled_quantity": 917.340000, "update_time": 129259189163584}}
  33.  
  34. [ 2024-05-21-08-59-10 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716281950584", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129259514031256, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009909, "quantity": 917.340000, "filled_quantity": 917.340000, "update_time": 129259189163584}}
  35. [ 2024-05-21-08-59-10 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009909, "quantity": 917.340000, "trade_side": BUY, "trade_time": 0}
  36. [ 2024-05-21-08-59-10 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009909, "quantity": 917.34, "position_quote": 9.08992}
  37. ! LOTTUSDT
  38.  
  39. callback
  40. WebSocketEvent: delta=1.71628e+11, event_time=1716281950613", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129259189194512, "balance": {"asset": "LOTT", "free": 2743.77, "locked": 0, "update_time": 1716281950608}}
  41.  
  42.  
  43. callback
  44. WebSocketEvent: delta=1.71628e+11, event_time=1716281950613", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129259189193392, "balance": {"asset": "USDT", "free": 232.045, "locked": 30.0252, "update_time": 1716281950608}}
  45.  
  46. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129259504913168}
  47. {"asset": "LOTT", "free": 2743.77, "locked": 0, "update_time": 129259504913168}
  48. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 129259504913168}
  49. {"asset": "USDT", "free": 232.045, "locked": 30.0252, "update_time": 129259504913168}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement