Advertisement
den4ik2003

Untitled

Jun 11th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.72 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/connector_demo/main$ cat /mnt/logs/MM_BOT-2024-06-11-15-17-03.log
  2. [ 2024-06-11-15-17-03 ] DEBUG init open orders: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  3. [ 2024-06-11-15-17-03 ] DEBUG init open orders: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  4. [ 2024-06-11-15-17-04 ] MESSAGE: mid price changed +7952812
  5. [ 2024-06-11-15-17-04 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119024582
  6. [ 2024-06-11-15-17-04 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4016, 19.085); (0.4017, 19.085); ], bids: [(0.3456, 40.2062); (0.3455, 40.2179); ]
  7. [ 2024-06-11-15-17-04 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4016, 19.085); (0.4017, 19.085); ], bids: [(0.3456, 40.2062); (0.3455, 40.2179); ]
  8. [ 2024-06-11-15-17-04 ] MESSAGE: LIMIT GRID
  9. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.4016
  10. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 19.085
  11. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.4017
  12. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 19.085
  13. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.3456
  14. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 40.2062
  15. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 0.3455
  16. [ 2024-06-11-15-17-04 ] DEBUG in _process_limit_grid: 40.2179
  17. [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.210000, "type": LIMIT", "side": BUY"}
  18. [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345600, "quantity": 40.200000, "type": LIMIT", "side": BUY"}
  19. [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401700, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  20. [ 2024-06-11-15-17-04 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401600, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  21. [ 2024-06-11-15-17-04 ] MESSAGE: csize: 2
  22. [ 2024-06-11-15-17-04 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  23. [ 2024-06-11-15-17-04 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  24. [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.210000, "client_order_id": 1718119023955, "type": LIMIT", "side": BUY"}
  25. [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345600, "quantity": 40.200000, "client_order_id": 1718119023956, "type": LIMIT", "side": BUY"}
  26. [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401600, "quantity": 19.080000, "client_order_id": 1718119023958, "type": LIMIT", "side": SELL"}
  27. [ 2024-06-11-15-17-04 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401700, "quantity": 19.080000, "client_order_id": 1718119023957, "type": LIMIT", "side": SELL"}
  28. [ 2024-06-11-15-17-04 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 124342482476096}
  29. [ 2024-06-11-15-17-04 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 124342490868800}
  30. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024616", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024616, "order": {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 264}}
  31. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  32. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 264}
  33. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718118980988, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345700, "quantity": 40.190000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  34. [ 2024-06-11-15-17-04 ] MESSAGE: erase
  35. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 5
  36. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024616", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024616, "order": {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 264}}
  37. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  38. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 264}
  39. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718118980989, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345800, "quantity": 40.180000, "filled_quantity": 0.000000, "update_time": 1718119023978}
  40. [ 2024-06-11-15-17-04 ] MESSAGE: erase
  41. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
  42. [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119024625}
  43. [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.210000, "update_time": 1718119024622}
  44. [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.200000, "update_time": 1718119024623}
  45. [ 2024-06-11-15-17-04 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119024631}
  46. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}}
  47. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  48. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
  49. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345400, "quantity": 40.210000, "update_time": 100408610046824}
  50. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
  51. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}}
  52. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  53. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
  54. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345600, "quantity": 40.200000, "update_time": 100408610046824}
  55. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
  56. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
  57. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  58. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  59. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401600, "quantity": 19.080000, "update_time": 100408610046824}
  60. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
  61. [ 2024-06-11-15-17-04 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119024677", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119024677, "order": {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
  62. [ 2024-06-11-15-17-04 ] MESSAGE: limit
  63. [ 2024-06-11-15-17-04 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  64. [ 2024-06-11-15-17-04 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401700, "quantity": 19.080000, "update_time": 100408610046824}
  65. [ 2024-06-11-15-17-04 ] MESSAGE: limit/market orders size: 4
  66. [ 2024-06-11-15-17-05 ] MESSAGE: mid price changed +7952812
  67. [ 2024-06-11-15-17-06 ] MESSAGE: mid price changed +7952812
  68. [ 2024-06-11-15-17-07 ] MESSAGE: mid price changed +7952812
  69. [ 2024-06-11-15-17-08 ] MESSAGE: mid price changed +7952812
  70. [ 2024-06-11-15-17-10 ] MESSAGE: mid price changed +7952812
  71. [ 2024-06-11-15-17-11 ] MESSAGE: mid price changed +7952812
  72. [ 2024-06-11-15-17-13 ] MESSAGE: mid price changed +7952812
  73. [ 2024-06-11-15-17-15 ] MESSAGE: mid price changed +7952812
  74. [ 2024-06-11-15-17-15 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119035579
  75. [ 2024-06-11-15-17-15 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
  76. [ 2024-06-11-15-17-15 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
  77. [ 2024-06-11-15-17-15 ] MESSAGE: LIMIT GRID
  78. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.4014
  79. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 19.085
  80. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.4015
  81. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 19.085
  82. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.3454
  83. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 40.2295
  84. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 0.3453
  85. [ 2024-06-11-15-17-15 ] DEBUG in _process_limit_grid: 40.2412
  86. [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345300, "quantity": 40.240000, "type": LIMIT", "side": BUY"}
  87. [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.220000, "type": LIMIT", "side": BUY"}
  88. [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  89. [ 2024-06-11-15-17-15 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  90. [ 2024-06-11-15-17-15 ] MESSAGE: csize: 4
  91. [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  92. [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  93. [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
  94. [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345400, "quantity": 40.220000, "client_order_id": 1718119023960, "type": LIMIT", "side": BUY"}
  95. [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "client_order_id": 1718119023962, "type": LIMIT", "side": SELL"}
  96. [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.345300, "quantity": 40.240000, "client_order_id": 1718119023959, "type": LIMIT", "side": BUY"}
  97. [ 2024-06-11-15-17-15 ] DEBUG ! cancel: {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
  98. [ 2024-06-11-15-17-15 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "client_order_id": 1718119023961, "type": LIMIT", "side": SELL"}
  99. [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 124342474083392}
  100. [ 2024-06-11-15-17-15 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023961, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.220000, "update_time": 1718119035591}
  101. [ 2024-06-11-15-17-15 ] DEBUG ? new: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
  102. [ 2024-06-11-15-17-15 ] ERROR new order error: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
  103. [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 124342054677568}
  104. [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 124342046284864}
  105. [ 2024-06-11-15-17-15 ] DEBUG ? cancel: {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 124342037892160}
  106. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035611", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035611, "order": {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}}
  107. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  108. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
  109. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023956, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345600, "quantity": 40.200000, "filled_quantity": 0.000000, "update_time": 260}
  110. [ 2024-06-11-15-17-15 ] MESSAGE: erase
  111. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 6
  112. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035615", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035615, "order": {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.220000, "filled_quantity": 0.000000, "update_time": 264}}
  113. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  114. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.220000, "filled_quantity": 0.000000, "update_time": 264}
  115. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023960, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345400, "quantity": 40.220000, "update_time": 100408610046824}
  116. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 6
  117. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035618", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035618, "order": {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
  118. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  119. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  120. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023957, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401700, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  121. [ 2024-06-11-15-17-15 ] MESSAGE: erase
  122. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 5
  123. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035619", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035619, "order": {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
  124. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  125. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "CANCELED", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  126. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023958, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401600, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  127. [ 2024-06-11-15-17-15 ] MESSAGE: erase
  128. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 4
  129. [ 2024-06-11-15-17-15 ] DEBUG ? new: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
  130. [ 2024-06-11-15-17-15 ] ERROR new order error: BALANCE_INSUFFICIENT (MEXC_SPOT: Oversold)
  131. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035627", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035627, "order": {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}}
  132. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  133. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "CANCELED", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
  134. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023955, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345400, "quantity": 40.210000, "filled_quantity": 0.000000, "update_time": 264}
  135. [ 2024-06-11-15-17-15 ] MESSAGE: erase
  136. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 2
  137. [ 2024-06-11-15-17-15 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023961, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 40.240000, "update_time": 1718119035630}
  138. [ 2024-06-11-15-17-15 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119035652", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119035652, "order": {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345300, "quantity": 40.240000, "filled_quantity": 0.000000, "update_time": 264}}
  139. [ 2024-06-11-15-17-15 ] MESSAGE: limit
  140. [ 2024-06-11-15-17-15 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.345300, "quantity": 40.240000, "filled_quantity": 0.000000, "update_time": 264}
  141. [ 2024-06-11-15-17-15 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023959, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.345300, "quantity": 40.240000, "update_time": 100408610046824}
  142. [ 2024-06-11-15-17-15 ] MESSAGE: limit/market orders size: 2
  143. [ 2024-06-11-15-17-17 ] MESSAGE: mid price changed +7952812
  144. [ 2024-06-11-15-17-25 ] MESSAGE: mid price changed +7952812
  145. [ 2024-06-11-15-17-25 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1718119045582
  146. [ 2024-06-11-15-17-25 ] DEBUG risk checker res: OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
  147. [ 2024-06-11-15-17-25 ] INFO : OrderEvent: delta=1.71812e+11, symbol="ONGUSDT", type="LIMIT_GRID", asks: [(0.4014, 19.085); (0.4015, 19.085); ], bids: [(0.3454, 40.2295); (0.3453, 40.2412); ]
  148. [ 2024-06-11-15-17-25 ] MESSAGE: LIMIT GRID
  149. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.4014
  150. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 19.085
  151. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.4015
  152. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 19.085
  153. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.3454
  154. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 40.2295
  155. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 0.3453
  156. [ 2024-06-11-15-17-25 ] DEBUG in _process_limit_grid: 40.2412
  157. [ 2024-06-11-15-17-25 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  158. [ 2024-06-11-15-17-25 ] DEBUG @#*&* : {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "type": LIMIT", "side": SELL"}
  159. [ 2024-06-11-15-17-25 ] MESSAGE: csize: 0
  160. [ 2024-06-11-15-17-25 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401500, "quantity": 19.080000, "client_order_id": 1718119023963, "type": LIMIT", "side": SELL"}
  161. [ 2024-06-11-15-17-25 ] DEBUG ! new: {"symbol": "ONGUSDT", "price": 0.401400, "quantity": 19.080000, "client_order_id": 1718119023964, "type": LIMIT", "side": SELL"}
  162. [ 2024-06-11-15-17-25 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119045593}
  163. [ 2024-06-11-15-17-25 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119045614", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119045614, "order": {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401400, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}}
  164. [ 2024-06-11-15-17-25 ] MESSAGE: limit
  165. [ 2024-06-11-15-17-25 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401400, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 262}
  166. [ 2024-06-11-15-17-25 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401400, "quantity": 19.080000, "update_time": 100408610046824}
  167. [ 2024-06-11-15-17-25 ] MESSAGE: limit/market orders size: 4
  168. [ 2024-06-11-15-17-25 ] DEBUG ? new: {"symbol": "ONGUSDT", "coid": 1718119023964, "type": LIMIT, "side": SELL, "status": "NEW", "quantity": 19.070000, "update_time": 1718119045593}
  169. [ 2024-06-11-15-17-25 ] INFO : WebSocketEvent: delta=1.71812e+11, event_time=1718119045617", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1718119045617, "order": {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401500, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 260}}
  170. [ 2024-06-11-15-17-25 ] MESSAGE: limit
  171. [ 2024-06-11-15-17-25 ] DEBUG Event order: : {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "NEW", "price": 0.401500, "quantity": 19.070000, "filled_quantity": 0.000000, "update_time": 260}
  172. [ 2024-06-11-15-17-25 ] DEBUG old order: : {"symbol": "ONGUSDT", "coid": 1718119023963, "type": LIMIT, "side": SELL, "status": "PENDING", "price": 0.401500, "quantity": 19.080000, "update_time": 100408610046824}
  173. [ 2024-06-11-15-17-25 ] MESSAGE: limit/market orders size: 4
  174. [ 2024-06-11-15-17-26 ] MESSAGE: mid price changed +7952812
  175. ubuntu@ip-172-31-31-23:~/connector_demo/main$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement