Open 1-NoLimits opened 2 years ago
LIMIT_MAKER
is not used in futures order. For post only orders, set timeInForce to GTX
.
Thanks, but the function IS valid AND documented in Binance Python API for FUTURES. ?!
Anyway, post only seems to do the same. Thanks heaps :)
Not sure why we have FUTURE_ORDER_TYPE_LIMIT_MAKER = 'LIMIT_MAKER'
in enums.py.
There is no mention of LIMIT_MAKER
in either USD or COIN futures in the API Docs.
Using TIME_IN_FORCE_GTX instead...
Any clue why we can't place LIMIT_MAKER orders, but any other order?
resultb =client.futures_create_order( symbol='BTCUSDT', side=Client.SIDE_BUY, positionSide = "LONG", type= Client.FUTURE_ORDER_TYPE_LIMIT_MAKER, quantity=0.01, price = 25000, timeInForce = 'GTC') print(resultb)
binance.exceptions.BinanceAPIException: APIError(code=-1116): Invalid orderType.