I'm trying to open USDT-M Futures position on my Bybit account but getting error:
pybit.exceptions.InvalidRequestError: ab not enough for new order (ErrCode: 110007) (ErrTime: 07:15:38).
Request → POST : {"category": "linear", "symbol": "BALUSDT", "side": "Buy", "orderType": "Limit", "qty": "299", "price": "1.564"}.
in this specific example leverage is 15x, so I need nearly 32$ on my trading account, I have twice that amount, so it can't be what error says: 'ab not enough for new order'. it's more confusing that it worked fine for several days, even now it works sometimes, but sometimes got this error.
first I check for qtyStep to define correct amount:
ticker_info = session_public.get_instruments_info(
category='linear',
symbol=ticker
)
qty_step = ticker_info['result']['list'][0]['lotSizeFilter']['qtyStep']
then I round my quantity to that step and open order:
order = session_private.place_order(
category="linear",
symbol=ticker,
side=side,
orderType="Limit",
qty=quantity,
price=price,
)
I've tried reducing quantity but it doesn't help.
I'm trying to open USDT-M Futures position on my Bybit account but getting error:
pybit.exceptions.InvalidRequestError: ab not enough for new order (ErrCode: 110007) (ErrTime: 07:15:38).
Request → POST https://api.bybit/v5/order/create: {"category": "linear", "symbol": "BALUSDT", "side": "Buy", "orderType": "Limit", "qty": "299", "price": "1.564"}.
in this specific example leverage is 15x, so I need nearly 32$ on my trading account, I have twice that amount, so it can't be what error says: 'ab not enough for new order'. it's more confusing that it worked fine for several days, even now it works sometimes, but sometimes got this error.
first I check for qtyStep to define correct amount:
ticker_info = session_public.get_instruments_info(
category='linear',
symbol=ticker
)
qty_step = ticker_info['result']['list'][0]['lotSizeFilter']['qtyStep']
then I round my quantity to that step and open order:
order = session_private.place_order(
category="linear",
symbol=ticker,
side=side,
orderType="Limit",
qty=quantity,
price=price,
)
I've tried reducing quantity but it doesn't help.
Share Improve this question asked Mar 4 at 12:41 saba tananashvilisaba tananashvili 331 silver badge8 bronze badges1 Answer
Reset to default 0it seems that specific pair doesn't have 15x leverage at all, by default it is set on 5x and I don't have enough balance to buy 299 BAL on 5x leverage.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745042726a4607909.html
评论列表(0条)