Advertisement
den4ik2003

Untitled

May 21st, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 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. debug: 1
  11. risk_manager: VANILLA
  12.  
  13. logger is empty
  14. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 134782178544400}
  15. {"asset": "LOTT", "free": 2743.77, "locked": 0, "update_time": 134782178544400}
  16. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 134782178544400}
  17. {"asset": "USDT", "free": 232.045, "locked": 30.0252, "update_time": 134782178544400}
  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_SELL", quantity: 1009.18
  21. taker test completed!
  22. [ 2024-05-21-09-03-02 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 1009.18
  23. [ 2024-05-21-09-03-02 ] DEBUG __process_taker_sell: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "NEW", "quantity": 1009.180000, "update_time": 1716282182564}
  24.  
  25. callback
  26. WebSocketEvent: delta=1.71628e+11, event_time=1716282182572", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134781846048896, "balance": {"asset": "LOTT", "free": 1734.59, "locked": 1009.18, "update_time": 1716282182566}}
  27.  
  28.  
  29. callback
  30. WebSocketEvent: delta=1.71628e+11, event_time=1716282182584", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134782187662488, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "PARTIALLY_FILLED", "price": 0.008778, "quantity": 1009.180000, "filled_quantity": 731.080000, "update_time": 134781846047504}}
  31.  
  32. [ 2024-05-21-09-03-02 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716282182584", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134782187662488, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "PARTIALLY_FILLED", "price": 0.008778, "quantity": 1009.180000, "filled_quantity": 731.080000, "update_time": 134781846047504}}
  33. [ 2024-05-21-09-03-02 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.008778, "quantity": 1009.180000, "trade_side": SELL, "trade_time": 0}
  34. [ 2024-05-21-09-03-02 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.008778, "quantity": -1009.18, "position_quote": -8.85858}
  35. ! LOTTUSDT
  36.  
  37. callback
  38. WebSocketEvent: delta=1.71628e+11, event_time=1716282182585", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134782187662488, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "CANCELED", "price": 0.008778, "quantity": 1009.180000, "filled_quantity": 731.080000, "update_time": 134781846017632}}
  39.  
  40. [ 2024-05-21-09-03-02 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716282182585", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134782187662488, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": SELL, "status": "CANCELED", "price": 0.008778, "quantity": 1009.180000, "filled_quantity": 731.080000, "update_time": 134781846017632}}
  41. [ 2024-05-21-09-03-02 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.008778, "quantity": 1009.180000, "trade_side": SELL, "trade_time": 0}
  42. [ 2024-05-21-09-03-02 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.008778, "quantity": -2018.36, "position_quote": -17.7172}
  43. ! LOTTUSDT
  44.  
  45. callback
  46. WebSocketEvent: delta=1.71628e+11, event_time=1716282182655", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134781846048688, "balance": {"asset": "LOTT", "free": 1734.59, "locked": 278.1, "update_time": 1716282182652}}
  47.  
  48.  
  49. callback
  50. WebSocketEvent: delta=1.71628e+11, event_time=1716282182657", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134782048152688, "balance": {"asset": "USDT", "free": 238.456, "locked": 30.0252, "update_time": 1716282182652}}
  51.  
  52.  
  53. callback
  54. WebSocketEvent: delta=1.71628e+11, event_time=1716282182742", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134781979344576, "balance": {"asset": "LOTT", "free": 2012.69, "locked": 0, "update_time": 1716282182740}}
  55.  
  56. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 134782178544400}
  57. {"asset": "LOTT", "free": 2012.69, "locked": 0, "update_time": 134782178544400}
  58. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 134782178544400}
  59. {"asset": "USDT", "free": 238.456, "locked": 30.0252, "update_time": 134782178544400}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement