So im experimenting with the binance testnet and when I try to create a new order I get the following error: -2010, ‘Account has insufficient balance for requested action.’
The order params are:
{
‘symbol’: ‘BNBBUSD’,
‘side’: ‘BUY’, ‘type’:
‘STOP_LOSS_LIMIT’,
‘timeInForce’: ‘GTC’,
‘quantity’: 1,
‘price’: 271,
‘trailingDelta’: 100
}
How can I resovle this error?
Also when I try to connect my test api key and secret to Spot I get the following error:
-2015, ‘Invalid API-key, IP, or permissions for action.’
Currently Im just connecting my real api and secret key to Spot and then switch to the test api and key when trying to place order. Why do I get error 2015 when trying to connect the test api and secret to Spot but not when Im trying to make a new order?