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=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
- --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
- LOTT balance: {"asset": "LOTT","free": "4263.16","frozen": "0","update_time": 0}
- USDT balance: {"asset": "USDT","free": "71.975","frozen": "0","update_time": 0}
- 1711007052776 Placing orders.
- Mid price: 0.014473, spread ticks: 1447
- In MakeNewOrdersWithGrid
- In MakeNewOrdersWithGrid get grid
- After grid!
- 0.015197
- check_add_if_not_present: id = 1711007052186 , price = 15197
- {"code":"200 OK","data":{"listenKey":"ae82103728db15f2f8d2c7ecfc79e7b3c374dfb0fdbe44a35122a77209e0cdca"}}
- Complete
- 0.013750
- check_add_if_not_present: id = 1711007052187 , price = 13750
- Complete
- 0.015198
- check_add_if_not_present: id = 1711007052188 , price = 15198
- Complete
- 0.013749
- check_add_if_not_present: id = 1711007052189 , price = 13749
- Complete
- 0.015199
- check_add_if_not_present: id = 1711007052190 , price = 15199
- {"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.013748
- check_add_if_not_present: id = 1711007052191 , price = 13748
- Account order event
- !{"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}
- Account order event
- !{"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}
- Complete
- 1711007052988 Orders posted.
- 1711007059989 Previous mid price: 0.014473
- 1711007059989 Posting...
- 1711007059989 Placing orders.
- Mid price: 0.014474, spread ticks: 1447
- In MakeNewOrdersWithGrid
- In MakeNewOrdersWithGrid get grid
- In grid!scaled price = 15197 scaled_qty = 42631
- grid 0.014475
- grid 0.012304
- grid 0.014476
- grid 0.012303
- grid 0.014477
- grid 0.012302
- Was not found
- id = 1711007052186
- In grid!scaled price = 13750 scaled_qty = 52345
- grid 0.014475
- grid 0.012304
- grid 0.014476
- grid 0.012303
- grid 0.014477
- grid 0.012302
- Was not found
- id = 1711007029992
- In grid cycle runtime error was occured
- In grid cycle runtime error was occured
- In grid cycle runtime error was occured
- In grid cycle runtime error was occured
- mexc_spot::connector::cancel_order: an error occured, call_config::except_on_error is enabled: Grid price level is empty
- Account order event
- !{"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}
- After grid!
- 0.014475
- check_add_if_not_present: id = 1711007052192 , price = 14475
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Complete
- 0.012304
- check_add_if_not_present: id = 1711007052193 , price = 12304
- Account order event
- !{"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}
- Account order event
- !{"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}
- Complete
- 0.014476
- check_add_if_not_present: id = 1711007052194 , price = 14476
- Complete
- 0.012303
- check_add_if_not_present: id = 1711007052195 , price = 12303
- Account order event
- !{"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}
- Complete
- 0.014477
- check_add_if_not_present: id = 1711007052196 , price = 14477
- Account order event
- !{"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}
- Complete
- 0.012302
- check_add_if_not_present: id = 1711007052197 , price = 12302
- Account order event
- !{"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}
- Account order event
- !{"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}
- Complete
- 1711007060211 Orders posted.
- ^CThe interrupt signal is (2).
- Account order event
- !{"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}
- Account order event
- !{"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}
- Orders cancelled!
- sigcanel
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- Account order event
- !{"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}
- base balance: {"asset": "LOTT","free": "4263.16","frozen": "0","update_time": 1711007065489}
- quote balance: {"asset": "USDT","free": "71.975","frozen": "0","update_time": 1711007065406}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement