Advertisement
den4ik2003

Untitled

Mar 21st, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.17 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=6000 --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=6000
  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": "3694.74","frozen": "568.42","update_time": 0}
  18. USDT balance: {"asset": "USDT","free": "59.9672","frozen": "12.0078","update_time": 0}
  19.  
  20. 1711031533189 Placing orders.
  21. Mid price: 0.015345, spread ticks: 1534
  22. In MakeNewOrdersWithGrid
  23. In MakeNewOrdersWithGrid get grid
  24. After grid!
  25. 0.016112
  26. check_add_if_not_present: id = 1711031532626 , price = 16112
  27. {"code":"200 OK","data":{"listenKey":"c7503eea320c15cbc00210b8c8384ebb2c4c9911055963729fcecfbdccbd756b"}}
  28. Complete
  29. 0.014578
  30. check_add_if_not_present: id = 1711031532627 , price = 14578
  31. Complete
  32. 0.016113
  33. check_add_if_not_present: id = 1711031532628 , price = 16113
  34. {"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"}
  35. 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"}
  36. Complete
  37. 0.014577
  38. check_add_if_not_present: id = 1711031532629 , price = 14577
  39. Account order event
  40. !{"amount": "9.158950","average_price": "0.000000","client_order_id": 1711031532628,"create_time": 1711031533330,"is_maker": false,"status": "NEW","price": "0.016112","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031533345}
  41. Complete
  42. 0.016114
  43. check_add_if_not_present: id = 1711031532630 , price = 16114
  44. Account order event
  45. !{"amount": "9.596620","average_price": "0.000000","client_order_id": 1711031532629,"create_time": 1711031533357,"is_maker": false,"status": "NEW","price": "0.014577","quantity": "658.340000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031533370}
  46. Complete
  47. 0.014576
  48. check_add_if_not_present: id = 1711031532631 , price = 14576
  49. Account order event
  50. !{"amount": "11.449310","average_price": "0.000000","client_order_id": 1711031532630,"create_time": 1711031533387,"is_maker": false,"status": "NEW","price": "0.016114","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031533396}
  51. Complete
  52.  
  53. 1711031533449 Orders posted.
  54. Account order event
  55. !{"amount": "11.995750","average_price": "0.000000","client_order_id": 1711031532631,"create_time": 1711031533419,"is_maker": false,"status": "NEW","price": "0.014576","quantity": "822.980000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031533463}
  56.  
  57. 1711031539450 Previous mid price: 0.015345
  58.  
  59. 1711031539450 Posting...
  60.  
  61. 1711031539450 Placing orders.
  62. Mid price: 0.015252, spread ticks: 1525
  63. In MakeNewOrdersWithGrid
  64. In MakeNewOrdersWithGrid get grid
  65. In grid!scaled price = 16112 scaled_qty = 42631
  66. grid 0.015342
  67. grid 0.012965
  68. grid 0.015343
  69. grid 0.012964
  70. grid 0.015344
  71. grid 0.012963
  72. Was not found
  73. get_order:
  74. 1711031532631 0.014576
  75. 1711031532629 0.014577
  76. 1711031532628 0.016112
  77. id = 1711031532628
  78. In grid!scaled price = 14578 scaled_qty = 49372
  79. grid 0.015342
  80. grid 0.012965
  81. grid 0.015343
  82. grid 0.012964
  83. grid 0.015344
  84. grid 0.012963
  85. Was not found
  86. get_order:
  87. 1711031532631 0.014576
  88. 1711031532629 0.014577
  89. 1711031532628 0.016112
  90. 1711031532627 0.014578
  91. id = 1711031532627
  92. Account order event
  93. !{"amount": "9.158950","average_price": "0.000000","client_order_id": 1711031532628,"create_time": 1711031533330,"is_maker": false,"status": "CANCELED","price": "0.016112","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539471}
  94. In grid!scaled price = 16113 scaled_qty = 56841
  95. grid 0.015342
  96. grid 0.012965
  97. grid 0.015343
  98. grid 0.012964
  99. grid 0.015344
  100. grid 0.012963
  101. Was not found
  102. get_order:
  103. 1711031532631 0.014576
  104. 1711031532629 0.014577
  105. 1711031532627 0.014578
  106. 1711031532626 0.016112
  107. 1711031532630 0.016114
  108. 1711030670418 0.016320
  109. 1711030670421 0.014763
  110. id = error: Local order not found
  111.  
  112. In grid cycle runtime error was occured
  113. result_t::value: object already contains an error
  114. Account order event
  115. !{"amount": "7.197450","average_price": "0.000000","client_order_id": 1711031532627,"create_time": 1711031533287,"is_maker": false,"status": "CANCELED","price": "0.014578","quantity": "493.720000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539492}
  116. After grid!
  117. 0.015342
  118. check_add_if_not_present: id = 1711031532632 , price = 15342
  119. Account order event
  120. !{"amount": "11.995750","average_price": "0.000000","client_order_id": 1711031532631,"create_time": 1711031533419,"is_maker": false,"status": "CANCELED","price": "0.014576","quantity": "822.980000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539516}
  121. Account order event
  122. !{"amount": "11.449310","average_price": "0.000000","client_order_id": 1711031532630,"create_time": 1711031533387,"is_maker": false,"status": "CANCELED","price": "0.016114","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539516}
  123. Account order event
  124. !{"amount": "9.596620","average_price": "0.000000","client_order_id": 1711031532629,"create_time": 1711031533357,"is_maker": false,"status": "CANCELED","price": "0.014577","quantity": "658.340000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539516}
  125. Account order event
  126. !{"amount": "6.868700","average_price": "0.000000","client_order_id": 1711031532626,"create_time": 1711031533245,"is_maker": false,"status": "CANCELED","price": "0.016112","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539516}
  127. Complete
  128. 0.012965
  129. check_add_if_not_present: id = 1711031532633 , price = 12965
  130. Account order event
  131. !{"amount": "6.540440","average_price": "0.000000","client_order_id": 1711031532632,"create_time": 1711031539528,"is_maker": false,"status": "NEW","price": "0.015342","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539538}
  132. Complete
  133. 0.015343
  134. check_add_if_not_present: id = 1711031532634 , price = 15343
  135. Account order event
  136. !{"amount": "7.197390","average_price": "0.000000","client_order_id": 1711031532633,"create_time": 1711031539558,"is_maker": false,"status": "NEW","price": "0.012965","quantity": "555.140000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539572}
  137. Complete
  138. 0.012964
  139. check_add_if_not_present: id = 1711031532635 , price = 12964
  140. Account order event
  141. !{"amount": "8.721260","average_price": "0.000000","client_order_id": 1711031532634,"create_time": 1711031539592,"is_maker": false,"status": "NEW","price": "0.015343","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539605}
  142. Complete
  143. 0.015344
  144. check_add_if_not_present: id = 1711031532636 , price = 15344
  145. Account order event
  146. !{"amount": "9.596600","average_price": "0.000000","client_order_id": 1711031532635,"create_time": 1711031539613,"is_maker": false,"status": "NEW","price": "0.012964","quantity": "740.250000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539626}
  147. Complete
  148. 0.012963
  149. check_add_if_not_present: id = 1711031532637 , price = 12963
  150. Account order event
  151. !{"amount": "10.902210","average_price": "0.000000","client_order_id": 1711031532636,"create_time": 1711031539643,"is_maker": false,"status": "NEW","price": "0.015344","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539655}
  152. Complete
  153.  
  154. 1711031539674 Orders posted.
  155. Account order event
  156. !{"amount": "11.995700","average_price": "0.000000","client_order_id": 1711031532637,"create_time": 1711031539665,"is_maker": false,"status": "NEW","price": "0.012963","quantity": "925.380000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031539674}
  157.  
  158. 1711031545690 Previous mid price: 0.015252
  159.  
  160. 1711031545690 Posting...
  161.  
  162. 1711031545690 Placing orders.
  163. Mid price: 0.014473, spread ticks: 1447
  164. check_add_if_not_present: id = 1711031532638 , price = 13744
  165. Account order event
  166. !{"amount": "11.995700","average_price": "0.000000","client_order_id": 1711031532637,"create_time": 1711031539665,"is_maker": false,"status": "CANCELED","price": "0.012963","quantity": "925.380000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545693}
  167. Account order event
  168. !{"amount": "10.902210","average_price": "0.000000","client_order_id": 1711031532636,"create_time": 1711031539643,"is_maker": false,"status": "CANCELED","price": "0.015344","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545695}
  169. Account order event
  170. !{"amount": "9.596600","average_price": "0.000000","client_order_id": 1711031532635,"create_time": 1711031539613,"is_maker": false,"status": "CANCELED","price": "0.012964","quantity": "740.250000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545695}
  171. Account order event
  172. !{"amount": "8.721260","average_price": "0.000000","client_order_id": 1711031532634,"create_time": 1711031539592,"is_maker": false,"status": "CANCELED","price": "0.015343","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545695}
  173. Account order event
  174. !{"amount": "7.197390","average_price": "0.000000","client_order_id": 1711031532633,"create_time": 1711031539558,"is_maker": false,"status": "CANCELED","price": "0.012965","quantity": "555.140000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545695}
  175. Account order event
  176. !{"amount": "6.540440","average_price": "0.000000","client_order_id": 1711031532632,"create_time": 1711031539528,"is_maker": false,"status": "CANCELED","price": "0.015342","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545695}
  177. check_add_if_not_present: id = 1711031532639 , price = 10856
  178. Account order event
  179. !{"amount": "5.859200","average_price": "0.000000","client_order_id": 1711031532638,"create_time": 1711031545704,"is_maker": false,"status": "NEW","price": "0.013744","quantity": "426.310000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545715}
  180. check_add_if_not_present: id = 1711031532640 , price = 13745
  181. Account order event
  182. !{"amount": "7.197410","average_price": "0.000000","client_order_id": 1711031532639,"create_time": 1711031545729,"is_maker": false,"status": "NEW","price": "0.010856","quantity": "662.990000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545738}
  183. check_add_if_not_present: id = 1711031532641 , price = 10855
  184. Account order event
  185. !{"amount": "7.812930","average_price": "0.000000","client_order_id": 1711031532640,"create_time": 1711031545762,"is_maker": false,"status": "NEW","price": "0.013745","quantity": "568.410000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545773}
  186. check_add_if_not_present: id = 1711031532642 , price = 13746
  187. Account order event
  188. !{"amount": "9.596570","average_price": "0.000000","client_order_id": 1711031532641,"create_time": 1711031545791,"is_maker": false,"status": "NEW","price": "0.010855","quantity": "884.070000","filled_quantity": "0.000000","side": "BUY","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545802}
  189. check_add_if_not_present: id = 1711031532643 , price = 10854
  190. Account order event
  191. !{"amount": "9.766800","average_price": "0.000000","client_order_id": 1711031532642,"create_time": 1711031545811,"is_maker": false,"status": "NEW","price": "0.013746","quantity": "710.520000","filled_quantity": "0.000000","side": "SELL","symbol": "0x55ce7fe6cc88","type": "LIMIT_MAKER""update_time": 1711031545826}
  192.  
  193. 1711031545839 Orders posted.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement