Advertisement
den4ik2003

Untitled

May 17th, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.32 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": 129890225474320}
  12. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
  13. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
  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.71582e+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": 1715946192459, "type": LIMIT", "side": BUY"}
  19. csize: 1
  20. [ 2024-05-17-11-43-13 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715946192480}
  21. [ 2024-05-17-11-43-13 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192459, "type": LIMIT", "side": BUY"}
  22. [ 2024-05-17-11-43-13 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889986395472}
  23.  
  24. callback
  25. WebSocketEvent: delta=1.71595e+11, event_time=1715946193069", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  26.  
  27. [ 2024-05-17-11-43-13 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946193069", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  28. [ 2024-05-17-11-43-13 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
  29. [ 2024-05-17-11-43-13 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715945832213, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715946192480}
  30. [ 2024-05-17-11-43-13 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  31.  
  32. Erase
  33. [ 2024-05-17-11-43-13 ] ! LOTTUSDT
  34. DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946193065}
  35.  
  36. callback
  37. WebSocketEvent: delta=1.71595e+11, event_time=1715946193073", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744022864, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946193068}}
  38.  
  39.  
  40. callback
  41. WebSocketEvent: delta=1.71595e+11, event_time=1715946193088", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  42.  
  43. [ 2024-05-17-11-43-13 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946193088", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  44. [ 2024-05-17-11-43-13 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  45. [ 2024-05-17-11-43-13 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
  46. [ 2024-05-17-11-43-13 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  47. ! LOTTUSDT
  48.  
  49. callback
  50. WebSocketEvent: delta=1.71595e+11, event_time=1715946193097", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946193095}}
  51.  
  52. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129890225474320}
  53. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
  54. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
  55. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  56. OrderEvent: delta=1.71582e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  57. LIMIT_GRID
  58. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192460, "type": LIMIT", "side": BUY"}
  59. csize: 1
  60. [ 2024-05-17-11-43-23 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  61. [ 2024-05-17-11-43-23 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192460, "type": LIMIT", "side": BUY"}
  62. [ 2024-05-17-11-43-23 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889978002768}
  63.  
  64. callback
  65. WebSocketEvent: delta=1.71595e+11, event_time=1715946203562", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  66.  
  67. [ 2024-05-17-11-43-23 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946203562", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  68. [ 2024-05-17-11-43-23 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
  69. [ 2024-05-17-11-43-23 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192459, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  70. [ 2024-05-17-11-43-23 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  71.  
  72. Erase
  73. ! LOTTUSDT
  74. [ 2024-05-17-11-43-23 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946203566}
  75.  
  76. callback
  77. WebSocketEvent: delta=1.71595e+11, event_time=1715946203573", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744076736, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946203569}}
  78.  
  79.  
  80. callback
  81. WebSocketEvent: delta=1.71595e+11, event_time=1715946203575", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946203572}}
  82.  
  83.  
  84. callback
  85. WebSocketEvent: delta=1.71595e+11, event_time=1715946203587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  86.  
  87. [ 2024-05-17-11-43-23 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946203587", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  88. [ 2024-05-17-11-43-23 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  89. [ 2024-05-17-11-43-23 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
  90. [ 2024-05-17-11-43-23 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  91. ! LOTTUSDT
  92. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129890225474320}
  93. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129890225474320}
  94. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129890225474320}
  95. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  96. OrderEvent: delta=1.71582e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  97. LIMIT_GRID
  98. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192461, "type": LIMIT", "side": BUY"}
  99. csize: 1
  100. [ 2024-05-17-11-43-34 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  101. [ 2024-05-17-11-43-34 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715946192461, "type": LIMIT", "side": BUY"}
  102. [ 2024-05-17-11-43-34 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715946214057}
  103. [ 2024-05-17-11-43-34 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889986395472}
  104.  
  105. callback
  106. WebSocketEvent: delta=1.71595e+11, event_time=1715946214063", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744076736, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715946214060}}
  107.  
  108.  
  109. callback
  110. WebSocketEvent: delta=1.71595e+11, event_time=1715946214075", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  111.  
  112. [ 2024-05-17-11-43-34 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946214075", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}}
  113. [ 2024-05-17-11-43-34 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744044016}
  114. [ 2024-05-17-11-43-34 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192460, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  115. [ 2024-05-17-11-43-34 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  116.  
  117. Erase
  118. ! LOTTUSDT
  119.  
  120. callback
  121. WebSocketEvent: delta=1.71595e+11, event_time=1715946214081", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  122.  
  123. [ 2024-05-17-11-43-34 ] INFO : WebSocketEvent: delta=1.71595e+11, event_time=1715946214081", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129890234592408, "order": {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}}
  124. [ 2024-05-17-11-43-34 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129889744066624}
  125. [ 2024-05-17-11-43-34 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1715946192461, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.006764, "quantity": 1478.360000, "update_time": 95427771770424}
  126. [ 2024-05-17-11-43-34 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  127. ! LOTTUSDT
  128.  
  129. callback
  130. WebSocketEvent: delta=1.71595e+11, event_time=1715946214121", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129889744057184, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715946214118}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement