Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/mira_updated/market_making/mexc_spot$ python3 launch.py LOTTUSDT
- ./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
- --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
- LOTT balance: {"asset": "LOTT","free": "3694.74","frozen": "568.42","update_time": 0}
- USDT balance: {"asset": "USDT","free": "59.9672","frozen": "12.0078","update_time": 0}
- 1711031533189 Placing orders.
- Mid price: 0.015345, spread ticks: 1534
- In MakeNewOrdersWithGrid
- In MakeNewOrdersWithGrid get grid
- After grid!
- 0.016112
- check_add_if_not_present: id = 1711031532626 , price = 16112
- {"code":"200 OK","data":{"listenKey":"c7503eea320c15cbc00210b8c8384ebb2c4c9911055963729fcecfbdccbd756b"}}
- Complete
- 0.014578
- check_add_if_not_present: id = 1711031532627 , price = 14578
- Complete
- 0.016113
- check_add_if_not_present: id = 1711031532628 , price = 16113
- {"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"}
- 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"}
- Complete
- 0.014577
- check_add_if_not_present: id = 1711031532629 , price = 14577
- Account order event
- !{"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}
- Complete
- 0.016114
- check_add_if_not_present: id = 1711031532630 , price = 16114
- Account order event
- !{"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}
- Complete
- 0.014576
- check_add_if_not_present: id = 1711031532631 , price = 14576
- Account order event
- !{"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}
- Complete
- 1711031533449 Orders posted.
- Account order event
- !{"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}
- 1711031539450 Previous mid price: 0.015345
- 1711031539450 Posting...
- 1711031539450 Placing orders.
- Mid price: 0.015252, spread ticks: 1525
- In MakeNewOrdersWithGrid
- In MakeNewOrdersWithGrid get grid
- In grid!scaled price = 16112 scaled_qty = 42631
- grid 0.015342
- grid 0.012965
- grid 0.015343
- grid 0.012964
- grid 0.015344
- grid 0.012963
- Was not found
- get_order:
- 1711031532631 0.014576
- 1711031532629 0.014577
- 1711031532628 0.016112
- id = 1711031532628
- In grid!scaled price = 14578 scaled_qty = 49372
- grid 0.015342
- grid 0.012965
- grid 0.015343
- grid 0.012964
- grid 0.015344
- grid 0.012963
- Was not found
- get_order:
- 1711031532631 0.014576
- 1711031532629 0.014577
- 1711031532628 0.016112
- 1711031532627 0.014578
- id = 1711031532627
- Account order event
- !{"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}
- In grid!scaled price = 16113 scaled_qty = 56841
- grid 0.015342
- grid 0.012965
- grid 0.015343
- grid 0.012964
- grid 0.015344
- grid 0.012963
- Was not found
- get_order:
- 1711031532631 0.014576
- 1711031532629 0.014577
- 1711031532627 0.014578
- 1711031532626 0.016112
- 1711031532630 0.016114
- 1711030670418 0.016320
- 1711030670421 0.014763
- id = error: Local order not found
- In grid cycle runtime error was occured
- result_t::value: object already contains an error
- Account order event
- !{"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}
- After grid!
- 0.015342
- check_add_if_not_present: id = 1711031532632 , price = 15342
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Complete
- 0.012965
- check_add_if_not_present: id = 1711031532633 , price = 12965
- Account order event
- !{"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}
- Complete
- 0.015343
- check_add_if_not_present: id = 1711031532634 , price = 15343
- Account order event
- !{"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}
- Complete
- 0.012964
- check_add_if_not_present: id = 1711031532635 , price = 12964
- Account order event
- !{"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}
- Complete
- 0.015344
- check_add_if_not_present: id = 1711031532636 , price = 15344
- Account order event
- !{"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}
- Complete
- 0.012963
- check_add_if_not_present: id = 1711031532637 , price = 12963
- Account order event
- !{"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}
- Complete
- 1711031539674 Orders posted.
- Account order event
- !{"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}
- 1711031545690 Previous mid price: 0.015252
- 1711031545690 Posting...
- 1711031545690 Placing orders.
- Mid price: 0.014473, spread ticks: 1447
- check_add_if_not_present: id = 1711031532638 , price = 13744
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- check_add_if_not_present: id = 1711031532639 , price = 10856
- Account order event
- !{"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}
- check_add_if_not_present: id = 1711031532640 , price = 13745
- Account order event
- !{"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}
- check_add_if_not_present: id = 1711031532641 , price = 10855
- Account order event
- !{"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}
- check_add_if_not_present: id = 1711031532642 , price = 13746
- Account order event
- !{"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}
- check_add_if_not_present: id = 1711031532643 , price = 10854
- Account order event
- !{"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}
- 1711031545839 Orders posted.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement