Advertisement
den4ik2003

Untitled

Mar 21st, 2024
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.31 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. 1711006973335 Placing orders.
  21. Mid price: 0.014212, spread ticks: 1421
  22. In MakeNewOrdersWithGrid
  23. In MakeNewOrdersWithGrid get grid
  24. After grid!
  25. 0.014923
  26. check_add_if_not_present: id = 1711006972726 , price = 14923
  27. {"code":"200 OK","data":{"listenKey":"1b4a8acd4faaef7b63d5163a833d4691923f343ca45edabbe6ad5067a99752ce"}}
  28. Complete
  29. 0.013502
  30. check_add_if_not_present: id = 1711006972727 , price = 13502
  31. {"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"}
  32. 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"}
  33. Complete
  34. 0.014924
  35. check_add_if_not_present: id = 1711006972728 , price = 14924
  36. Account order event
  37. !{"amount": "8.483100","average_price": "0.000000","client_order_id": 1711006972728,"create_time": 1711006973568,"is_maker": false,"status": "NEW","price": "0.014924","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006973672}
  38. Complete
  39. 0.013501
  40. check_add_if_not_present: id = 1711006972729 , price = 13501
  41. Complete
  42. 0.014925
  43. check_add_if_not_present: id = 1711006972730 , price = 14925
  44. Account order event
  45. !{"amount": "9.596640","average_price": "0.000000","client_order_id": 1711006972729,"create_time": 1711006973722,"is_maker": false,"status": "NEW","price": "0.013501","quantity": "710.810000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006973731}
  46. Complete
  47. 0.013500
  48. check_add_if_not_present: id = 1711006972731 , price = 13500
  49. Account order event
  50. !{"amount": "10.604510","average_price": "0.000000","client_order_id": 1711006972730,"create_time": 1711006973769,"is_maker": false,"status": "NEW","price": "0.014925","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006973821}
  51. Account order event
  52. !{"amount": "11.995830","average_price": "0.000000","client_order_id": 1711006972731,"create_time": 1711006973812,"is_maker": false,"status": "NEW","price": "0.013500","quantity": "888.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006973823}
  53. Complete
  54.  
  55. 1711006973847 Orders posted.
  56.  
  57. 1711006980848 Previous mid price: 0.014212
  58.  
  59. 1711006980848 Posting...
  60.  
  61. 1711006980848 Placing orders.
  62. Mid price: 0.014213, spread ticks: 1421
  63. In MakeNewOrdersWithGrid
  64. In MakeNewOrdersWithGrid get grid
  65. In grid!scaled price = 14923 scaled_qty = 42631
  66. grid 0.016345
  67. grid 0.014212
  68. grid 0.016346
  69. grid 0.014211
  70. grid 0.016347
  71. grid 0.014210
  72. Was not found
  73. id = 1711006972726
  74. In grid!scaled price = 13502 scaled_qty = 53306
  75. grid 0.016345
  76. grid 0.014212
  77. grid 0.016346
  78. grid 0.014211
  79. grid 0.016347
  80. grid 0.014210
  81. Was not found
  82. id = 1711006972727
  83. Account order event
  84. !{"amount": "6.361820","average_price": "0.000000","client_order_id": 1711006972726,"create_time": 1711006973379,"is_maker": false,"status": "CANCELED","price": "0.014923","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980874}
  85. In grid!scaled price = 14924 scaled_qty = 56841
  86. grid 0.016345
  87. grid 0.014212
  88. grid 0.016346
  89. grid 0.014211
  90. grid 0.016347
  91. grid 0.014210
  92. Was not found
  93. id = 1711006972728
  94. Account order event
  95. !{"amount": "7.197370","average_price": "0.000000","client_order_id": 1711006972727,"create_time": 1711006973431,"is_maker": false,"status": "CANCELED","price": "0.013502","quantity": "533.050000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980896}
  96. In grid!scaled price = 13501 scaled_qty = 71081
  97. grid 0.016345
  98. grid 0.014212
  99. grid 0.016346
  100. grid 0.014211
  101. grid 0.016347
  102. grid 0.014210
  103. Was not found
  104. id = 1711006972729
  105. Account order event
  106. !{"amount": "8.483100","average_price": "0.000000","client_order_id": 1711006972728,"create_time": 1711006973568,"is_maker": false,"status": "CANCELED","price": "0.014924","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980917}
  107. In grid!scaled price = 14925 scaled_qty = 71052
  108. grid 0.016345
  109. grid 0.014212
  110. grid 0.016346
  111. grid 0.014211
  112. grid 0.016347
  113. grid 0.014210
  114. Was not found
  115. id = 1711006972730
  116. Account order event
  117. !{"amount": "9.596640","average_price": "0.000000","client_order_id": 1711006972729,"create_time": 1711006973722,"is_maker": false,"status": "CANCELED","price": "0.013501","quantity": "710.810000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980938}
  118. In grid!scaled price = 13500 scaled_qty = 88858
  119. grid 0.016345
  120. grid 0.014212
  121. grid 0.016346
  122. grid 0.014211
  123. grid 0.016347
  124. grid 0.014210
  125. Was not found
  126. id = 1711006972731
  127. Account order event
  128. !{"amount": "10.604510","average_price": "0.000000","client_order_id": 1711006972730,"create_time": 1711006973769,"is_maker": false,"status": "CANCELED","price": "0.014925","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980959}
  129. After grid!
  130. 0.016345
  131. check_add_if_not_present: id = 1711006972732 , price = 16345
  132. Account order event
  133. !{"amount": "11.995830","average_price": "0.000000","client_order_id": 1711006972731,"create_time": 1711006973812,"is_maker": false,"status": "CANCELED","price": "0.013500","quantity": "888.580000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006980979}
  134. Complete
  135. 0.014212
  136. check_add_if_not_present: id = 1711006972733 , price = 14212
  137. Complete
  138. 0.016346
  139. check_add_if_not_present: id = 1711006972734 , price = 16346
  140. try_add: id = 1711006972732 , price = 16344
  141. Account order event
  142. !{"amount": "6.968030","average_price": "0.000000","client_order_id": 1711006972732,"create_time": 1711006981000,"is_maker": false,"status": "NEW","price": "0.016344","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981015}
  143. Account order event
  144. !{"amount": "7.197380","average_price": "0.000000","client_order_id": 1711006972733,"create_time": 1711006981031,"is_maker": false,"status": "NEW","price": "0.014212","quantity": "506.430000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981042}
  145. Complete
  146. 0.014211
  147. check_add_if_not_present: id = 1711006972735 , price = 14211
  148. Account order event
  149. !{"amount": "9.291390","average_price": "0.000000","client_order_id": 1711006972734,"create_time": 1711006981063,"is_maker": false,"status": "NEW","price": "0.016346","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981074}
  150. Complete
  151. 0.016347
  152. check_add_if_not_present: id = 1711006972736 , price = 16347
  153. Account order event
  154. !{"amount": "9.596540","average_price": "0.000000","client_order_id": 1711006972735,"create_time": 1711006981101,"is_maker": false,"status": "NEW","price": "0.014211","quantity": "675.290000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981112}
  155. Complete
  156. 0.014210
  157. check_add_if_not_present: id = 1711006972737 , price = 14210
  158. Account order event
  159. !{"amount": "11.614870","average_price": "0.000000","client_order_id": 1711006972736,"create_time": 1711006981126,"is_maker": false,"status": "NEW","price": "0.016347","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981137}
  160. Complete
  161.  
  162. 1711006981166 Orders posted.
  163. Account order event
  164. !{"amount": "11.995790","average_price": "0.000000","client_order_id": 1711006972737,"create_time": 1711006981156,"is_maker": false,"status": "NEW","price": "0.014210","quantity": "844.180000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006981167}
  165. ^CThe interrupt signal is (2).
  166. Orders cancelled!
  167.  
  168. sigcanel
  169. Account order event
  170. !{"amount": "11.995790","average_price": "0.000000","client_order_id": 1711006972737,"create_time": 1711006981156,"is_maker": false,"status": "CANCELED","price": "0.014210","quantity": "844.180000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988055}
  171. Account order event
  172. !{"amount": "11.614870","average_price": "0.000000","client_order_id": 1711006972736,"create_time": 1711006981126,"is_maker": false,"status": "CANCELED","price": "0.016347","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988055}
  173. Account order event
  174. !{"amount": "9.596540","average_price": "0.000000","client_order_id": 1711006972735,"create_time": 1711006981101,"is_maker": false,"status": "CANCELED","price": "0.014211","quantity": "675.290000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988056}
  175. Account order event
  176. !{"amount": "9.291390","average_price": "0.000000","client_order_id": 1711006972734,"create_time": 1711006981063,"is_maker": false,"status": "CANCELED","price": "0.016346","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988056}
  177. Account order event
  178. !{"amount": "7.197380","average_price": "0.000000","client_order_id": 1711006972733,"create_time": 1711006981031,"is_maker": false,"status": "CANCELED","price": "0.014212","quantity": "506.430000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988056}
  179. Account order event
  180. !{"amount": "6.968030","average_price": "0.000000","client_order_id": 1711006972732,"create_time": 1711006981000,"is_maker": false,"status": "CANCELED","price": "0.016344","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55a4916a4578","type": "LIMIT_MAKER""update_time": 1711006988056}
  181. base balance: {"asset": "LOTT","free": "4263.16","frozen": "0","update_time": 1711006988077}
  182. quote balance: {"asset": "USDT","free": "55.1643","frozen": "16.8107","update_time": 1711006988068}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement