Advertisement
den4ik2003

Untitled

May 17th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.74 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": 129386716056336}
  12. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
  13. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
  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": 1715943069921, "type": LIMIT", "side": BUY"}
  19. csize: 1
  20. [ 2024-05-17-10-51-10 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 1715943069945}
  21. [ 2024-05-17-10-51-10 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069921, "type": LIMIT", "side": BUY"}
  22. [ 2024-05-17-10-51-10 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386476981584}
  23. callback
  24. WebSocketEvent: delta=1.71594e+11, event_time=1715943070555", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  25. [ 2024-05-17-10-51-10 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943070555", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  26. [ 2024-05-17-10-51-10 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  27. ! LOTTUSDT
  28. callback
  29. WebSocketEvent: delta=1.71594e+11, event_time=1715943070569", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 290.718, "locked": 0, "update_time": 1715943070566}}
  30. callback
  31. WebSocketEvent: delta=1.71594e+11, event_time=1715943070578", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293341408, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943070575}}
  32. [ 2024-05-17-10-51-10 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943070572}
  33. callback
  34. WebSocketEvent: delta=1.71594e+11, event_time=1715943070592", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  35. [ 2024-05-17-10-51-10 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943070592", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  36. [ 2024-05-17-10-51-10 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  37. ! LOTTUSDT
  38. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129386716056336}
  39. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
  40. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
  41. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  42. OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  43. LIMIT_GRID
  44. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069922, "type": LIMIT", "side": BUY"}
  45. csize: 2
  46. [ 2024-05-17-10-51-21 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}
  47. [ 2024-05-17-10-51-21 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
  48. [ 2024-05-17-10-51-21 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069922, "type": LIMIT", "side": BUY"}
  49. [ 2024-05-17-10-51-21 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  50. [ 2024-05-17-10-51-21 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  51. [ 2024-05-17-10-51-21 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386468588880}
  52. callback
  53. WebSocketEvent: delta=1.71594e+11, event_time=1715943081066", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  54. [ 2024-05-17-10-51-21 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943081066", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  55. [ 2024-05-17-10-51-21 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  56. ! LOTTUSDT
  57. callback
  58. WebSocketEvent: delta=1.71594e+11, event_time=1715943081069", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332128, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715943081066}}
  59. callback
  60. WebSocketEvent: delta=1.71594e+11, event_time=1715943081083", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  61. [ 2024-05-17-10-51-21 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943081083", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  62. [ 2024-05-17-10-51-21 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  63. ! LOTTUSDT
  64. callback
  65. WebSocketEvent: delta=1.71594e+11, event_time=1715943081102", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943081100}}
  66. [ 2024-05-17-10-51-21 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943081064}
  67. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 129386716056336}
  68. {"asset": "RSR", "free": 64363.6, "locked": 0, "update_time": 129386716056336}
  69. {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 129386716056336}
  70. {"ask_price": 0.010019, "ask_quantity": 668.08, "bid_price": 0.009019, "bid_quantity": 748.56}
  71. OrderEvent: delta=1.71581e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.00676425, 1478.36); ]
  72. LIMIT_GRID
  73. @#*&* {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069923, "type": LIMIT", "side": BUY"}
  74. csize: 3
  75. [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}
  76. [ 2024-05-17-10-51-31 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 1478.360000, "client_order_id": 1715943069923, "type": LIMIT", "side": BUY"}
  77. [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715940349624, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
  78. [ 2024-05-17-10-51-31 ] DEBUG ! cancel: {"symbol": "LOTTUSDT", "coid": 1715943069921, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}
  79. [ 2024-05-17-10-51-31 ] DEBUG ? cancel: {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386460196176}
  80. [ 2024-05-17-10-51-31 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  81. [ 2024-05-17-10-51-31 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  82. callback
  83. WebSocketEvent: delta=1.71594e+11, event_time=1715943091564", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  84. [ 2024-05-17-10-51-31 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943091564", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069922, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293351872}}
  85. [ 2024-05-17-10-51-31 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  86. ! LOTTUSDT
  87. callback
  88. WebSocketEvent: delta=1.71594e+11, event_time=1715943091566", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293341408, "balance": {"asset": "USDT", "free": 270.699, "locked": 20.0193, "update_time": 1715943091563}}
  89. [ 2024-05-17-10-51-31 ] DEBUG ? cancel: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  90. [ 2024-05-17-10-51-31 ] ERROR cancel order error: ORDER_NOT_FOUND (MEXC_SPOT: Unknown order sent)
  91. callback
  92. WebSocketEvent: delta=1.71594e+11, event_time=1715943091575", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 129386293332672, "balance": {"asset": "USDT", "free": 280.708, "locked": 10.0096, "update_time": 1715943091573}}
  93. callback
  94. WebSocketEvent: delta=1.71594e+11, event_time=1715943091580", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  95. [ 2024-05-17-10-51-31 ] INFO : WebSocketEvent: delta=1.71594e+11, event_time=1715943091580", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 129386725174424, "order": {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.006764, "quantity": 1478.360000, "filled_quantity": 0.000000, "update_time": 129386293374240}}
  96. [ 2024-05-17-10-51-31 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.006764, "quantity": 0.000000, "trade_side": BUY, "trade_time": 0}
  97. ! LOTTUSDT
  98. [ 2024-05-17-10-51-31 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1715943069923, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1478.360000, "update_time": 1715943091561}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement