Advertisement
den4ik2003

Untitled

Jul 3rd, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.72 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 0x58ffb0c738c0
  4. run forever balance 0x58ffb0c738c0
  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 0x58ffb0c73a50
  7. balance indicator: 0x58ffb0c73060 0x58ffb0c738c0
  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. [ 1720028014862 ] 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", "1720028015026", "66791c8af60ec1000f9cb4b097e2f6263d4b077dae632a65962fbb27df4064ca"]}
  16. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028015050", "3f1cb630ffb279bbf3b5be92e190a23aab02b37ceeaf7d5b0364459835fe9d97"]}
  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. [ 1720028015712 ] MESSAGE: Market event from BITMART_SPOT
  23. [ 1720028015712 ] MESSAGE: update uniswap price
  24. [ 1720028017145 ] MESSAGE: Target exchange price from uniswap = 0.000021
  25. [ 1720028017145 ] MESSAGE: Market event from BITMART_SPOT
  26. [ 1720028017146 ] MESSAGE: Target exchange price from uniswap = 0.000021
  27. ping
  28. ^C
  29. ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ cmake --build .
  30. [ 2%] Building CXX object CMakeFiles/test.dir/home/ubuntu/dmm_strat/algo/market_making/mexc_spot/src/mm_strategy.cpp.o
  31. /home/ubuntu/dmm_strat/algo/market_making/mexc_spot/src/mm_strategy.cpp: In member function ‘double mira::marketmaking::MexcSpotMarketMaking::get_price()’:
  32. /home/ubuntu/dmm_strat/algo/market_making/mexc_spot/src/mm_strategy.cpp:72:72: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  33. 72 | if (get_timestamp() - config_hidden_.last_uniswap_upd_time < config_.cooldown) {
  34. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  35. [ 5%] Linking CXX executable test
  36. [100%] Built target test
  37. ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ ./test mm_launch.config
  38. api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
  39. API 0x5af67007c8c0
  40. run forever balance 0x5af67007c8c0
  41. {"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}]}
  42. get balance indicator 0x5af67007ca50
  43. balance indicator: 0x5af67007c060 0x5af67007c8c0
  44. {"asset": "LAI", "free": 2987, "locked": 0, "wallet": 0, "update_time": 0}
  45. {"asset": "USDT", "free": 47.3415, "locked": 0, "wallet": 0, "update_time": 0}
  46. {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
  47. {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
  48. [ 1720028428794 ] MESSAGE: Target exchange provided: MEXC_SPOT
  49. 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}
  50. {"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"}
  51. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028428978", "ddcf0f6140192e5a5818e553310fa6270bd7cc703842578b7de0dec80d4fa407"]}
  52. {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028428980", "40871ee3c0a95e925409762ff085e86105b16c11981b7932a1f45272a6947b4a"]}
  53. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  54. {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
  55. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  56. {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
  57. ping
  58. [ 1720028429664 ] MESSAGE: Market event from BITMART_SPOT
  59. [ 1720028429664 ] MESSAGE: mm _process
  60. [ 1720028429664 ] MESSAGE: update uniswap price
  61. [ 1720028430716 ] MESSAGE: Target exchange price from uniswap = 0.000021
  62. [ 1720028430716 ] MESSAGE: mid price not changed
  63. [ 1720028430716 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  64. [ 1720028430716 ] MESSAGE: max pos is not exceeded
  65. [ 1720028430716 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028430716
  66. [ 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); ]
  67. [ 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); ]
  68. [ 1720028430717 ] MESSAGE: LIMIT GRID
  69. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 0.015498
  70. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 896.1
  71. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 0.015499
  72. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 896.1
  73. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 1.9e-05
  74. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 747498
  75. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 1.8e-05
  76. [ 2024-07-03-17-40-30 ] DEBUG in _process_limit_grid: 789026
  77. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000018, "quantity": 789025.700000, "type": "LIMIT", "side": "BUY"}
  78. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000019, "quantity": 747498.000000, "type": "LIMIT", "side": "BUY"}
  79. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 896.100000, "type": "LIMIT", "side": "SELL"}
  80. [ 2024-07-03-17-40-30 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.100000, "type": "LIMIT", "side": "SELL"}
  81. [ 1720028430718 ] MESSAGE: csize: 0
  82. [ 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"}
  83. [ 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"}
  84. [ 1720028430819 ] MESSAGE: Market event from BITMART_SPOT
  85. [ 1720028430819 ] MESSAGE: mm _process
  86. [ 1720028430819 ] MESSAGE: Target exchange price from uniswap = 0.000021
  87. [ 1720028430819 ] MESSAGE: mid price not changed
  88. [ 1720028430819 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  89. [ 1720028430819 ] MESSAGE: max pos is not exceeded
  90. [ 1720028430819 ] MESSAGE: cooldown is not exceeded
  91. [ 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"}
  92. ping
  93. [ 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"}
  94. [ 1720028430820 ] MESSAGE: Market event from BITMART_SPOT
  95. [ 1720028430820 ] MESSAGE: mm _process
  96. [ 1720028430821 ] MESSAGE: Target exchange price from uniswap = 0.000021
  97. [ 1720028430821 ] MESSAGE: mid price not changed
  98. [ 1720028430821 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  99. [ 1720028430821 ] MESSAGE: max pos is not exceeded
  100. [ 1720028430821 ] MESSAGE: cooldown is not exceeded
  101. [ 1720028430821 ] MESSAGE: Market event from BITMART_SPOT
  102. [ 1720028430821 ] MESSAGE: mm _process
  103. [ 1720028430821 ] MESSAGE: Target exchange price from uniswap = 0.000021
  104. [ 1720028430821 ] MESSAGE: mid price not changed
  105. [ 1720028430821 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  106. [ 1720028430821 ] MESSAGE: max pos is not exceeded
  107. [ 1720028430821 ] MESSAGE: cooldown is not exceeded
  108. [ 1720028430826 ] MESSAGE: Market event from BITMART_SPOT
  109. [ 1720028430826 ] MESSAGE: mm _process
  110. [ 1720028430826 ] MESSAGE: Target exchange price from uniswap = 0.000021
  111. [ 1720028430826 ] MESSAGE: mid price not changed
  112. [ 1720028430826 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  113. [ 1720028430826 ] MESSAGE: max pos is not exceeded
  114. [ 1720028430826 ] MESSAGE: cooldown is not exceeded
  115. [ 1720028430826 ] MESSAGE: Market event from BITMART_SPOT
  116. [ 1720028430826 ] MESSAGE: mm _process
  117. [ 1720028430826 ] MESSAGE: Target exchange price from uniswap = 0.000021
  118. [ 1720028430826 ] MESSAGE: mid price not changed
  119. [ 1720028430826 ] MESSAGE: position quote: 0.000000max pos: 52.000000
  120. [ 1720028430827 ] MESSAGE: max pos is not exceeded
  121. [ 1720028430827 ] MESSAGE: cooldown is not exceeded
  122. [ 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}
  123. [ 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}}
  124. [ 1720028430916 ] MESSAGE: limit
  125. [ 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}
  126. [ 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}
  127. [ 1720028430917 ] MESSAGE: in market making strategy fill process
  128. [ 1720028430917 ] MESSAGE: ! LAI_USDT
  129. [ 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}}
  130. [ 1720028430921 ] MESSAGE: limit
  131. [ 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}
  132. [ 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}
  133. [ 1720028430922 ] MESSAGE: in market making strategy fill process
  134. [ 1720028430922 ] MESSAGE: ! LAI_USDT
  135. [ 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}}
  136. [ 1720028430925 ] MESSAGE: limit
  137. [ 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}
  138. [ 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}
  139. [ 1720028430925 ] MESSAGE: in market making strategy fill process
  140. [ 1720028430925 ] MESSAGE: ! LAI_USDT
  141. [ 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}
  142. [ 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}
  143. [ 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}}
  144. [ 1720028430937 ] MESSAGE: limit
  145. [ 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}
  146. [ 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}
  147. [ 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
  148. 896.100000, "update_time": 1720028430937[ 1720028430939 ] MESSAGE: }
  149. ! LAI_USDT
  150. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431036", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "25.064781415000000000000000000000"}]}
  151. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431036", "balance_details": [{"fz_bal": "1391.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  152. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "40.601841415000000000000000000000"}]}
  153. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "386.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  154. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "386.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  155. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431045", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "40.601841415000000000000000000000"}]}
  156. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431064", "balance_details": [{"fz_bal": "0.000000000000000000000000000000", "ccy": "LAI", "av_bal": "1195.000000000000000000000000000000"}]}
  157. [ 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}}
  158. [ 1720028431092 ] MESSAGE: limit
  159. [ 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}
  160. [ 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}
  161. $$$ {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.000000, "trade_side": SELL, "trade_time": 1720028431045}
  162. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015498, "quantity": 896.000000, "trade_side": SELL, "trade_time": 1720028431045}
  163. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.015498, "quantity": -896, "position_quote": -13.8862}
  164. [ 1720028431093 ] MESSAGE: erase
  165. [ 1720028431093 ] MESSAGE: in market making strategy fill process
  166. [ 1720028431093 ] MESSAGE: ! LAI_USDT
  167. {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028431064", "balance_details": [{"fz_bal": "28.475924280000000000000000000000", "ccy": "USDT", "av_bal": "46.569498880000000000000000000000"}]}
  168. [ 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}}
  169. [ 1720028431096 ] MESSAGE: limit
  170. [ 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}
  171. [ 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}
  172. $$$ {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 510.000000, "trade_side": SELL, "trade_time": 1720028431049}
  173. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 510.000000, "trade_side": SELL, "trade_time": 1720028431049}
  174. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.0154984, "quantity": -1406, "position_quote": -21.7907}
  175. [ 1720028431097 ] MESSAGE: in market making strategy fill process
  176. [ 1720028431097 ] MESSAGE: ! LAI_USDT
  177. [ 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}}
  178. [ 1720028431098 ] MESSAGE: limit
  179. [ 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}
  180. [ 1720028431099 ] MESSAGE: in market making strategy fill process
  181. [ 1720028431099 ] MESSAGE: ! LAI_USDT
  182. [ 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}}
  183. [ 1720028431108 ] MESSAGE: limit
  184. [ 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}
  185. [ 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}
  186. $$$ {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 386.000000, "trade_side": SELL, "trade_time": 1720028431064}
  187. [ 2024-07-03-17-40-31 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015499, "quantity": 386.000000, "trade_side": SELL, "trade_time": 1720028431064}
  188. [ 2024-07-03-17-40-31 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.0154985, "quantity": -1792, "position_quote": -27.7733}
  189. [ 1720028431109 ] MESSAGE: erase
  190. [ 1720028431109 ] MESSAGE: in market making strategy fill process
  191. [ 1720028431110 ] MESSAGE: ! LAI_USDT
  192. [ 1720028432124 ] MESSAGE: Market event from BITMART_SPOT
  193. [ 1720028432124 ] MESSAGE: mm _process
  194. [ 1720028432124 ] MESSAGE: Target exchange price from uniswap = 0.000021
  195. [ 1720028432125 ] MESSAGE: mid price not changed
  196. [ 1720028432125 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  197. [ 1720028432125 ] MESSAGE: max pos is not exceeded
  198. [ 1720028432125 ] MESSAGE: cooldown is not exceeded
  199. [ 1720028432125 ] MESSAGE: Market event from BITMART_SPOT
  200. [ 1720028432125 ] MESSAGE: mm _process
  201. [ 1720028432125 ] MESSAGE: Target exchange price from uniswap = 0.000021
  202. [ 1720028432125 ] MESSAGE: mid price not changed
  203. [ 1720028432125 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  204. [ 1720028432125 ] MESSAGE: max pos is not exceeded
  205. [ 1720028432125 ] MESSAGE: cooldown is not exceeded
  206. [ 1720028432752 ] MESSAGE: Market event from BITMART_SPOT
  207. [ 1720028432752 ] MESSAGE: mm _process
  208. [ 1720028432752 ] MESSAGE: Target exchange price from uniswap = 0.000021
  209. [ 1720028432752 ] MESSAGE: mid price not changed
  210. [ 1720028432752 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  211. [ 1720028432752 ] MESSAGE: max pos is not exceeded
  212. [ 1720028432752 ] MESSAGE: cooldown is not exceeded
  213. [ 1720028432753 ] MESSAGE: Market event from BITMART_SPOT
  214. [ 1720028432753 ] MESSAGE: mm _process
  215. [ 1720028432753 ] MESSAGE: Target exchange price from uniswap = 0.000021
  216. [ 1720028432753 ] MESSAGE: mid price not changed
  217. [ 1720028432753 ] MESSAGE: position quote: -27.773312max pos: 52.000000
  218. [ 1720028432753 ] MESSAGE: max pos is not exceeded
  219. [ 1720028432753 ] MESSAGE: cooldown is not exceeded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement