'binance.exceptions.BinanceAPIException: APIError(code=-1022): Signature for this request is not valid. how to make limit order?
I have a script that had order buy type: MARKET, but want to change it for LIMIT and get that error.
How can I solve this problem?
buy_order=client.futures_create_order(
symbol=symbolo,
side='BUY',
type='LIMIT' ,
quantity=cantidad,
reduceOnly=True,
price=preciosa,
timeInForce="GTC"
)
&
preciosa = preciosa=(aapl['Close']+(aapl['Close'])/999)
aapl= close
from the websockets
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|