Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ ./test mm_launch.config
- api keys: 2403047dac883ff20b6cb32cc56b2a17a8bcbb0d 292b4e5ce79770c283786adf3107a2e896ec0a3bfe4767a080a634961edfac30
- API 0x5f764a9a98c0
- run forever balance 0x5f764a9a98c0
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "LAI", "free": 1195, "locked": 0, "wallet": 0, "update_time": 0}, {"asset": "USDT", "free": 46.5695, "locked": 28.4049, "wallet": 0, "update_time": 0}, {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}, {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}]}
- get balance indicator 0x5f764a9a9a50
- balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
- {"asset": "LAI", "free": 1195, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "USDT", "free": 46.5695, "locked": 28.4049, "wallet": 0, "update_time": 0}
- {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
- [ 1720028755161 ] MESSAGE: Target exchange provided: MEXC_SPOT
- BITMART_SPOT {"symbol": "LAI_USDT", "base": "LAI", "quote": "USDT", "price_step": 0.000001, "price_precision": 6, "quntity_step": 0.100000, "quantity_precision": 1, "min_notional": 5, "max_notional": 1e+09, "maker_commission": 0, "taker_commission": 0}
- {"symbols": [{"symbol": "LAI_USDT", "market": "BITMART_SPOT", "account": "MM_BOT"}], "upnl_bound": "5", "name": "MARKET_MAKING_MANAGER", "rpnl_bound": "100", "max_position": "52", "cooldown": "6000"}
- {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028755331", "263829b631063eab5ea18766cced62ff06a5a0b694a540c3352dab486441d81d"]}
- {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
- {"op": "login", "args": ["2403047dac883ff20b6cb32cc56b2a17a8bcbb0d", "1720028755642", "bc60ecae8b5b9743aa38dbba855fe64547dbd6d7bcac6e8090af5baa404ec0b1"]}
- {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
- {"args": ["spot/depth50:LAI_USDT", "spot/depth50:LAI_USDT"], "op": "subscribe"}
- ping
- {"op": "subscribe", "args": ["spot/user/balance:BALANCE_UPDATE", "spot/user/order:LAI_USDT"]}
- ping
- [ 1720028756327 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028756327 ] MESSAGE: mm _process
- [ 1720028756328 ] MESSAGE: update uniswap price
- [ 1720028756767 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028756767 ] MESSAGE: mid price not changed
- [ 1720028756767 ] MESSAGE: position quote: 0.000000max pos: 52.000000
- [ 1720028756767 ] MESSAGE: max pos is not exceeded
- [ 1720028756767 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028756767
- [ 2024-07-03-17-45-56 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015514, 478); (0.015515, 478); ], bids: [(2.1e-05, 1.42808e+06); (2e-05, 1.49949e+06); ]
- [ 2024-07-03-17-45-56 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015514, 478); (0.015515, 478); ], bids: [(2.1e-05, 1.42808e+06); (2e-05, 1.49949e+06); ]
- [ 1720028756768 ] MESSAGE: LIMIT GRID
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 0.015514
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 478
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 0.015515
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 478
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 2.1e-05
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 1.42808e+06
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 2e-05
- [ 2024-07-03-17-45-56 ] DEBUG in _process_limit_grid: 1.49949e+06
- [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1499488.200000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1428084.000000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-45-56 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015514, "quantity": 478.000000, "type": "LIMIT", "side": "SELL"}
- [ 1720028756769 ] MESSAGE: csize: 2
- [ 2024-07-03-17-45-56 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028430888}
- [ 2024-07-03-17-45-56 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028430893}
- [ 2024-07-03-17-45-56 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1499488.200000, "client_order_id": 1720028755021, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1428084.000000, "client_order_id": 1720028755022, "type": "LIMIT", "side": "BUY"}
- [ 1720028756870 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028756870 ] MESSAGE: mm _process
- [ 1720028756870 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028756870 ] MESSAGE: mid price not changed
- [ 2024-07-03-17-45-56 ] DEBUG ! new[ 1720028756871 ] MESSAGE: position quote: 0.000000max pos: 52.000000
- [ 1720028756871 ] MESSAGE: max pos is not exceeded
- : {"symbol": "LAI_USDT", "price": 0.015514, "quantity": 478.000000, "client_order_id": 1720028755024, "type": "LIMIT", "side": "SELL"}
- [ 1720028756871 ] MESSAGE: cooldown is not exceeded
- [ 2024-07-03-17-45-56 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "client_order_id": 1720028755023, "type": "LIMIT", "side": "SELL"}
- [ 1720028756873 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028756873 ] MESSAGE: mm _process
- [ 1720028756873 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028756873 ] MESSAGE: mid price not changed
- [ 1720028756873 ] MESSAGE: position quote: 0.000000max pos: 52.000000
- [ 1720028756873 ] MESSAGE: max pos is not exceeded
- [ 1720028756873 ] MESSAGE: cooldown is not exceeded
- [ 1720028756873 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028756873 ] MESSAGE: mm _process
- [ 1720028756873 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028756873 ] MESSAGE: mid price not changed
- [ 1720028756874 ] MESSAGE: position quote: 0.000000max pos: 52.000000
- [ 1720028756874 ] MESSAGE: max pos is not exceeded
- [ 1720028756874 ] MESSAGE: cooldown is not exceeded
- [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756876", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 644, "order": {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028756843}}
- [ 1720028756876 ] MESSAGE: limit
- [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028756843}
- [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428627, "order_id": "621233982833699584", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000019, "quantity": 747498.000000, "filled_quantity": 0.000000, "update_time": 1720028430888}
- [ 1720028756877 ] MESSAGE: erase
- [ 1720028756877 ] MESSAGE: in market making strategy fill process
- [ 1720028756877 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-56 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453108744448", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028756970}
- [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756971", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}}
- [ 1720028756971 ] MESSAGE: limit
- [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
- [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1499488.200000, "update_time": 0}
- [ 1720028756972 ] MESSAGE: in market making strategy fill process
- [ 1720028756972 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-56 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028756973}
- [ 2024-07-03-17-45-56 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028756974", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 552, "order": {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}}
- [ 1720028756974 ] MESSAGE: limit
- [ 2024-07-03-17-45-56 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}
- [ 2024-07-03-17-45-56 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015515, "quantity": 478.000000, "update_time": 0}
- [ 1720028756975 ] MESSAGE: in market making strategy fill process
- [ 1720028756975 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757012", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 644, "order": {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028756984}}
- [ 1720028757012 ] MESSAGE: limit
- [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028756984}
- [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028428626, "order_id": "621233982986395649", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000018, "quantity": 789025.000000, "filled_quantity": 0.000000, "update_time": 1720028430893}
- [ 1720028757013 ] MESSAGE: erase
- [ 1720028757013 ] MESSAGE: in market making strategy fill process
- [ 1720028757013 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757050", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 552, "order": {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}}
- [ 1720028757050 ] MESSAGE: limit
- [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}
- [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 0.015514, "quantity": 478.000000, "update_time": 0}
- [ 1720028757051 ] MESSAGE: in market making strategy fill process
- [ 1720028757051 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757065", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 642, "order": {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757036}}
- [ 1720028757066 ] MESSAGE: limit
- [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757036}
- [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755024, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015514, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028757006}
- [ 1720028757066 ] MESSAGE: erase
- [ 1720028757067 ] MESSAGE: in market making strategy fill process
- [ 1720028757067 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239454501317888", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028757076}
- [ 2024-07-03-17-45-57 ] DEBUG ? cancel: empty order
- {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028757123", "balance_details": [{"fz_bal": "0.000000000000000000000000000000", "ccy": "LAI", "av_bal": "717.000000000000000000000000000000"}]}
- {"event_type": "TRANSACTION_COMPLETED", "event_time": "1720028757123", "balance_details": [{"fz_bal": "30.064734400000000000000000000000", "ccy": "USDT", "av_bal": "52.378318335000000000000000000000"}]}
- [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757161", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 723, "order": {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 478.000000, "update_time": 1720028757124}}
- [ 1720028757162 ] MESSAGE: limit
- [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 478.000000, "update_time": 1720028757124}
- [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239453242894336", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "filled_quantity": 0.000000, "update_time": 1720028756931}
- $$$ {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "trade_side": SELL, "trade_time": 1720028757124}
- [ 2024-07-03-17-45-57 ] INFO Open position: : {"symbol": "LAI_USDT", "price": 0.015515, "quantity": 478.000000, "trade_side": SELL, "trade_time": 1720028757124}
- [ 2024-07-03-17-45-57 ] INFO new position: {"symbol": "LAI_USDT", "entry_price": 0.015515, "quantity": -478, "position_quote": -7.41617}
- [ 1720028757163 ] MESSAGE: erase
- [ 1720028757163 ] MESSAGE: in market making strategy fill process
- [ 1720028757163 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028757391", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}}
- [ 1720028757392 ] MESSAGE: limit
- [ 2024-07-03-17-45-57 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
- [ 2024-07-03-17-45-57 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1428084.000000, "update_time": 0}
- [ 1720028757392 ] MESSAGE: in market making strategy fill process
- [ 1720028757392 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-45-57 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755023, "order_id": "621239460104775680", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015515, "quantity": 478.000000, "update_time": 1720028757575}
- [ 1720028758311 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028758312 ] MESSAGE: mm _process
- [ 1720028758312 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028758312 ] MESSAGE: mid price not changed
- [ 1720028758312 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028758312 ] MESSAGE: max pos is not exceeded
- [ 1720028758312 ] MESSAGE: cooldown is not exceeded
- [ 1720028758312 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028758312 ] MESSAGE: mm _process
- [ 1720028758312 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028758312 ] MESSAGE: mid price not changed
- [ 1720028758312 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028758312 ] MESSAGE: max pos is not exceeded
- [ 1720028758312 ] MESSAGE: cooldown is not exceeded
- [ 1720028760475 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028760475 ] MESSAGE: mm _process
- [ 1720028760475 ] MESSAGE: update uniswap price
- [ 1720028760491 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028760491 ] MESSAGE: mid price not changed
- [ 1720028760491 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028760491 ] MESSAGE: max pos is not exceeded
- [ 1720028760491 ] MESSAGE: cooldown is not exceeded
- [ 1720028760491 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028760491 ] MESSAGE: mm _process
- [ 1720028760491 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028760491 ] MESSAGE: mid price not changed
- [ 1720028760491 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028760491 ] MESSAGE: max pos is not exceeded
- [ 1720028760491 ] MESSAGE: cooldown is not exceeded
- [ 1720028761307 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028761307 ] MESSAGE: mm _process
- [ 1720028761307 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028761307 ] MESSAGE: mid price not changed
- [ 1720028761307 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028761307 ] MESSAGE: max pos is not exceeded
- [ 1720028761307 ] MESSAGE: cooldown is not exceeded
- [ 1720028761307 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028761307 ] MESSAGE: mm _process
- [ 1720028761307 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028761307 ] MESSAGE: mid price not changed
- [ 1720028761307 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028761307 ] MESSAGE: max pos is not exceeded
- [ 1720028761307 ] MESSAGE: cooldown is not exceeded
- [ 1720028762718 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028762718 ] MESSAGE: mm _process
- [ 1720028762718 ] MESSAGE: update uniswap price
- [ 1720028762735 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028762735 ] MESSAGE: mid price not changed
- [ 1720028762735 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028762735 ] MESSAGE: max pos is not exceeded
- [ 1720028762735 ] MESSAGE: cooldown is not exceeded
- [ 1720028762735 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028762735 ] MESSAGE: mm _process
- [ 1720028762735 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028762736 ] MESSAGE: mid price not changed
- [ 1720028762736 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028762736 ] MESSAGE: max pos is not exceeded
- [ 1720028762736 ] MESSAGE: cooldown is not exceeded
- [ 1720028763806 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028763806 ] MESSAGE: mm _process
- [ 1720028763806 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028763806 ] MESSAGE: mid price not changed
- [ 1720028763806 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028763807 ] MESSAGE: max pos is not exceeded
- [ 1720028763807 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028763807
- [ 1720028763807 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.133840
- [ 1720028763807 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
- [ 2024-07-03-17-46-03 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
- [ 2024-07-03-17-46-03 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
- [ 2024-07-03-17-46-03 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015519, 286.8); (0.01552, 286.8); ], bids: [(2.1e-05, 1.57034e+06); (2e-05, 1.64886e+06); ]
- [ 1720028763808 ] MESSAGE: LIMIT GRID
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 0.015519
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 0.01552
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 2.1e-05
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 1.57034e+06
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 2e-05
- [ 2024-07-03-17-46-03 ] DEBUG in _process_limit_grid: 1.64886e+06
- [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1648861.000000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1570343.800000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-03 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 1720028763809 ] MESSAGE: csize: 2
- [ 2024-07-03-17-46-03 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
- [ 2024-07-03-17-46-03 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
- [ 2024-07-03-17-46-03 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-03 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-03 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1648861.000000, "client_order_id": 1720028755025, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-03 ] DEBUG ! new: [ 1720028763909 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028763909 ] MESSAGE: mm _process
- {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1570343.800000, "client_order_id": 1720028755026, "type": "LIMIT", "side": "BUY"}
- [ 1720028763910 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028763910 ] MESSAGE: mid price not changed
- [ 1720028763910 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028763910 ] MESSAGE: max pos is not exceeded
- [ 2024-07-03-17-46-03 ] DEBUG ! new: [ 1720028763910 ] MESSAGE: cooldown is not exceeded
- {"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "client_order_id": 1720028755027, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-03 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "client_order_id": 1720028755028, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-03 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028763910", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028763872}}
- [ 1720028763911 ] MESSAGE: limit
- [ 2024-07-03-17-46-03 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028763872}
- [ 2024-07-03-17-46-03 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755021, "order_id": "621239453108744448", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1499488.000000, "filled_quantity": 0.000000, "update_time": 1720028756923}
- [ 1720028763911 ] MESSAGE: erase
- [ 1720028763912 ] MESSAGE: in market making strategy fill process
- [ 1720028763912 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-46-03 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028763913", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028763881}}
- [ 1720028763914 ] MESSAGE: limit
- [ 2024-07-03-17-46-03 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028763881}
- [ 2024-07-03-17-46-03 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755022, "order_id": "621239460104775680", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1428084.000000, "filled_quantity": 0.000000, "update_time": 1720028757340}
- [ 1720028763914 ] MESSAGE: erase
- [ 1720028763914 ] MESSAGE: in market making strategy fill process
- [ 1720028763914 ] MESSAGE: ! LAI_USDT
- {"trace": "66ff38f98af34e28b27c1d4a4ab10ac1.107.17200287639442295", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-03 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- {"trace": "edce44a6fd5145728f8477048eb7c89c.110.17200287639479039", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-03 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015520, "quantity": 286.800000, "client_order_id": 1720028755027, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-03 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-03 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015519, "quantity": 286.800000, "client_order_id": 1720028755028, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-03 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755028, "order_id": "621239571086586624", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015519, "quantity": 286.800000, "update_time": 1720028763997}
- [ 2024-07-03-17-46-04 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028764000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}}
- [ 1720028764001 ] MESSAGE: limit
- [ 2024-07-03-17-46-04 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
- [ 2024-07-03-17-46-04 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1648861.000000, "update_time": 0}
- [ 1720028764001 ] MESSAGE: in market making strategy fill process
- [ 1720028764001 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-46-04 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028764002", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}}
- [ 1720028764003 ] MESSAGE: limit
- [ 2024-07-03-17-46-04 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
- [ 2024-07-03-17-46-04 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1570343.800000, "update_time": 0}
- [ 1720028764003 ] MESSAGE: in market making strategy fill process
- [ 2024-07-03-17-46-04 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755028, "order_id": "621239571141369344", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015519, "quantity": 286.800000, "update_time": 1720028764002}
- [ 1720028764004 ] MESSAGE: ! LAI_USDT
- [ 1720028764378 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028764378 ] MESSAGE: mm _process
- [ 1720028764379 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028764379 ] MESSAGE: mid price not changed
- [ 1720028764379 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028764379 ] MESSAGE: max pos is not exceeded
- [ 1720028764379 ] MESSAGE: cooldown is not exceeded
- [ 1720028764379 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028764379 ] MESSAGE: mm _process
- [ 1720028764379 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028764379 ] MESSAGE: mid price not changed
- [ 1720028764379 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028764379 ] MESSAGE: max pos is not exceeded
- [ 1720028764379 ] MESSAGE: cooldown is not exceeded
- [ 1720028764903 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028764903 ] MESSAGE: mm _process
- [ 1720028764903 ] MESSAGE: update uniswap price
- [ 1720028764917 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028764917 ] MESSAGE: mid price not changed
- [ 1720028764917 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028764917 ] MESSAGE: max pos is not exceeded
- [ 1720028764917 ] MESSAGE: cooldown is not exceeded
- [ 1720028764917 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028764917 ] MESSAGE: mm _process
- [ 1720028764917 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028764918 ] MESSAGE: mid price not changed
- [ 1720028764918 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028764918 ] MESSAGE: max pos is not exceeded
- [ 1720028764918 ] MESSAGE: cooldown is not exceeded
- balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
- {"asset": "LAI", "free": 717, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "USDT", "free": 16.3237, "locked": 65.9544, "wallet": 0, "update_time": 0}
- {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
- [ 1720028766552 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028766552 ] MESSAGE: mm _process
- [ 1720028766552 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028766552 ] MESSAGE: mid price not changed
- [ 1720028766553 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028766553 ] MESSAGE: max pos is not exceeded
- [ 1720028766553 ] MESSAGE: cooldown is not exceeded
- [ 1720028766553 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028766553 ] MESSAGE: mm _process
- [ 1720028766553 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028766553 ] MESSAGE: mid price not changed
- [ 1720028766553 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028766553 ] MESSAGE: max pos is not exceeded
- [ 1720028766553 ] MESSAGE: cooldown is not exceeded
- [ 1720028767074 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028767074 ] MESSAGE: mm _process
- [ 1720028767074 ] MESSAGE: update uniswap price
- [ 1720028767090 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028767090 ] MESSAGE: mid price not changed
- [ 1720028767090 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028767090 ] MESSAGE: max pos is not exceeded
- [ 1720028767090 ] MESSAGE: cooldown is not exceeded
- [ 1720028767091 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028767091 ] MESSAGE: mm _process
- [ 1720028767091 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028767091 ] MESSAGE: mid price not changed
- [ 1720028767091 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028767091 ] MESSAGE: max pos is not exceeded
- [ 1720028767091 ] MESSAGE: cooldown is not exceeded
- [ 1720028767992 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028767992 ] MESSAGE: mm _process
- [ 1720028767992 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028767992 ] MESSAGE: mid price not changed
- [ 1720028767992 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028767992 ] MESSAGE: max pos is not exceeded
- [ 1720028767992 ] MESSAGE: cooldown is not exceeded
- [ 1720028767993 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028767993 ] MESSAGE: mm _process
- [ 1720028767993 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028767993 ] MESSAGE: mid price not changed
- [ 1720028767993 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028767993 ] MESSAGE: max pos is not exceeded
- [ 1720028767993 ] MESSAGE: cooldown is not exceeded
- [ 1720028769366 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028769366 ] MESSAGE: mm _process
- [ 1720028769367 ] MESSAGE: update uniswap price
- [ 1720028769381 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028769381 ] MESSAGE: mid price not changed
- [ 1720028769381 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028769381 ] MESSAGE: max pos is not exceeded
- [ 1720028769381 ] MESSAGE: cooldown is not exceeded
- [ 1720028769381 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028769382 ] MESSAGE: mm _process
- [ 1720028769382 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028769382 ] MESSAGE: mid price not changed
- [ 1720028769382 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028769382 ] MESSAGE: max pos is not exceeded
- [ 1720028769382 ] MESSAGE: cooldown is not exceeded
- [ 1720028769962 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028769962 ] MESSAGE: mm _process
- [ 1720028769962 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028769963 ] MESSAGE: mid price not changed
- [ 1720028769963 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028769963 ] MESSAGE: max pos is not exceeded
- [ 1720028769963 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028769963
- [ 1720028769963 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.133840
- [ 1720028769963 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
- [ 2024-07-03-17-46-09 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
- [ 2024-07-03-17-46-09 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
- [ 2024-07-03-17-46-09 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015524, 286.8); (0.015525, 286.8); ], bids: [(2.1e-05, 1.5672e+06); (2e-05, 1.64556e+06); ]
- [ 1720028769964 ] MESSAGE: LIMIT GRID
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 0.015524
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 0.015525
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 2.1e-05
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 1.5672e+06
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 2e-05
- [ 2024-07-03-17-46-09 ] DEBUG in _process_limit_grid: 1.64556e+06
- [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645563.300000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567203.100000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-09 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 1720028769965 ] MESSAGE: csize: 2
- [ 2024-07-03-17-46-09 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
- [ 2024-07-03-17-46-09 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
- [ 2024-07-03-17-46-10 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-10 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645563.300000, "client_order_id": 1720028755029, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "client_order_id": 1720028755032, "type": "LIMIT", "side": "SELL"}
- [ 1720028770066 ] MESSAGE: Market event from BITMART_SPOT
- [ 2024-07-03-17-46-10 ] DEBUG ! new: [ 1720028770066 ] MESSAGE: mm _process
- {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567203.100000, "client_order_id": 1720028755030, "type": "LIMIT", "side": "BUY"}
- [ 1720028770066 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028770066 ] MESSAGE: mid price not changed
- [ 1720028770066 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028770066 ] MESSAGE: max pos is not exceeded
- [ 1720028770066 ] MESSAGE: cooldown is not exceeded
- [ 2024-07-03-17-46-10 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "client_order_id": 1720028755031, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770067", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028770026}}
- [ 1720028770067 ] MESSAGE: limit
- [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028770026}
- [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755026, "order_id": "621239571141369344", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1570343.000000, "filled_quantity": 0.000000, "update_time": 1720028763958}
- [ 1720028770068 ] MESSAGE: erase
- [ 1720028770068 ] MESSAGE: in market making strategy fill process
- [ 1720028770068 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770068", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028770036}}
- [ 1720028770069 ] MESSAGE: limit
- [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028770036}
- [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755025, "order_id": "621239571086586624", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1648861.000000, "filled_quantity": 0.000000, "update_time": 1720028763955}
- [ 1720028770069 ] MESSAGE: erase
- [ 1720028770069 ] MESSAGE: in market making strategy fill process
- [ 1720028770069 ] MESSAGE: ! LAI_USDT
- {"trace": "8e58c7b154c84f05b4eb7db7cf49a74d.97.17200287700955303", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-10 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-10 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015524, "quantity": 286.800000, "client_order_id": 1720028755032, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- {"trace": "e44cfaf4f7224c66a2b62e442f4ad049.96.17200287701053219", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-10 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-10 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015525, "quantity": 286.800000, "client_order_id": 1720028755031, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-10 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755031, "order_id": "621239674388622592", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015525, "quantity": 286.800000, "update_time": 1720028770155}
- [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770156", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}}
- [ 1720028770157 ] MESSAGE: limit
- [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
- [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1645563.300000, "update_time": 0}
- [ 2024-07-03-17-46-10 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755031, "order_id": "621239674437184256", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015525, "quantity": 286.800000, "update_time": 1720028770157}
- [ 1720028770158 ] MESSAGE: in market making strategy fill process
- [ 1720028770158 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-46-10 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028770158", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}}
- [ 1720028770159 ] MESSAGE: limit
- [ 2024-07-03-17-46-10 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
- [ 2024-07-03-17-46-10 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1567203.100000, "update_time": 0}
- [ 1720028770160 ] MESSAGE: in market making strategy fill process
- [ 1720028770160 ] MESSAGE: ! LAI_USDT
- [ 1720028770808 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028770808 ] MESSAGE: mm _process
- [ 1720028770808 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028770808 ] MESSAGE: mid price not changed
- [ 1720028770808 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028770809 ] MESSAGE: max pos is not exceeded
- [ 1720028770809 ] MESSAGE: cooldown is not exceeded
- [ 1720028770809 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028770809 ] MESSAGE: mm _process
- [ 1720028770809 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028770809 ] MESSAGE: mid price not changed
- [ 1720028770809 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028770809 ] MESSAGE: max pos is not exceeded
- [ 1720028770809 ] MESSAGE: cooldown is not exceeded
- [ 1720028772222 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028772222 ] MESSAGE: mm _process
- [ 1720028772222 ] MESSAGE: update uniswap price
- [ 1720028772238 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028772238 ] MESSAGE: mid price not changed
- [ 1720028772238 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028772238 ] MESSAGE: max pos is not exceeded
- [ 1720028772238 ] MESSAGE: cooldown is not exceeded
- [ 1720028772238 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028772238 ] MESSAGE: mm _process
- [ 1720028772238 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028772238 ] MESSAGE: mid price not changed
- [ 1720028772238 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028772238 ] MESSAGE: max pos is not exceeded
- [ 1720028772239 ] MESSAGE: cooldown is not exceeded
- ping
- [ 1720028773628 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028773628 ] MESSAGE: mm _process
- [ 1720028773628 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028773628 ] MESSAGE: mid price not changed
- [ 1720028773628 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028773629 ] MESSAGE: max pos is not exceeded
- [ 1720028773629 ] MESSAGE: cooldown is not exceeded
- [ 1720028773629 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028773629 ] MESSAGE: mm _process
- [ 1720028773629 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028773629 ] MESSAGE: mid price not changed
- [ 1720028773629 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028773629 ] MESSAGE: max pos is not exceeded
- [ 1720028773629 ] MESSAGE: cooldown is not exceeded
- [ 1720028775058 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028775059 ] MESSAGE: mm _process
- [ 1720028775059 ] MESSAGE: update uniswap price
- [ 1720028775075 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028775075 ] MESSAGE: mid price not changed
- [ 1720028775075 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028775075 ] MESSAGE: max pos is not exceeded
- [ 1720028775075 ] MESSAGE: cooldown is not exceeded
- [ 1720028775076 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028775076 ] MESSAGE: mm _process
- [ 1720028775076 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028775076 ] MESSAGE: mid price not changed
- [ 1720028775076 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028775076 ] MESSAGE: max pos is not exceeded
- [ 1720028775076 ] MESSAGE: cooldown is not exceeded
- balance indicator: 0x5f764a9a9060 0x5f764a9a98c0
- {"asset": "LAI", "free": 717, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "USDT", "free": 16.456, "locked": 65.8225, "wallet": 0, "update_time": 0}
- {"asset": "CHAT", "free": 0, "locked": 0, "wallet": 0, "update_time": 0}
- {"asset": "ALGO", "free": 0.000221, "locked": 0, "wallet": 0, "update_time": 0}
- [ 1720028776230 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028776231 ] MESSAGE: mm _process
- [ 1720028776231 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028776231 ] MESSAGE: mid price not changed
- [ 1720028776231 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028776231 ] MESSAGE: max pos is not exceeded
- [ 1720028776231 ] MESSAGE: get_timestamp() - last_upd > cooldown: upd = 1720028776231
- [ 1720028776231 ] MESSAGE: realised pnl = 0.000000 & upnl = -0.132884
- [ 1720028776231 ] MESSAGE: position base quantity = -478.000000 pnl price = 0.025975
- [ 2024-07-03-17-46-16 ] DEBUG pnl risk checker result (case where price have not been adjusted): OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
- [ 2024-07-03-17-46-16 ] DEBUG overall risk checker res: OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
- [ 2024-07-03-17-46-16 ] INFO : OrderEvent: delta=1.71989e+11, symbol="LAI_USDT", type="LIMIT_GRID", asks: [(0.015528, 286.8); (0.015529, 286.8); ], bids: [(2.1e-05, 1.56721e+06); (2e-05, 1.64557e+06); ]
- [ 1720028776232 ] MESSAGE: LIMIT GRID
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 0.015528
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 0.015529
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 286.8
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 2.1e-05
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 1.56721e+06
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 2e-05
- [ 2024-07-03-17-46-16 ] DEBUG in _process_limit_grid: 1.64557e+06
- [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567209.400000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645569.900000, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 2024-07-03-17-46-16 ] DEBUG @#*&* : {"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "type": "LIMIT", "side": "SELL"}
- [ 1720028776233 ] MESSAGE: csize: 2
- [ 2024-07-03-17-46-16 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
- [ 2024-07-03-17-46-16 ] DEBUG ! cancel: {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
- [ 2024-07-03-17-46-16 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-16 ] DEBUG ? cancel: empty order
- [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000021, "quantity": 1567209.400000, "client_order_id": 1720028755033, "type": "LIMIT", "side": "BUY"}
- [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.000020, "quantity": 1645569.900000, "client_order_id": 1720028755034, "type": "LIMIT", "side": "BUY"}
- [ 1720028776334 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028776334 ] MESSAGE: mm _process
- [ 1720028776334 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028776334 ] MESSAGE: mid price not changed
- [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "client_order_id": 1720028755035, "type": "LIMIT", "side": "SELL"}
- [ 1720028776334 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ [ 2024-07-03-17-46-16 ] DEBUG ! new: {"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "client_order_id": 1720028755036, "type": "LIMIT", "side": "SELL"}
- 1720028776334 ] MESSAGE: max pos is not exceeded
- [ 1720028776334 ] MESSAGE: cooldown is not exceeded
- [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776335", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028776296}}
- [ 1720028776335 ] MESSAGE: limit
- [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028776296}
- [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755030, "order_id": "621239674437184256", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567203.000000, "filled_quantity": 0.000000, "update_time": 1720028770115}
- [ 1720028776336 ] MESSAGE: erase
- [ 1720028776336 ] MESSAGE: in market making strategy fill process
- [ 1720028776336 ] MESSAGE: ! LAI_USDT
- ping
- [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776337", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 645, "order": {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028776305}}
- [ 1720028776337 ] MESSAGE: limit
- [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028776305}
- [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755029, "order_id": "621239674388622592", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645563.000000, "filled_quantity": 0.000000, "update_time": 1720028770112}
- [ 1720028776338 ] MESSAGE: erase
- [ 1720028776338 ] MESSAGE: in market making strategy fill process
- [ 1720028776338 ] MESSAGE: ! LAI_USDT
- {"trace": "0b8b32133f0c44a3971cd7a50a4ec752.114.17200287763717347", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-16 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-16 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015529, "quantity": 286.800000, "client_order_id": 1720028755035, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- {"trace": "8e58c7b154c84f05b4eb7db7cf49a74d.102.17200287763682209", "data": {}, "code": "51011", "message": "param not match : size * price >=5"}
- [ 2024-07-03-17-46-16 ] DEBUG ? new: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-16 ] ERROR new order error: request={"symbol": "LAI_USDT", "price": 0.015528, "quantity": 286.800000, "client_order_id": 1720028755036, "type": "LIMIT", "side": "SELL"}: UNKNOWN_ERROR (BITMART_SPOT: Unknown error)
- [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776425", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "621239779544016384", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567209.000000, "filled_quantity": 0.000000, "update_time": 1720028776380}}
- [ 2024-07-03-17-46-16 ] DEBUG ? new: {"symbol": "LAI_USDT", "coid": 1720028755036, "order_id": "621239779581898240", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015528, "quantity": 286.800000, "update_time": 1720028776425}
- [ 1720028776426 ] MESSAGE: limit
- [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "621239779544016384", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000021, "quantity": 1567209.000000, "filled_quantity": 0.000000, "update_time": 1720028776380}
- [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755033, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000021, "quantity": 1567209.400000, "update_time": 0}
- [ 2024-07-03-17-46-16 ] DEBUG ? new: {"symbol": "LAI_USDT", [ 1720028776427 ] MESSAGE: in market making strategy fill process
- "coid": 1720028755036, "order_id": "621239779544016384", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.015528, "quantity": 286.800000, "update_time": 1720028776426}
- [ 1720028776427 ] MESSAGE: ! LAI_USDT
- [ 2024-07-03-17-46-16 ] INFO : WebSocketEvent: delta=1.72003e+11, event_time=1720028776428", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 556, "order": {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "621239779581898240", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645569.000000, "filled_quantity": 0.000000, "update_time": 1720028776382}}
- [ 1720028776428 ] MESSAGE: limit
- [ 2024-07-03-17-46-16 ] DEBUG Event order: : {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "621239779581898240", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.000020, "quantity": 1645569.000000, "filled_quantity": 0.000000, "update_time": 1720028776382}
- [ 2024-07-03-17-46-16 ] DEBUG old order: : {"symbol": "LAI_USDT", "coid": 1720028755034, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 0.000020, "quantity": 1645569.900000, "update_time": 0}
- [ 1720028776429 ] MESSAGE: in market making strategy fill process
- [ 1720028776429 ] MESSAGE: ! LAI_USDT
- [ 1720028777351 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028777351 ] MESSAGE: mm _process
- [ 1720028777351 ] MESSAGE: update uniswap price
- [ 1720028777367 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028777367 ] MESSAGE: mid price not changed
- [ 1720028777367 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028777367 ] MESSAGE: max pos is not exceeded
- [ 1720028777367 ] MESSAGE: cooldown is not exceeded
- [ 1720028777367 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028777367 ] MESSAGE: mm _process
- [ 1720028777367 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028777367 ] MESSAGE: mid price not changed
- [ 1720028777367 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028777368 ] MESSAGE: max pos is not exceeded
- [ 1720028777368 ] MESSAGE: cooldown is not exceeded
- [ 1720028777872 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028777872 ] MESSAGE: mm _process
- [ 1720028777872 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028777872 ] MESSAGE: mid price not changed
- [ 1720028777872 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028777872 ] MESSAGE: max pos is not exceeded
- [ 1720028777872 ] MESSAGE: cooldown is not exceeded
- [ 1720028777872 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028777872 ] MESSAGE: mm _process
- [ 1720028777872 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028777872 ] MESSAGE: mid price not changed
- [ 1720028777872 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028777873 ] MESSAGE: max pos is not exceeded
- [ 1720028777873 ] MESSAGE: cooldown is not exceeded
- [ 1720028778787 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028778787 ] MESSAGE: mm _process
- [ 1720028778787 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028778787 ] MESSAGE: mid price not changed
- [ 1720028778787 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028778787 ] MESSAGE: max pos is not exceeded
- [ 1720028778787 ] MESSAGE: cooldown is not exceeded
- [ 1720028778788 ] MESSAGE: Market event from BITMART_SPOT
- [ 1720028778788 ] MESSAGE: mm _process
- [ 1720028778788 ] MESSAGE: Target exchange price from uniswap = 0.000021
- [ 1720028778788 ] MESSAGE: mid price not changed
- [ 1720028778788 ] MESSAGE: position quote: -7.416170max pos: 52.000000
- [ 1720028778788 ] MESSAGE: max pos is not exceeded
- [ 1720028778788 ] MESSAGE: cooldown is not exceeded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement