Advertisement
den4ik2003

Untitled

Mar 21st, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.21 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/mira_updated/market_making/mexc_spot$ python3 launch.py LOTTUSDT
  2. ./market_making --api=mx0vglRsnmcTEgpmkD --available_balance_to_total=0.9 --base_size_to_total=1.0 --cancel_on_signal=1 --cooldown=7000 --first_order_size=0.25 --n_base=3 --n_lvl=3 --secret=ef47dd75fb8b41eebf145056dc98032f --spread_size=0.1 --symbol=LOTTUSDT --enable_batch_orders=0 --enable_risk_checker=0 --use_grid=1
  3. --api=mx0vglRsnmcTEgpmkD
  4. --available_balance_to_total=0.9
  5. --base_size_to_total=1.0
  6. --cancel_on_signal=1
  7. --cooldown=7000
  8. --first_order_size=0.25
  9. --n_base=3
  10. --n_lvl=3
  11. --secret=ef47dd75fb8b41eebf145056dc98032f
  12. --spread_size=0.1
  13. --symbol=LOTTUSDT
  14. --enable_batch_orders=0
  15. --enable_risk_checker=0
  16. --use_grid=1
  17. LOTT balance: {"asset": "LOTT","free": "4263.16","frozen": "0","update_time": 0}
  18. USDT balance: {"asset": "USDT","free": "71.975","frozen": "0","update_time": 0}
  19.  
  20. 1711007052776 Placing orders.
  21. Mid price: 0.014473, spread ticks: 1447
  22. In MakeNewOrdersWithGrid
  23. In MakeNewOrdersWithGrid get grid
  24. After grid!
  25. 0.015197
  26. check_add_if_not_present: id = 1711007052186 , price = 15197
  27. {"code":"200 OK","data":{"listenKey":"ae82103728db15f2f8d2c7ecfc79e7b3c374dfb0fdbe44a35122a77209e0cdca"}}
  28. Complete
  29. 0.013750
  30. check_add_if_not_present: id = 1711007052187 , price = 13750
  31. Complete
  32. 0.015198
  33. check_add_if_not_present: id = 1711007052188 , price = 15198
  34. Complete
  35. 0.013749
  36. check_add_if_not_present: id = 1711007052189 , price = 13749
  37. Complete
  38. 0.015199
  39. check_add_if_not_present: id = 1711007052190 , price = 15199
  40. {"params":["spot@private.orders.v3.api","spot@private.deals.v3.api","spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20"],"method":"SUBSCRIPTION"}
  41. no "c" parameter: {"code":"0","msg":"spot@private.deals.v3.api,spot@public.limit.depth.v3.api@LOTTUSDT@20,spot@private.orders.v3.api,spot@private.account.v3.api","id":"0"}
  42. Complete
  43. 0.013748
  44. check_add_if_not_present: id = 1711007052191 , price = 13748
  45. Account order event
  46. !{"amount": "10.799190","average_price": "0.000000","client_order_id": 1711007052190,"create_time": 1711007052931,"is_maker": false,"status": "NEW","price": "0.015199","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007052942}
  47. Account order event
  48. !{"amount": "11.995810","average_price": "0.000000","client_order_id": 1711007052191,"create_time": 1711007052963,"is_maker": false,"status": "NEW","price": "0.013748","quantity": "872.550000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007052973}
  49. Complete
  50.  
  51. 1711007052988 Orders posted.
  52.  
  53. 1711007059989 Previous mid price: 0.014473
  54.  
  55. 1711007059989 Posting...
  56.  
  57. 1711007059989 Placing orders.
  58. Mid price: 0.014474, spread ticks: 1447
  59. In MakeNewOrdersWithGrid
  60. In MakeNewOrdersWithGrid get grid
  61. In grid!scaled price = 15197 scaled_qty = 42631
  62. grid 0.014475
  63. grid 0.012304
  64. grid 0.014476
  65. grid 0.012303
  66. grid 0.014477
  67. grid 0.012302
  68. Was not found
  69. id = 1711007052186
  70. In grid!scaled price = 13750 scaled_qty = 52345
  71. grid 0.014475
  72. grid 0.012304
  73. grid 0.014476
  74. grid 0.012303
  75. grid 0.014477
  76. grid 0.012302
  77. Was not found
  78. id = 1711007029992
  79.  
  80. In grid cycle runtime error was occured
  81.  
  82. In grid cycle runtime error was occured
  83.  
  84. In grid cycle runtime error was occured
  85.  
  86. In grid cycle runtime error was occured
  87. mexc_spot::connector::cancel_order: an error occured, call_config::except_on_error is enabled: Grid price level is empty
  88. Account order event
  89. !{"amount": "6.478630","average_price": "0.000000","client_order_id": 1711007052186,"create_time": 1711007052813,"is_maker": false,"status": "CANCELED","price": "0.015197","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060013}
  90. After grid!
  91. 0.014475
  92. check_add_if_not_present: id = 1711007052192 , price = 14475
  93. Account order event
  94. !{"amount": "11.995810","average_price": "0.000000","client_order_id": 1711007052191,"create_time": 1711007052963,"is_maker": false,"status": "CANCELED","price": "0.013748","quantity": "872.550000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060035}
  95. Account order event
  96. !{"amount": "10.799190","average_price": "0.000000","client_order_id": 1711007052190,"create_time": 1711007052931,"is_maker": false,"status": "CANCELED","price": "0.015199","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060035}
  97. Account order event
  98. !{"amount": "9.596520","average_price": "0.000000","client_order_id": 1711007052189,"create_time": 1711007052895,"is_maker": false,"status": "CANCELED","price": "0.013749","quantity": "697.980000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060035}
  99. Account order event
  100. !{"amount": "8.638840","average_price": "0.000000","client_order_id": 1711007052188,"create_time": 1711007052871,"is_maker": false,"status": "CANCELED","price": "0.015198","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060035}
  101. Account order event
  102. !{"amount": "7.197430","average_price": "0.000000","client_order_id": 1711007052187,"create_time": 1711007052842,"is_maker": false,"status": "CANCELED","price": "0.013750","quantity": "523.450000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060035}
  103. Complete
  104. 0.012304
  105. check_add_if_not_present: id = 1711007052193 , price = 12304
  106. Account order event
  107. !{"amount": "6.170830","average_price": "0.000000","client_order_id": 1711007052192,"create_time": 1711007060048,"is_maker": false,"status": "NEW","price": "0.014475","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060061}
  108. Account order event
  109. !{"amount": "7.197470","average_price": "0.000000","client_order_id": 1711007052193,"create_time": 1711007060074,"is_maker": false,"status": "NEW","price": "0.012304","quantity": "584.970000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060084}
  110. Complete
  111. 0.014476
  112. check_add_if_not_present: id = 1711007052194 , price = 14476
  113. Complete
  114. 0.012303
  115. check_add_if_not_present: id = 1711007052195 , price = 12303
  116. Account order event
  117. !{"amount": "8.228440","average_price": "0.000000","client_order_id": 1711007052194,"create_time": 1711007060109,"is_maker": false,"status": "NEW","price": "0.014476","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060121}
  118. Complete
  119. 0.014477
  120. check_add_if_not_present: id = 1711007052196 , price = 14477
  121. Account order event
  122. !{"amount": "9.596580","average_price": "0.000000","client_order_id": 1711007052195,"create_time": 1711007060145,"is_maker": false,"status": "NEW","price": "0.012303","quantity": "780.020000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060158}
  123. Complete
  124. 0.012302
  125. check_add_if_not_present: id = 1711007052197 , price = 12302
  126. Account order event
  127. !{"amount": "10.286190","average_price": "0.000000","client_order_id": 1711007052196,"create_time": 1711007060170,"is_maker": false,"status": "NEW","price": "0.014477","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060181}
  128. Account order event
  129. !{"amount": "11.995800","average_price": "0.000000","client_order_id": 1711007052197,"create_time": 1711007060196,"is_maker": false,"status": "NEW","price": "0.012302","quantity": "975.110000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007060206}
  130. Complete
  131.  
  132. 1711007060211 Orders posted.
  133. ^CThe interrupt signal is (2).
  134. Account order event
  135. !{"amount": "11.995800","average_price": "0.000000","client_order_id": 1711007052197,"create_time": 1711007060196,"is_maker": false,"status": "CANCELED","price": "0.012302","quantity": "975.110000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  136. Account order event
  137. !{"amount": "10.286190","average_price": "0.000000","client_order_id": 1711007052196,"create_time": 1711007060170,"is_maker": false,"status": "CANCELED","price": "0.014477","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  138. Orders cancelled!
  139.  
  140. sigcanel
  141. Account order event
  142. !{"amount": "9.596580","average_price": "0.000000","client_order_id": 1711007052195,"create_time": 1711007060145,"is_maker": false,"status": "CANCELED","price": "0.012303","quantity": "780.020000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  143. Account order event
  144. !{"amount": "8.228440","average_price": "0.000000","client_order_id": 1711007052194,"create_time": 1711007060109,"is_maker": false,"status": "CANCELED","price": "0.014476","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  145. Account order event
  146. !{"amount": "7.197470","average_price": "0.000000","client_order_id": 1711007052193,"create_time": 1711007060074,"is_maker": false,"status": "CANCELED","price": "0.012304","quantity": "584.970000","filled_quantity": "0.000000","side": "BUY","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  147. Account order event
  148. !{"amount": "6.170830","average_price": "0.000000","client_order_id": 1711007052192,"create_time": 1711007060048,"is_maker": false,"status": "CANCELED","price": "0.014475","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x558855025578","type": "LIMIT_MAKER""update_time": 1711007065384}
  149. base balance: {"asset": "LOTT","free": "4263.16","frozen": "0","update_time": 1711007065489}
  150. quote balance: {"asset": "USDT","free": "71.975","frozen": "0","update_time": 1711007065406}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement