Advertisement
den4ik2003

Untitled

May 17th, 2024
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.55 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_STRATEGY
  8. risk_manager: VANILLA
  9.  
  10. logger is empty
  11. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
  12. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
  13. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
  14. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  15. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  16. OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  17. LIMIT_GRID
  18. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832211, "type": LIMIT", "side": BUY"}
  19. csize: 1
  20. [ 2024-05-17-11-37-12 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715945832230}
  21. [ 2024-05-17-11-37-12 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832211, "type": LIMIT", "side": BUY"}
  22. [ 2024-05-17-11-37-12 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856952946000}
  23.  
  24. callback
  25. WebSocketEvent: delta=1.71595e+11, event_time=1715945832563", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  26.  
  27. [ 2024-05-17-11-37-12 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945832563", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  28. [ 2024-05-17-11-37-12 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  29. [ 2024-05-17-11-37-12 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715945832230}
  30. [ 2024-05-17-11-37-12 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  31. ! LOTTUSDT
  32. [ 2024-05-17-11-37-12 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945832564}
  33.  
  34. callback
  35. WebSocketEvent: delta=1.71595e+11, event_time=1715945832573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020994224, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715945832567}}
  36.  
  37.  
  38. callback
  39. WebSocketEvent: delta=1.71595e+11, event_time=1715945832586", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  40.  
  41. [ 2024-05-17-11-37-12 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945832586", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  42. [ 2024-05-17-11-37-12 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  43. [ 2024-05-17-11-37-12 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
  44. [ 2024-05-17-11-37-12 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  45. ! LOTTUSDT
  46.  
  47. callback
  48. WebSocketEvent: delta=1.71595e+11, event_time=1715945832613", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020979264, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945832607}}
  49.  
  50. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
  51. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
  52. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
  53. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  54. OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  55. LIMIT_GRID
  56. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832212, "type": LIMIT", "side": BUY"}
  57. csize: 2
  58. [ 2024-05-17-11-37-22 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  59. [ 2024-05-17-11-37-22 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  60. [ 2024-05-17-11-37-22 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832212, "type": LIMIT", "side": BUY"}
  61. [ 2024-05-17-11-37-22 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  62. [ 2024-05-17-11-37-22 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  63. [ 2024-05-17-11-37-22 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945842579}
  64. [ 2024-05-17-11-37-22 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856944553296}
  65.  
  66. callback
  67. WebSocketEvent: delta=1.71595e+11, event_time=1715945842584", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020946752, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715945842582}}
  68.  
  69.  
  70. callback
  71. WebSocketEvent: delta=1.71595e+11, event_time=1715945842605", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  72.  
  73. [ 2024-05-17-11-37-22 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945842605", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  74. [ 2024-05-17-11-37-22 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  75. [ 2024-05-17-11-37-22 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
  76. [ 2024-05-17-11-37-22 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  77. ! LOTTUSDT
  78.  
  79. callback
  80. WebSocketEvent: delta=1.71595e+11, event_time=1715945842610", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  81.  
  82. [ 2024-05-17-11-37-22 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945842610", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  83. [ 2024-05-17-11-37-22 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  84. [ 2024-05-17-11-37-22 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  85. [ 2024-05-17-11-37-22 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  86. ! LOTTUSDT
  87.  
  88. callback
  89. WebSocketEvent: delta=1.71595e+11, event_time=1715945842619", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020947296, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945842617}}
  90.  
  91. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 139857328327440}
  92. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 139857328327440}
  93. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 139857328327440}
  94. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  95. OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  96. LIMIT_GRID
  97. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832213, "type": LIMIT", "side": BUY"}
  98. csize: 3
  99. [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832211, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  100. [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  101. [ 2024-05-17-11-37-33 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945268220, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  102. [ 2024-05-17-11-37-33 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715945832213, "type": LIMIT", "side": BUY"}
  103. [ 2024-05-17-11-37-33 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  104. [ 2024-05-17-11-37-33 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  105. [ 2024-05-17-11-37-33 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  106. [ 2024-05-17-11-37-33 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  107. [ 2024-05-17-11-37-33 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139856936160592}
  108.  
  109. callback
  110. WebSocketEvent: delta=1.71595e+11, event_time=1715945853065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  111.  
  112. [ 2024-05-17-11-37-33 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945853065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}}
  113. [ 2024-05-17-11-37-33 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  114. [ 2024-05-17-11-37-33 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832212, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020966336}
  115. [ 2024-05-17-11-37-33 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  116. ! LOTTUSDT
  117.  
  118. callback
  119. WebSocketEvent: delta=1.71595e+11, event_time=1715945853075", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020947296, "balance": {"asset": "USDT", "free": 290.718, "locked": 0, "update_time": 1715945853073}}
  120.  
  121. [ 2024-05-17-11-37-33 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715945853079}
  122.  
  123. callback
  124. WebSocketEvent: delta=1.71595e+11, event_time=1715945853085", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 139857020994224, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715945853082}}
  125.  
  126.  
  127. callback
  128. WebSocketEvent: delta=1.71595e+11, event_time=1715945853102", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  129.  
  130. [ 2024-05-17-11-37-33 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715945853102", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 139857337445528, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}}
  131. [ 2024-05-17-11-37-33 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 139857020988704}
  132. [ 2024-05-17-11-37-33 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 109255441880632}
  133. [ 2024-05-17-11-37-33 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  134. ! LOTTUSDT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement