Advertisement
den4ik2003

Untitled

Jul 3rd, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.47 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 0x5af67007c8c0
  4. run forever balance 0x5af67007c8c0
  5. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 2987, "locked": 0, "wallet": 0, "update_time": 0}, {"asset": "USDT", "free": 47.3415, "locked": 0, "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 0x5af67007ca50
  7. balance indicator: 0x5af67007c060 0x5af67007c8c0
  8. {"asset": "LAI", "free": 2987, "locked": 0, "wallet": 0, "update_time": 0}
  9. {"asset": "USDT", "free": 47.3415, "locked": 0, "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. [ 1720028428794 ] 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", "1720028428978", "ddcf0f6140192e5a5818e553310fa6270bd7cc703842578b7de0dec80d4fa407"]}
  16. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028428980", "40871ee3c0a95e925409762ff085e86105b16c11981b7932a1f45272a6947b4a"]}
  17. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  18. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  19. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  20. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  21. ping
  22. [ 1720028429664 ] MESSAGE: Market event from BITMART_SPOT
  23. [ 1720028429664 ] MESSAGE: mm _process
  24. [ 1720028429664 ] MESSAGE: update uniswap price
  25. [ 1720028430716 ] MESSAGE: Target exchange price from uniswap = 0.000021
  26. [ 1720028430716 ] MESSAGE: mid price not changed
  27. [ 1720028430716 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  28. [ 1720028430716 ] MESSAGE: max pos is not exceeded
  29. [ 1720028430716 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028430716
  30. [ 2024-07-03-17-40-30 ] DEBUG overall risk checker res: OrderEvent: delta=1.7199e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015498, 896.1); (0.015499, 896.1); ], bids: [(1.9e-05, 747498); (1.8e-05, 789026); ]
  31. [ 2024-07-03-17-40-30 ] INFO : OrderEvent: delta=1.7199e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015498, 896.1); (0.015499, 896.1); ], bids: [(1.9e-05, 747498); (1.8e-05, 789026); ]
  32. [ 1720028430717 ] MESSAGE: LIMIT GRID
  33. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 0.015498
  34. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 896.1
  35. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 0.015499
  36. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 896.1
  37. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 1.9e-05
  38. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 747498
  39. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 1.8e-05
  40. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 789026
  41. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000018, "quantity": 789025.700000, "type": "LIMIT", "side": "BUY"}
  42. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000019, "quantity": 747498.000000, "type": "LIMIT", "side": "BUY"}
  43. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 896.100000, "type": "LIMIT", "side": "SELL"}
  44. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.100000, "type": "LIMIT", "side": "SELL"}
  45. [ 1720028430718 ] MESSAGE: csize: 0
  46. [ 2024-07-03-17-40-30 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000018, "quantity": 789025.700000, "client_order_id": 1720028428626, "type": "LIMIT", "side": "BUY"}
  47. [ 2024-07-03-17-40-30 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000019, "quantity": 747498.000000, "client_order_id": 1720028428627, "type": "LIMIT", "side": "BUY"}
  48. [ 1720028430819 ] MESSAGE: Market event from BITMART_SPOT
  49. [ 1720028430819 ] MESSAGE: mm _process
  50. [ 1720028430819 ] MESSAGE: Target exchange price from uniswap = 0.000021
  51. [ 1720028430819 ] MESSAGE: mid price not changed
  52. [ 1720028430819 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  53. [ 1720028430819 ] MESSAGE: max pos is not exceeded
  54. [ 1720028430819 ] MESSAGE: cooldown is not exceeded
  55. [ 2024-07-03-17-40-30 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 896.100000, "client_order_id": 1720028428628, "type": "LIMIT", "side": "SELL"}
  56. ping
  57. [ 2024-07-03-17-40-30 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.100000, "client_order_id": 1720028428629, "type": "LIMIT", "side": "SELL"}
  58. [ 1720028430820 ] MESSAGE: Market event from BITMART_SPOT
  59. [ 1720028430820 ] MESSAGE: mm _process
  60. [ 1720028430821 ] MESSAGE: Target exchange price from uniswap = 0.000021
  61. [ 1720028430821 ] MESSAGE: mid price not changed
  62. [ 1720028430821 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  63. [ 1720028430821 ] MESSAGE: max pos is not exceeded
  64. [ 1720028430821 ] MESSAGE: cooldown is not exceeded
  65. [ 1720028430821 ] MESSAGE: Market event from BITMART_SPOT
  66. [ 1720028430821 ] MESSAGE: mm _process
  67. [ 1720028430821 ] MESSAGE: Target exchange price from uniswap = 0.000021
  68. [ 1720028430821 ] MESSAGE: mid price not changed
  69. [ 1720028430821 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  70. [ 1720028430821 ] MESSAGE: max pos is not exceeded
  71. [ 1720028430821 ] MESSAGE: cooldown is not exceeded
  72. [ 1720028430826 ] MESSAGE: Market event from BITMART_SPOT
  73. [ 1720028430826 ] MESSAGE: mm _process
  74. [ 1720028430826 ] MESSAGE: Target exchange price from uniswap = 0.000021
  75. [ 1720028430826 ] MESSAGE: mid price not changed
  76. [ 1720028430826 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  77. [ 1720028430826 ] MESSAGE: max pos is not exceeded
  78. [ 1720028430826 ] MESSAGE: cooldown is not exceeded
  79. [ 1720028430826 ] MESSAGE: Market event from BITMART_SPOT
  80. [ 1720028430826 ] MESSAGE: mm _process
  81. [ 1720028430826 ] MESSAGE: Target exchange price from uniswap = 0.000021
  82. [ 1720028430826 ] MESSAGE: mid price not changed
  83. [ 1720028430826 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  84. [ 1720028430827 ] MESSAGE: max pos is not exceeded
  85. [ 1720028430827 ] MESSAGE: cooldown is not exceeded
  86. [ 2024-07-03-17-40-30 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233982833699584", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.100000, "update_time": 1720028430913}
  87. [ 2024-07-03-17-40-30 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028430915", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 555, "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": 1720028430869}}
  88. [ 1720028430916 ] MESSAGE: limit
  89. [ 2024-07-03-17-40-30 ] DEBUG Event 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": 1720028430869}
  90. [ 2024-07-03-17-40-30 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000019, "quantity": 747498.000000, "update_time": 0}
  91. [ 1720028430917 ] MESSAGE: in market making strategy fill process
  92. [ 1720028430917 ] MESSAGE: ! LAI_USDT
  93. [ 2024-07-03-17-40-30 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028430920", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 555, "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": 1720028430878}}
  94. [ 1720028430921 ] MESSAGE: limit
  95. [ 2024-07-03-17-40-30 ] DEBUG Event 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": 1720028430878}
  96. [ 2024-07-03-17-40-30 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000018, "quantity": 789025.700000, "update_time": 0}
  97. [ 1720028430922 ] MESSAGE: in market making strategy fill process
  98. [ 1720028430922 ] MESSAGE: ! LAI_USDT
  99. [ 2024-07-03-17-40-30 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028430924", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 553, "order": {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430880}}
  100. [ 1720028430925 ] MESSAGE: limit
  101. [ 2024-07-03-17-40-30 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430880}
  102. [ 2024-07-03-17-40-30 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015499, "quantity": 896.100000, "update_time": 0}
  103. [ 1720028430925 ] MESSAGE: in market making strategy fill process
  104. [ 1720028430925 ] MESSAGE: ! LAI_USDT
  105. [ 2024-07-03-17-40-30 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.100000, "update_time": 1720028430924}
  106. [ 2024-07-03-17-40-30 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233982986395649", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.100000, "update_time": 1720028430927}
  107. [ 2024-07-03-17-40-30 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028430937", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 553, "order": {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430892}}
  108. [ 1720028430937 ] MESSAGE: limit
  109. [ 2024-07-03-17-40-30 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430892}
  110. [ 2024-07-03-17-40-30 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015498, "quantity": 896.100000, "update_time": 0}
  111. [ 2024-07-03-17-40-30 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": [ 1720028430939 ] MESSAGE: in market making strategy fill process
  112. 896.100000, "update_time": 1720028430937[ 1720028430939 ] MESSAGE: }
  113. ! LAI_USDT
  114. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431036", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "25.064781415000000000000000000000"}]}
  115. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431036", "balance_details": [{"fz_bal": "1391.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  116. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "40.601841415000000000000000000000"}]}
  117. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "386.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  118. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "386.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  119. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "40.601841415000000000000000000000"}]}
  120. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431064", "balance_details": [{"fz_bal": "0.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  121. [ 2024-07-03-17-40-31 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028431092", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 724, "order": {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431045}}
  122. [ 1720028431092 ] MESSAGE: limit
  123. [ 2024-07-03-17-40-31 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431045}
  124. [ 2024-07-03-17-40-31 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430892}
  125. $$$ {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.000000, "trade_side": SELL, "trade_time": 1720028431045}
  126. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.000000, "trade_side": SELL, "trade_time": 1720028431045}
  127. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.015498, "quantity": -896, "position_quote": -13.8862}
  128. [ 1720028431093 ] MESSAGE: erase
  129. [ 1720028431093 ] MESSAGE: in market making strategy fill process
  130. [ 1720028431093 ] MESSAGE: ! LAI_USDT
  131. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431064", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "46.569498880000000000000000000000"}]}
  132. [ 2024-07-03-17-40-31 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028431095", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 764, "order": {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 510.000000, "update_time": 1720028431049}}
  133. [ 1720028431096 ] MESSAGE: limit
  134. [ 2024-07-03-17-40-31 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 510.000000, "update_time": 1720028431049}
  135. [ 2024-07-03-17-40-31 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 0.000000, "update_time": 1720028430880}
  136. $$$ {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 510.000000, "trade_side": SELL, "trade_time": 1720028431049}
  137. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 510.000000, "trade_side": SELL, "trade_time": 1720028431049}
  138. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.0154984, "quantity": -1406, "position_quote": -21.7907}
  139. [ 1720028431097 ] MESSAGE: in market making strategy fill process
  140. [ 1720028431097 ] MESSAGE: ! LAI_USDT
  141. [ 2024-07-03-17-40-31 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028431098", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 755, "order": {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431049}}
  142. [ 1720028431098 ] MESSAGE: limit
  143. [ 2024-07-03-17-40-31 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428629, "order_id": "621233983221411072", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015498, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431049}
  144. [ 1720028431099 ] MESSAGE: in market making strategy fill process
  145. [ 1720028431099 ] MESSAGE: ! LAI_USDT
  146. [ 2024-07-03-17-40-31 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028431108", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 755, "order": {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431064}}
  147. [ 1720028431108 ] MESSAGE: limit
  148. [ 2024-07-03-17-40-31 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 896.000000, "update_time": 1720028431064}
  149. [ 2024-07-03-17-40-31 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428628, "order_id": "621233983019890689", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.015499, "quantity": 896.000000, "filled_quantity": 510.000000, "update_time": 1720028431049}
  150. $$$ {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 386.000000, "trade_side": SELL, "trade_time": 1720028431064}
  151. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 386.000000, "trade_side": SELL, "trade_time": 1720028431064}
  152. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.0154985, "quantity": -1792, "position_quote": -27.7733}
  153. [ 1720028431109 ] MESSAGE: erase
  154. [ 1720028431109 ] MESSAGE: in market making strategy fill process
  155. [ 1720028431110 ] MESSAGE: ! LAI_USDT
  156. [ 1720028432124 ] MESSAGE: Market event from BITMART_SPOT
  157. [ 1720028432124 ] MESSAGE: mm _process
  158. [ 1720028432124 ] MESSAGE: Target exchange price from uniswap = 0.000021
  159. [ 1720028432125 ] MESSAGE: mid price not changed
  160. [ 1720028432125 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  161. [ 1720028432125 ] MESSAGE: max pos is not exceeded
  162. [ 1720028432125 ] MESSAGE: cooldown is not exceeded
  163. [ 1720028432125 ] MESSAGE: Market event from BITMART_SPOT
  164. [ 1720028432125 ] MESSAGE: mm _process
  165. [ 1720028432125 ] MESSAGE: Target exchange price from uniswap = 0.000021
  166. [ 1720028432125 ] MESSAGE: mid price not changed
  167. [ 1720028432125 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  168. [ 1720028432125 ] MESSAGE: max pos is not exceeded
  169. [ 1720028432125 ] MESSAGE: cooldown is not exceeded
  170. [ 1720028432752 ] MESSAGE: Market event from BITMART_SPOT
  171. [ 1720028432752 ] MESSAGE: mm _process
  172. [ 1720028432752 ] MESSAGE: Target exchange price from uniswap = 0.000021
  173. [ 1720028432752 ] MESSAGE: mid price not changed
  174. [ 1720028432752 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  175. [ 1720028432752 ] MESSAGE: max pos is not exceeded
  176. [ 1720028432752 ] MESSAGE: cooldown is not exceeded
  177. [ 1720028432753 ] MESSAGE: Market event from BITMART_SPOT
  178. [ 1720028432753 ] MESSAGE: mm _process
  179. [ 1720028432753 ] MESSAGE: Target exchange price from uniswap = 0.000021
  180. [ 1720028432753 ] MESSAGE: mid price not changed
  181. [ 1720028432753 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  182. [ 1720028432753 ] MESSAGE: max pos is not exceeded
  183. [ 1720028432753 ] MESSAGE: cooldown is not exceeded
  184. ^C
  185. ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement