data = {
"symbol":['NSE:SBIN23MARFUT'],
"qty":1,
"type":2,
"side":1,
"productType":"MARGIN",
"limitPrice":0,
"stopPrice":0,
"validity":"DAY",
"disclosedQty":0,
"offlineOrder":"False",
"stopLoss":0,
"takeProfit":0
}
fyers.place_order(data)
# print("order placed at " , ltp)
on running this code we get an error
{‘s’: ‘error’, ‘code’: -304, ‘message’: ‘Invalid exchange’, ‘id’: ‘’}
How to resolve this error as ,it is basic order placement code of apiv2 of fyers