Advertisement
den4ik2003

Untitled

May 21st, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 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. debug: 1
  8. strategy: TEST_TAKER_STRATEGY
  9. side: BUY
  10. amount: 50
  11. risk_manager: VANILLA
  12.  
  13. logger is empty
  14. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127852787788560}
  15. {"asset": "LOTT", "free": 373.26, "locked": 0, "update_time": 127852787788560}
  16. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127852787788560}
  17. {"asset": "USDT", "free": 252.442, "locked": 30.0252, "update_time": 127852787788560}
  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.71616e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
  21. taker test completed!
  22. [ 2024-05-21-09-47-29 ] INFO : OrderEvent: delta=1.71616e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
  23. [ 2024-05-21-09-47-29 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 5277.600000, "update_time": 1716284849571}
  24.  
  25. callback
  26. WebSocketEvent: delta=1.71628e+11, event_time=1716284849578", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520254624, "balance": {"asset": "USDT", "free": 202.392, "locked": 80.0752, "update_time": 1716284849573}}
  27.  
  28.  
  29. callback
  30. WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852789743632}}
  31.  
  32. [ 2024-05-21-09-47-29 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852789743632}}
  33. [ 2024-05-21-09-47-29 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 5277.600000, "trade_side": BUY, "trade_time": 0}
  34. [ 2024-05-21-09-47-29 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 5277.6, "position_quote": 50}
  35. ! LOTTUSDT
  36.  
  37. callback
  38. WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "CANCELED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852520296928}}
  39.  
  40. [ 2024-05-21-09-47-29 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "CANCELED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852520296928}}
  41. [ 2024-05-21-09-47-29 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 5277.600000, "trade_side": BUY, "trade_time": 0}
  42. [ 2024-05-21-09-47-29 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 10555.2, "position_quote": 100}
  43. ! LOTTUSDT
  44.  
  45. callback
  46. WebSocketEvent: delta=1.71628e+11, event_time=1716284849630", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296240, "balance": {"asset": "USDT", "free": 202.392, "locked": 73.0767, "update_time": 1716284849625}}
  47.  
  48.  
  49. callback
  50. WebSocketEvent: delta=1.71628e+11, event_time=1716284849630", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296032, "balance": {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 1716284849625}}
  51.  
  52.  
  53. callback
  54. WebSocketEvent: delta=1.71628e+11, event_time=1716284849648", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296240, "balance": {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 1716284849645}}
  55.  
  56. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127852787788560}
  57. {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 127852787788560}
  58. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127852787788560}
  59. {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 127852787788560}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement