Advertisement
den4ik2003

Untitled

Jul 3rd, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.77 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ ./test mm_launch.config
  2. api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
  3. API 0x5f764a9a98c0
  4. run forever balance 0x5f764a9a98c0
  5. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1195, "locked": 0, "wallet": 0, "update_time": 0}, {"asset": "USDT", "free": 46.5695, "locked": 28.4049, "wallet": 0, "update_time": 0}, {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}]}
  6. get balance indicator 0x5f764a9a9a50
  7. balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
  8. {"asset": "LAI", "free": 1195, "locked": 0, "wallet": 0, "update_time": 0}
  9. {"asset": "USDT", "free": 46.5695, "locked": 28.4049, "wallet": 0, "update_time": 0}
  10. {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
  11. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
  12. [ 1720028755161 ] MESSAGE: Target exchange provided: MEXC_SPOT
  13. BITMART_SPOT {"symbol": "LAI_USDT", "base": "LAI", "quote": "USDT", "price_step": 0.000001, "price_precision": 6, "quntity_step": 0.100000, "quantity_precision": 1, "min_notional": 5, "max_notional": 1e+09, "maker_commission": 0, "taker_commission": 0}
  14. {"symbols": [{"symbol": "LAI_USDT", "market": "BITMART_SPOT", "account": "MM_BOT"}], "upnl_bound": "5", "name": "MARKET_MAKING_MANAGER", "rpnl_bound": "100", "max_position": "52", "cooldown": "6000"}
  15. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028755331", "263829b631063eab5ea18766cced62ff06a5a0b694a540c3352dab486441d81d"]}
  16. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  17. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028755642", "bc60ecae8b5b9743aa38dbba855fe64547dbd6d7bcac6e8090af5baa404ec0b1"]}
  18. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  19. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  20. ping
  21. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  22. ping
  23. [ 1720028756327 ] MESSAGE: Market event from BITMART_SPOT
  24. [ 1720028756327 ] MESSAGE: mm _process
  25. [ 1720028756328 ] MESSAGE: update uniswap price
  26. [ 1720028756767 ] MESSAGE: Target exchange price from uniswap = 0.000021
  27. [ 1720028756767 ] MESSAGE: mid price not changed
  28. [ 1720028756767 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  29. [ 1720028756767 ] MESSAGE: max pos is not exceeded
  30. [ 1720028756767 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028756767
  31. [ 2024-07-03-17-45-56 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015514, 478); (0.015515, 478); ], bids: [(2.1e-05, 1.42808e+06); (2e-05, 1.49949e+06); ]
  32. [ 2024-07-03-17-45-56 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015514, 478); (0.015515, 478); ], bids: [(2.1e-05, 1.42808e+06); (2e-05, 1.49949e+06); ]
  33. [ 1720028756768 ] MESSAGE: LIMIT GRID
  34. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 0.015514
  35. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 478
  36. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 0.015515
  37. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 478
  38. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 2.1e-05
  39. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 1.42808e+06
  40. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 2e-05
  41. [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 1.49949e+06
  42. [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1499488.200000, "type": "LIMIT", "side": "BUY"}
  43. [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1428084.000000, "type": "LIMIT", "side": "BUY"}
  44. [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "type": "LIMIT", "side": "SELL"}
  45. [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015514, "quantity": 478.000000, "type": "LIMIT", "side": "SELL"}
  46. [ 1720028756769 ] MESSAGE: csize: 2
  47. [ 2024-07-03-17-45-56 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028430888}
  48. [ 2024-07-03-17-45-56 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028430893}
  49. [ 2024-07-03-17-45-56 ] DEBUG ? cancel: empty order
  50. [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1499488.200000, "client_order_id": 1720028755021, "type": "LIMIT", "side": "BUY"}
  51. [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1428084.000000, "client_order_id": 1720028755022, "type": "LIMIT", "side": "BUY"}
  52. [ 1720028756870 ] MESSAGE: Market event from BITMART_SPOT
  53. [ 1720028756870 ] MESSAGE: mm _process
  54. [ 1720028756870 ] MESSAGE: Target exchange price from uniswap = 0.000021
  55. [ 1720028756870 ] MESSAGE: mid price not changed
  56. [ 2024-07-03-17-45-56 ] DEBUG ! new[ 1720028756871 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  57. [ 1720028756871 ] MESSAGE: max pos is not exceeded
  58. : {"symbol": "LAI_USDT", "price": 0.015514, "quantity": 478.000000, "client_order_id": 1720028755024, "type": "LIMIT", "side": "SELL"}
  59. [ 1720028756871 ] MESSAGE: cooldown is not exceeded
  60. [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "client_order_id": 1720028755023, "type": "LIMIT", "side": "SELL"}
  61. [ 1720028756873 ] MESSAGE: Market event from BITMART_SPOT
  62. [ 1720028756873 ] MESSAGE: mm _process
  63. [ 1720028756873 ] MESSAGE: Target exchange price from uniswap = 0.000021
  64. [ 1720028756873 ] MESSAGE: mid price not changed
  65. [ 1720028756873 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  66. [ 1720028756873 ] MESSAGE: max pos is not exceeded
  67. [ 1720028756873 ] MESSAGE: cooldown is not exceeded
  68. [ 1720028756873 ] MESSAGE: Market event from BITMART_SPOT
  69. [ 1720028756873 ] MESSAGE: mm _process
  70. [ 1720028756873 ] MESSAGE: Target exchange price from uniswap = 0.000021
  71. [ 1720028756873 ] MESSAGE: mid price not changed
  72. [ 1720028756874 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  73. [ 1720028756874 ] MESSAGE: max pos is not exceeded
  74. [ 1720028756874 ] MESSAGE: cooldown is not exceeded
  75. [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756876", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 644, "order": {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028756843}}
  76. [ 1720028756876 ] MESSAGE: limit
  77. [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028756843}
  78. [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028430888}
  79. [ 1720028756877 ] MESSAGE: erase
  80. [ 1720028756877 ] MESSAGE: in market making strategy fill process
  81. [ 1720028756877 ] MESSAGE: ! LAI_USDT
  82. [ 2024-07-03-17-45-56 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453108744448", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028756970}
  83. [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756971", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}}
  84. [ 1720028756971 ] MESSAGE: limit
  85. [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
  86. [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1499488.200000, "update_time": 0}
  87. [ 1720028756972 ] MESSAGE: in market making strategy fill process
  88. [ 1720028756972 ] MESSAGE: ! LAI_USDT
  89. [ 2024-07-03-17-45-56 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028756973}
  90. [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756974", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 552, "order": {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}}
  91. [ 1720028756974 ] MESSAGE: limit
  92. [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}
  93. [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015515, "quantity": 478.000000, "update_time": 0}
  94. [ 1720028756975 ] MESSAGE: in market making strategy fill process
  95. [ 1720028756975 ] MESSAGE: ! LAI_USDT
  96. [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757012", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 644, "order": {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028756984}}
  97. [ 1720028757012 ] MESSAGE: limit
  98. [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028756984}
  99. [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028430893}
  100. [ 1720028757013 ] MESSAGE: erase
  101. [ 1720028757013 ] MESSAGE: in market making strategy fill process
  102. [ 1720028757013 ] MESSAGE: ! LAI_USDT
  103. [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757050", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 552, "order": {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}}
  104. [ 1720028757050 ] MESSAGE: limit
  105. [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}
  106. [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015514, "quantity": 478.000000, "update_time": 0}
  107. [ 1720028757051 ] MESSAGE: in market making strategy fill process
  108. [ 1720028757051 ] MESSAGE: ! LAI_USDT
  109. [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 642, "order": {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757036}}
  110. [ 1720028757066 ] MESSAGE: limit
  111. [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757036}
  112. [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}
  113. [ 1720028757066 ] MESSAGE: erase
  114. [ 1720028757067 ] MESSAGE: in market making strategy fill process
  115. [ 1720028757067 ] MESSAGE: ! LAI_USDT
  116. [ 2024-07-03-17-45-57 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028757076}
  117. [ 2024-07-03-17-45-57 ] DEBUG ? cancel: empty order
  118. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028757123", "balance_details": [{"fz_bal": "0.000000000000000000000000000000", "ccy": "LAI", "av_bal": "717.000000000000000000000000000000"}]}
  119. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028757123", "balance_details": [{"fz_bal": "30.064734400000000000000000000000", "ccy": "USDT", "av_bal": "52.378318335000000000000000000000"}]}
  120. [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757161", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 723, "order": {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 478.000000, "update_time": 1720028757124}}
  121. [ 1720028757162 ] MESSAGE: limit
  122. [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 478.000000, "update_time": 1720028757124}
  123. [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}
  124. $$$ {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "trade_side": SELL, "trade_time": 1720028757124}
  125. [ 2024-07-03-17-45-57 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "trade_side": SELL, "trade_time": 1720028757124}
  126. [ 2024-07-03-17-45-57 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.015515, "quantity": -478, "position_quote": -7.41617}
  127. [ 1720028757163 ] MESSAGE: erase
  128. [ 1720028757163 ] MESSAGE: in market making strategy fill process
  129. [ 1720028757163 ] MESSAGE: ! LAI_USDT
  130. [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757391", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}}
  131. [ 1720028757392 ] MESSAGE: limit
  132. [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
  133. [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1428084.000000, "update_time": 0}
  134. [ 1720028757392 ] MESSAGE: in market making strategy fill process
  135. [ 1720028757392 ] MESSAGE: ! LAI_USDT
  136. [ 2024-07-03-17-45-57 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239460104775680", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028757575}
  137. [ 1720028758311 ] MESSAGE: Market event from BITMART_SPOT
  138. [ 1720028758312 ] MESSAGE: mm _process
  139. [ 1720028758312 ] MESSAGE: Target exchange price from uniswap = 0.000021
  140. [ 1720028758312 ] MESSAGE: mid price not changed
  141. [ 1720028758312 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  142. [ 1720028758312 ] MESSAGE: max pos is not exceeded
  143. [ 1720028758312 ] MESSAGE: cooldown is not exceeded
  144. [ 1720028758312 ] MESSAGE: Market event from BITMART_SPOT
  145. [ 1720028758312 ] MESSAGE: mm _process
  146. [ 1720028758312 ] MESSAGE: Target exchange price from uniswap = 0.000021
  147. [ 1720028758312 ] MESSAGE: mid price not changed
  148. [ 1720028758312 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  149. [ 1720028758312 ] MESSAGE: max pos is not exceeded
  150. [ 1720028758312 ] MESSAGE: cooldown is not exceeded
  151. [ 1720028760475 ] MESSAGE: Market event from BITMART_SPOT
  152. [ 1720028760475 ] MESSAGE: mm _process
  153. [ 1720028760475 ] MESSAGE: update uniswap price
  154. [ 1720028760491 ] MESSAGE: Target exchange price from uniswap = 0.000021
  155. [ 1720028760491 ] MESSAGE: mid price not changed
  156. [ 1720028760491 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  157. [ 1720028760491 ] MESSAGE: max pos is not exceeded
  158. [ 1720028760491 ] MESSAGE: cooldown is not exceeded
  159. [ 1720028760491 ] MESSAGE: Market event from BITMART_SPOT
  160. [ 1720028760491 ] MESSAGE: mm _process
  161. [ 1720028760491 ] MESSAGE: Target exchange price from uniswap = 0.000021
  162. [ 1720028760491 ] MESSAGE: mid price not changed
  163. [ 1720028760491 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  164. [ 1720028760491 ] MESSAGE: max pos is not exceeded
  165. [ 1720028760491 ] MESSAGE: cooldown is not exceeded
  166. [ 1720028761307 ] MESSAGE: Market event from BITMART_SPOT
  167. [ 1720028761307 ] MESSAGE: mm _process
  168. [ 1720028761307 ] MESSAGE: Target exchange price from uniswap = 0.000021
  169. [ 1720028761307 ] MESSAGE: mid price not changed
  170. [ 1720028761307 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  171. [ 1720028761307 ] MESSAGE: max pos is not exceeded
  172. [ 1720028761307 ] MESSAGE: cooldown is not exceeded
  173. [ 1720028761307 ] MESSAGE: Market event from BITMART_SPOT
  174. [ 1720028761307 ] MESSAGE: mm _process
  175. [ 1720028761307 ] MESSAGE: Target exchange price from uniswap = 0.000021
  176. [ 1720028761307 ] MESSAGE: mid price not changed
  177. [ 1720028761307 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  178. [ 1720028761307 ] MESSAGE: max pos is not exceeded
  179. [ 1720028761307 ] MESSAGE: cooldown is not exceeded
  180. [ 1720028762718 ] MESSAGE: Market event from BITMART_SPOT
  181. [ 1720028762718 ] MESSAGE: mm _process
  182. [ 1720028762718 ] MESSAGE: update uniswap price
  183. [ 1720028762735 ] MESSAGE: Target exchange price from uniswap = 0.000021
  184. [ 1720028762735 ] MESSAGE: mid price not changed
  185. [ 1720028762735 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  186. [ 1720028762735 ] MESSAGE: max pos is not exceeded
  187. [ 1720028762735 ] MESSAGE: cooldown is not exceeded
  188. [ 1720028762735 ] MESSAGE: Market event from BITMART_SPOT
  189. [ 1720028762735 ] MESSAGE: mm _process
  190. [ 1720028762735 ] MESSAGE: Target exchange price from uniswap = 0.000021
  191. [ 1720028762736 ] MESSAGE: mid price not changed
  192. [ 1720028762736 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  193. [ 1720028762736 ] MESSAGE: max pos is not exceeded
  194. [ 1720028762736 ] MESSAGE: cooldown is not exceeded
  195. [ 1720028763806 ] MESSAGE: Market event from BITMART_SPOT
  196. [ 1720028763806 ] MESSAGE: mm _process
  197. [ 1720028763806 ] MESSAGE: Target exchange price from uniswap = 0.000021
  198. [ 1720028763806 ] MESSAGE: mid price not changed
  199. [ 1720028763806 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  200. [ 1720028763807 ] MESSAGE: max pos is not exceeded
  201. [ 1720028763807 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028763807
  202. [ 1720028763807 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.133840
  203. [ 1720028763807 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
  204. [ 2024-07-03-17-46-03 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
  205. [ 2024-07-03-17-46-03 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
  206. [ 2024-07-03-17-46-03 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
  207. [ 1720028763808 ] MESSAGE: LIMIT GRID
  208. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 0.015519
  209. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 286.8
  210. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 0.01552
  211. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 286.8
  212. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 2.1e-05
  213. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 1.57034e+06
  214. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 2e-05
  215. [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 1.64886e+06
  216. [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1648861.000000, "type": "LIMIT", "side": "BUY"}
  217. [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1570343.800000, "type": "LIMIT", "side": "BUY"}
  218. [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  219. [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  220. [ 1720028763809 ] MESSAGE: csize: 2
  221. [ 2024-07-03-17-46-03 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
  222. [ 2024-07-03-17-46-03 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
  223. [ 2024-07-03-17-46-03 ] DEBUG ? cancel: empty order
  224. [ 2024-07-03-17-46-03 ] DEBUG ? cancel: empty order
  225. [ 2024-07-03-17-46-03 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1648861.000000, "client_order_id": 1720028755025, "type": "LIMIT", "side": "BUY"}
  226. [ 2024-07-03-17-46-03 ] DEBUG ! new: [ 1720028763909 ] MESSAGE: Market event from BITMART_SPOT
  227. [ 1720028763909 ] MESSAGE: mm _process
  228. {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1570343.800000, "client_order_id": 1720028755026, "type": "LIMIT", "side": "BUY"}
  229. [ 1720028763910 ] MESSAGE: Target exchange price from uniswap = 0.000021
  230. [ 1720028763910 ] MESSAGE: mid price not changed
  231. [ 1720028763910 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  232. [ 1720028763910 ] MESSAGE: max pos is not exceeded
  233. [ 2024-07-03-17-46-03 ] DEBUG ! new: [ 1720028763910 ] MESSAGE: cooldown is not exceeded
  234. {"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "client_order_id": 1720028755027, "type": "LIMIT", "side": "SELL"}
  235. [ 2024-07-03-17-46-03 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "client_order_id": 1720028755028, "type": "LIMIT", "side": "SELL"}
  236. [ 2024-07-03-17-46-03 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028763910", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028763872}}
  237. [ 1720028763911 ] MESSAGE: limit
  238. [ 2024-07-03-17-46-03 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028763872}
  239. [ 2024-07-03-17-46-03 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
  240. [ 1720028763911 ] MESSAGE: erase
  241. [ 1720028763912 ] MESSAGE: in market making strategy fill process
  242. [ 1720028763912 ] MESSAGE: ! LAI_USDT
  243. [ 2024-07-03-17-46-03 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028763913", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028763881}}
  244. [ 1720028763914 ] MESSAGE: limit
  245. [ 2024-07-03-17-46-03 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028763881}
  246. [ 2024-07-03-17-46-03 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
  247. [ 1720028763914 ] MESSAGE: erase
  248. [ 1720028763914 ] MESSAGE: in market making strategy fill process
  249. [ 1720028763914 ] MESSAGE: ! LAI_USDT
  250. {"trace": "66ff38f98af34e28b27c1d4a4ab10ac1.107.17200287639442295", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  251. [ 2024-07-03-17-46-03 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  252. {"trace": "edce44a6fd5145728f8477048eb7c89c.110.17200287639479039", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  253. [ 2024-07-03-17-46-03 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "client_order_id": 1720028755027, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  254. [ 2024-07-03-17-46-03 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  255. [ 2024-07-03-17-46-03 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "client_order_id": 1720028755028, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  256. [ 2024-07-03-17-46-03 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755028, "order_id": "621239571086586624", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015519, "quantity": 286.800000, "update_time": 1720028763997}
  257. [ 2024-07-03-17-46-04 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028764000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}}
  258. [ 1720028764001 ] MESSAGE: limit
  259. [ 2024-07-03-17-46-04 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
  260. [ 2024-07-03-17-46-04 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1648861.000000, "update_time": 0}
  261. [ 1720028764001 ] MESSAGE: in market making strategy fill process
  262. [ 1720028764001 ] MESSAGE: ! LAI_USDT
  263. [ 2024-07-03-17-46-04 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028764002", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}}
  264. [ 1720028764003 ] MESSAGE: limit
  265. [ 2024-07-03-17-46-04 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
  266. [ 2024-07-03-17-46-04 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1570343.800000, "update_time": 0}
  267. [ 1720028764003 ] MESSAGE: in market making strategy fill process
  268. [ 2024-07-03-17-46-04 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755028, "order_id": "621239571141369344", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015519, "quantity": 286.800000, "update_time": 1720028764002}
  269. [ 1720028764004 ] MESSAGE: ! LAI_USDT
  270. [ 1720028764378 ] MESSAGE: Market event from BITMART_SPOT
  271. [ 1720028764378 ] MESSAGE: mm _process
  272. [ 1720028764379 ] MESSAGE: Target exchange price from uniswap = 0.000021
  273. [ 1720028764379 ] MESSAGE: mid price not changed
  274. [ 1720028764379 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  275. [ 1720028764379 ] MESSAGE: max pos is not exceeded
  276. [ 1720028764379 ] MESSAGE: cooldown is not exceeded
  277. [ 1720028764379 ] MESSAGE: Market event from BITMART_SPOT
  278. [ 1720028764379 ] MESSAGE: mm _process
  279. [ 1720028764379 ] MESSAGE: Target exchange price from uniswap = 0.000021
  280. [ 1720028764379 ] MESSAGE: mid price not changed
  281. [ 1720028764379 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  282. [ 1720028764379 ] MESSAGE: max pos is not exceeded
  283. [ 1720028764379 ] MESSAGE: cooldown is not exceeded
  284. [ 1720028764903 ] MESSAGE: Market event from BITMART_SPOT
  285. [ 1720028764903 ] MESSAGE: mm _process
  286. [ 1720028764903 ] MESSAGE: update uniswap price
  287. [ 1720028764917 ] MESSAGE: Target exchange price from uniswap = 0.000021
  288. [ 1720028764917 ] MESSAGE: mid price not changed
  289. [ 1720028764917 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  290. [ 1720028764917 ] MESSAGE: max pos is not exceeded
  291. [ 1720028764917 ] MESSAGE: cooldown is not exceeded
  292. [ 1720028764917 ] MESSAGE: Market event from BITMART_SPOT
  293. [ 1720028764917 ] MESSAGE: mm _process
  294. [ 1720028764917 ] MESSAGE: Target exchange price from uniswap = 0.000021
  295. [ 1720028764918 ] MESSAGE: mid price not changed
  296. [ 1720028764918 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  297. [ 1720028764918 ] MESSAGE: max pos is not exceeded
  298. [ 1720028764918 ] MESSAGE: cooldown is not exceeded
  299. balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
  300. {"asset": "LAI", "free": 717, "locked": 0, "wallet": 0, "update_time": 0}
  301. {"asset": "USDT", "free": 16.3237, "locked": 65.9544, "wallet": 0, "update_time": 0}
  302. {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
  303. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
  304. [ 1720028766552 ] MESSAGE: Market event from BITMART_SPOT
  305. [ 1720028766552 ] MESSAGE: mm _process
  306. [ 1720028766552 ] MESSAGE: Target exchange price from uniswap = 0.000021
  307. [ 1720028766552 ] MESSAGE: mid price not changed
  308. [ 1720028766553 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  309. [ 1720028766553 ] MESSAGE: max pos is not exceeded
  310. [ 1720028766553 ] MESSAGE: cooldown is not exceeded
  311. [ 1720028766553 ] MESSAGE: Market event from BITMART_SPOT
  312. [ 1720028766553 ] MESSAGE: mm _process
  313. [ 1720028766553 ] MESSAGE: Target exchange price from uniswap = 0.000021
  314. [ 1720028766553 ] MESSAGE: mid price not changed
  315. [ 1720028766553 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  316. [ 1720028766553 ] MESSAGE: max pos is not exceeded
  317. [ 1720028766553 ] MESSAGE: cooldown is not exceeded
  318. [ 1720028767074 ] MESSAGE: Market event from BITMART_SPOT
  319. [ 1720028767074 ] MESSAGE: mm _process
  320. [ 1720028767074 ] MESSAGE: update uniswap price
  321. [ 1720028767090 ] MESSAGE: Target exchange price from uniswap = 0.000021
  322. [ 1720028767090 ] MESSAGE: mid price not changed
  323. [ 1720028767090 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  324. [ 1720028767090 ] MESSAGE: max pos is not exceeded
  325. [ 1720028767090 ] MESSAGE: cooldown is not exceeded
  326. [ 1720028767091 ] MESSAGE: Market event from BITMART_SPOT
  327. [ 1720028767091 ] MESSAGE: mm _process
  328. [ 1720028767091 ] MESSAGE: Target exchange price from uniswap = 0.000021
  329. [ 1720028767091 ] MESSAGE: mid price not changed
  330. [ 1720028767091 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  331. [ 1720028767091 ] MESSAGE: max pos is not exceeded
  332. [ 1720028767091 ] MESSAGE: cooldown is not exceeded
  333. [ 1720028767992 ] MESSAGE: Market event from BITMART_SPOT
  334. [ 1720028767992 ] MESSAGE: mm _process
  335. [ 1720028767992 ] MESSAGE: Target exchange price from uniswap = 0.000021
  336. [ 1720028767992 ] MESSAGE: mid price not changed
  337. [ 1720028767992 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  338. [ 1720028767992 ] MESSAGE: max pos is not exceeded
  339. [ 1720028767992 ] MESSAGE: cooldown is not exceeded
  340. [ 1720028767993 ] MESSAGE: Market event from BITMART_SPOT
  341. [ 1720028767993 ] MESSAGE: mm _process
  342. [ 1720028767993 ] MESSAGE: Target exchange price from uniswap = 0.000021
  343. [ 1720028767993 ] MESSAGE: mid price not changed
  344. [ 1720028767993 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  345. [ 1720028767993 ] MESSAGE: max pos is not exceeded
  346. [ 1720028767993 ] MESSAGE: cooldown is not exceeded
  347. [ 1720028769366 ] MESSAGE: Market event from BITMART_SPOT
  348. [ 1720028769366 ] MESSAGE: mm _process
  349. [ 1720028769367 ] MESSAGE: update uniswap price
  350. [ 1720028769381 ] MESSAGE: Target exchange price from uniswap = 0.000021
  351. [ 1720028769381 ] MESSAGE: mid price not changed
  352. [ 1720028769381 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  353. [ 1720028769381 ] MESSAGE: max pos is not exceeded
  354. [ 1720028769381 ] MESSAGE: cooldown is not exceeded
  355. [ 1720028769381 ] MESSAGE: Market event from BITMART_SPOT
  356. [ 1720028769382 ] MESSAGE: mm _process
  357. [ 1720028769382 ] MESSAGE: Target exchange price from uniswap = 0.000021
  358. [ 1720028769382 ] MESSAGE: mid price not changed
  359. [ 1720028769382 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  360. [ 1720028769382 ] MESSAGE: max pos is not exceeded
  361. [ 1720028769382 ] MESSAGE: cooldown is not exceeded
  362. [ 1720028769962 ] MESSAGE: Market event from BITMART_SPOT
  363. [ 1720028769962 ] MESSAGE: mm _process
  364. [ 1720028769962 ] MESSAGE: Target exchange price from uniswap = 0.000021
  365. [ 1720028769963 ] MESSAGE: mid price not changed
  366. [ 1720028769963 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  367. [ 1720028769963 ] MESSAGE: max pos is not exceeded
  368. [ 1720028769963 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028769963
  369. [ 1720028769963 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.133840
  370. [ 1720028769963 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
  371. [ 2024-07-03-17-46-09 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
  372. [ 2024-07-03-17-46-09 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
  373. [ 2024-07-03-17-46-09 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
  374. [ 1720028769964 ] MESSAGE: LIMIT GRID
  375. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 0.015524
  376. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 286.8
  377. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 0.015525
  378. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 286.8
  379. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 2.1e-05
  380. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 1.5672e+06
  381. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 2e-05
  382. [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 1.64556e+06
  383. [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645563.300000, "type": "LIMIT", "side": "BUY"}
  384. [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567203.100000, "type": "LIMIT", "side": "BUY"}
  385. [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  386. [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  387. [ 1720028769965 ] MESSAGE: csize: 2
  388. [ 2024-07-03-17-46-09 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
  389. [ 2024-07-03-17-46-09 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
  390. [ 2024-07-03-17-46-10 ] DEBUG ? cancel: empty order
  391. [ 2024-07-03-17-46-10 ] DEBUG ? cancel: empty order
  392. [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645563.300000, "client_order_id": 1720028755029, "type": "LIMIT", "side": "BUY"}
  393. [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "client_order_id": 1720028755032, "type": "LIMIT", "side": "SELL"}
  394. [ 1720028770066 ] MESSAGE: Market event from BITMART_SPOT
  395. [ 2024-07-03-17-46-10 ] DEBUG ! new: [ 1720028770066 ] MESSAGE: mm _process
  396. {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567203.100000, "client_order_id": 1720028755030, "type": "LIMIT", "side": "BUY"}
  397. [ 1720028770066 ] MESSAGE: Target exchange price from uniswap = 0.000021
  398. [ 1720028770066 ] MESSAGE: mid price not changed
  399. [ 1720028770066 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  400. [ 1720028770066 ] MESSAGE: max pos is not exceeded
  401. [ 1720028770066 ] MESSAGE: cooldown is not exceeded
  402. [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "client_order_id": 1720028755031, "type": "LIMIT", "side": "SELL"}
  403. [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770067", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028770026}}
  404. [ 1720028770067 ] MESSAGE: limit
  405. [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028770026}
  406. [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
  407. [ 1720028770068 ] MESSAGE: erase
  408. [ 1720028770068 ] MESSAGE: in market making strategy fill process
  409. [ 1720028770068 ] MESSAGE: ! LAI_USDT
  410. [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770068", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028770036}}
  411. [ 1720028770069 ] MESSAGE: limit
  412. [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028770036}
  413. [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
  414. [ 1720028770069 ] MESSAGE: erase
  415. [ 1720028770069 ] MESSAGE: in market making strategy fill process
  416. [ 1720028770069 ] MESSAGE: ! LAI_USDT
  417. {"trace": "8e58c7b154c84f05b4eb7db7cf49a74d.97.17200287700955303", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  418. [ 2024-07-03-17-46-10 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  419. [ 2024-07-03-17-46-10 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "client_order_id": 1720028755032, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  420. {"trace": "e44cfaf4f7224c66a2b62e442f4ad049.96.17200287701053219", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  421. [ 2024-07-03-17-46-10 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  422. [ 2024-07-03-17-46-10 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "client_order_id": 1720028755031, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  423. [ 2024-07-03-17-46-10 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755031, "order_id": "621239674388622592", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015525, "quantity": 286.800000, "update_time": 1720028770155}
  424. [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770156", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}}
  425. [ 1720028770157 ] MESSAGE: limit
  426. [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
  427. [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1645563.300000, "update_time": 0}
  428. [ 2024-07-03-17-46-10 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755031, "order_id": "621239674437184256", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015525, "quantity": 286.800000, "update_time": 1720028770157}
  429. [ 1720028770158 ] MESSAGE: in market making strategy fill process
  430. [ 1720028770158 ] MESSAGE: ! LAI_USDT
  431. [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770158", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}}
  432. [ 1720028770159 ] MESSAGE: limit
  433. [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
  434. [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1567203.100000, "update_time": 0}
  435. [ 1720028770160 ] MESSAGE: in market making strategy fill process
  436. [ 1720028770160 ] MESSAGE: ! LAI_USDT
  437. [ 1720028770808 ] MESSAGE: Market event from BITMART_SPOT
  438. [ 1720028770808 ] MESSAGE: mm _process
  439. [ 1720028770808 ] MESSAGE: Target exchange price from uniswap = 0.000021
  440. [ 1720028770808 ] MESSAGE: mid price not changed
  441. [ 1720028770808 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  442. [ 1720028770809 ] MESSAGE: max pos is not exceeded
  443. [ 1720028770809 ] MESSAGE: cooldown is not exceeded
  444. [ 1720028770809 ] MESSAGE: Market event from BITMART_SPOT
  445. [ 1720028770809 ] MESSAGE: mm _process
  446. [ 1720028770809 ] MESSAGE: Target exchange price from uniswap = 0.000021
  447. [ 1720028770809 ] MESSAGE: mid price not changed
  448. [ 1720028770809 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  449. [ 1720028770809 ] MESSAGE: max pos is not exceeded
  450. [ 1720028770809 ] MESSAGE: cooldown is not exceeded
  451. [ 1720028772222 ] MESSAGE: Market event from BITMART_SPOT
  452. [ 1720028772222 ] MESSAGE: mm _process
  453. [ 1720028772222 ] MESSAGE: update uniswap price
  454. [ 1720028772238 ] MESSAGE: Target exchange price from uniswap = 0.000021
  455. [ 1720028772238 ] MESSAGE: mid price not changed
  456. [ 1720028772238 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  457. [ 1720028772238 ] MESSAGE: max pos is not exceeded
  458. [ 1720028772238 ] MESSAGE: cooldown is not exceeded
  459. [ 1720028772238 ] MESSAGE: Market event from BITMART_SPOT
  460. [ 1720028772238 ] MESSAGE: mm _process
  461. [ 1720028772238 ] MESSAGE: Target exchange price from uniswap = 0.000021
  462. [ 1720028772238 ] MESSAGE: mid price not changed
  463. [ 1720028772238 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  464. [ 1720028772238 ] MESSAGE: max pos is not exceeded
  465. [ 1720028772239 ] MESSAGE: cooldown is not exceeded
  466. ping
  467. [ 1720028773628 ] MESSAGE: Market event from BITMART_SPOT
  468. [ 1720028773628 ] MESSAGE: mm _process
  469. [ 1720028773628 ] MESSAGE: Target exchange price from uniswap = 0.000021
  470. [ 1720028773628 ] MESSAGE: mid price not changed
  471. [ 1720028773628 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  472. [ 1720028773629 ] MESSAGE: max pos is not exceeded
  473. [ 1720028773629 ] MESSAGE: cooldown is not exceeded
  474. [ 1720028773629 ] MESSAGE: Market event from BITMART_SPOT
  475. [ 1720028773629 ] MESSAGE: mm _process
  476. [ 1720028773629 ] MESSAGE: Target exchange price from uniswap = 0.000021
  477. [ 1720028773629 ] MESSAGE: mid price not changed
  478. [ 1720028773629 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  479. [ 1720028773629 ] MESSAGE: max pos is not exceeded
  480. [ 1720028773629 ] MESSAGE: cooldown is not exceeded
  481. [ 1720028775058 ] MESSAGE: Market event from BITMART_SPOT
  482. [ 1720028775059 ] MESSAGE: mm _process
  483. [ 1720028775059 ] MESSAGE: update uniswap price
  484. [ 1720028775075 ] MESSAGE: Target exchange price from uniswap = 0.000021
  485. [ 1720028775075 ] MESSAGE: mid price not changed
  486. [ 1720028775075 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  487. [ 1720028775075 ] MESSAGE: max pos is not exceeded
  488. [ 1720028775075 ] MESSAGE: cooldown is not exceeded
  489. [ 1720028775076 ] MESSAGE: Market event from BITMART_SPOT
  490. [ 1720028775076 ] MESSAGE: mm _process
  491. [ 1720028775076 ] MESSAGE: Target exchange price from uniswap = 0.000021
  492. [ 1720028775076 ] MESSAGE: mid price not changed
  493. [ 1720028775076 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  494. [ 1720028775076 ] MESSAGE: max pos is not exceeded
  495. [ 1720028775076 ] MESSAGE: cooldown is not exceeded
  496. balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
  497. {"asset": "LAI", "free": 717, "locked": 0, "wallet": 0, "update_time": 0}
  498. {"asset": "USDT", "free": 16.456, "locked": 65.8225, "wallet": 0, "update_time": 0}
  499. {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
  500. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
  501. [ 1720028776230 ] MESSAGE: Market event from BITMART_SPOT
  502. [ 1720028776231 ] MESSAGE: mm _process
  503. [ 1720028776231 ] MESSAGE: Target exchange price from uniswap = 0.000021
  504. [ 1720028776231 ] MESSAGE: mid price not changed
  505. [ 1720028776231 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  506. [ 1720028776231 ] MESSAGE: max pos is not exceeded
  507. [ 1720028776231 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028776231
  508. [ 1720028776231 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.132884
  509. [ 1720028776231 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
  510. [ 2024-07-03-17-46-16 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
  511. [ 2024-07-03-17-46-16 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
  512. [ 2024-07-03-17-46-16 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
  513. [ 1720028776232 ] MESSAGE: LIMIT GRID
  514. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 0.015528
  515. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 286.8
  516. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 0.015529
  517. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 286.8
  518. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 2.1e-05
  519. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 1.56721e+06
  520. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 2e-05
  521. [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 1.64557e+06
  522. [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567209.400000, "type": "LIMIT", "side": "BUY"}
  523. [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645569.900000, "type": "LIMIT", "side": "BUY"}
  524. [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  525. [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
  526. [ 1720028776233 ] MESSAGE: csize: 2
  527. [ 2024-07-03-17-46-16 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
  528. [ 2024-07-03-17-46-16 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
  529. [ 2024-07-03-17-46-16 ] DEBUG ? cancel: empty order
  530. [ 2024-07-03-17-46-16 ] DEBUG ? cancel: empty order
  531. [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567209.400000, "client_order_id": 1720028755033, "type": "LIMIT", "side": "BUY"}
  532. [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645569.900000, "client_order_id": 1720028755034, "type": "LIMIT", "side": "BUY"}
  533. [ 1720028776334 ] MESSAGE: Market event from BITMART_SPOT
  534. [ 1720028776334 ] MESSAGE: mm _process
  535. [ 1720028776334 ] MESSAGE: Target exchange price from uniswap = 0.000021
  536. [ 1720028776334 ] MESSAGE: mid price not changed
  537. [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "client_order_id": 1720028755035, "type": "LIMIT", "side": "SELL"}
  538. [ 1720028776334 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  539. [ [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "client_order_id": 1720028755036, "type": "LIMIT", "side": "SELL"}
  540. 1720028776334 ] MESSAGE: max pos is not exceeded
  541. [ 1720028776334 ] MESSAGE: cooldown is not exceeded
  542. [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776335", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028776296}}
  543. [ 1720028776335 ] MESSAGE: limit
  544. [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028776296}
  545. [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
  546. [ 1720028776336 ] MESSAGE: erase
  547. [ 1720028776336 ] MESSAGE: in market making strategy fill process
  548. [ 1720028776336 ] MESSAGE: ! LAI_USDT
  549. ping
  550. [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776337", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028776305}}
  551. [ 1720028776337 ] MESSAGE: limit
  552. [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028776305}
  553. [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
  554. [ 1720028776338 ] MESSAGE: erase
  555. [ 1720028776338 ] MESSAGE: in market making strategy fill process
  556. [ 1720028776338 ] MESSAGE: ! LAI_USDT
  557. {"trace": "0b8b32133f0c44a3971cd7a50a4ec752.114.17200287763717347", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  558. [ 2024-07-03-17-46-16 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  559. [ 2024-07-03-17-46-16 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "client_order_id": 1720028755035, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  560. {"trace": "8e58c7b154c84f05b4eb7db7cf49a74d.102.17200287763682209", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
  561. [ 2024-07-03-17-46-16 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  562. [ 2024-07-03-17-46-16 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "client_order_id": 1720028755036, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
  563. [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776425", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "621239779544016384", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567209.000000, "filled_quantity": 0.000000, "update_time": 1720028776380}}
  564. [ 2024-07-03-17-46-16 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755036, "order_id": "621239779581898240", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015528, "quantity": 286.800000, "update_time": 1720028776425}
  565. [ 1720028776426 ] MESSAGE: limit
  566. [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "621239779544016384", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567209.000000, "filled_quantity": 0.000000, "update_time": 1720028776380}
  567. [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1567209.400000, "update_time": 0}
  568. [ 2024-07-03-17-46-16 ] DEBUG ? new: {"symbol": "LAI_USDT", [ 1720028776427 ] MESSAGE: in market making strategy fill process
  569. "coid": 1720028755036, "order_id": "621239779544016384", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015528, "quantity": 286.800000, "update_time": 1720028776426}
  570. [ 1720028776427 ] MESSAGE: ! LAI_USDT
  571. [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776428", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "621239779581898240", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645569.000000, "filled_quantity": 0.000000, "update_time": 1720028776382}}
  572. [ 1720028776428 ] MESSAGE: limit
  573. [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "621239779581898240", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645569.000000, "filled_quantity": 0.000000, "update_time": 1720028776382}
  574. [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1645569.900000, "update_time": 0}
  575. [ 1720028776429 ] MESSAGE: in market making strategy fill process
  576. [ 1720028776429 ] MESSAGE: ! LAI_USDT
  577. [ 1720028777351 ] MESSAGE: Market event from BITMART_SPOT
  578. [ 1720028777351 ] MESSAGE: mm _process
  579. [ 1720028777351 ] MESSAGE: update uniswap price
  580. [ 1720028777367 ] MESSAGE: Target exchange price from uniswap = 0.000021
  581. [ 1720028777367 ] MESSAGE: mid price not changed
  582. [ 1720028777367 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  583. [ 1720028777367 ] MESSAGE: max pos is not exceeded
  584. [ 1720028777367 ] MESSAGE: cooldown is not exceeded
  585. [ 1720028777367 ] MESSAGE: Market event from BITMART_SPOT
  586. [ 1720028777367 ] MESSAGE: mm _process
  587. [ 1720028777367 ] MESSAGE: Target exchange price from uniswap = 0.000021
  588. [ 1720028777367 ] MESSAGE: mid price not changed
  589. [ 1720028777367 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  590. [ 1720028777368 ] MESSAGE: max pos is not exceeded
  591. [ 1720028777368 ] MESSAGE: cooldown is not exceeded
  592. [ 1720028777872 ] MESSAGE: Market event from BITMART_SPOT
  593. [ 1720028777872 ] MESSAGE: mm _process
  594. [ 1720028777872 ] MESSAGE: Target exchange price from uniswap = 0.000021
  595. [ 1720028777872 ] MESSAGE: mid price not changed
  596. [ 1720028777872 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  597. [ 1720028777872 ] MESSAGE: max pos is not exceeded
  598. [ 1720028777872 ] MESSAGE: cooldown is not exceeded
  599. [ 1720028777872 ] MESSAGE: Market event from BITMART_SPOT
  600. [ 1720028777872 ] MESSAGE: mm _process
  601. [ 1720028777872 ] MESSAGE: Target exchange price from uniswap = 0.000021
  602. [ 1720028777872 ] MESSAGE: mid price not changed
  603. [ 1720028777872 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  604. [ 1720028777873 ] MESSAGE: max pos is not exceeded
  605. [ 1720028777873 ] MESSAGE: cooldown is not exceeded
  606. [ 1720028778787 ] MESSAGE: Market event from BITMART_SPOT
  607. [ 1720028778787 ] MESSAGE: mm _process
  608. [ 1720028778787 ] MESSAGE: Target exchange price from uniswap = 0.000021
  609. [ 1720028778787 ] MESSAGE: mid price not changed
  610. [ 1720028778787 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  611. [ 1720028778787 ] MESSAGE: max pos is not exceeded
  612. [ 1720028778787 ] MESSAGE: cooldown is not exceeded
  613. [ 1720028778788 ] MESSAGE: Market event from BITMART_SPOT
  614. [ 1720028778788 ] MESSAGE: mm _process
  615. [ 1720028778788 ] MESSAGE: Target exchange price from uniswap = 0.000021
  616. [ 1720028778788 ] MESSAGE: mid price not changed
  617. [ 1720028778788 ] MESSAGE: position quote: -7.416170max pos: 52.000000
  618. [ 1720028778788 ] MESSAGE: max pos is not exceeded
  619. [ 1720028778788 ] MESSAGE: cooldown is not exceeded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement