Hello, Im trying to send a batch order to “/fapi/v1/batchOrders”
but I keep getting this error complaining about the data. could u guys please tell me what’s wrong with my order knowing that when i post it as a single order to “/fapi/v1/order” it works
{‘code’: -1130, ‘msg’: “Data sent for parameter ‘batchOrders:[{‘symbol’: ‘DOGEUSDT’, ‘side’: ‘BUY’, ‘type’: ‘STOP’, ‘timeInForce’: ‘GTC’, ‘quantity’: ‘70’, ‘price’: ‘0.07596’, ‘stopPrice’: ‘0.07595’}]’ is not valid.”}
That’s my post request
https://fapi.binance.com/fapi/v1/batchOrders?batchOrders=[{‘symbol’:‘DOGEUSDT’,‘side’:‘BUY’,‘type’:‘STOP’,‘timeInForce’:‘GTC’,‘quantity’:‘70’,‘price’:‘0.07632’,‘stopPrice’:‘0.07631’}]×tamp=1673295895556&signature=
I tried sending multiple orders too but still the same problem.
Note: Im sending it using python .