Hi Friend’s ,
I am getting below error from fyers api order placement ,
{‘s’: ‘error’, ‘code’: -174, ‘message’: ‘RMS:2220711357064:NSE OPTIDX 43643 BANKNIFTY-14Jul2022-35900.0000-CE MARGIN 2022-07-14 00:00:00 XD07988 S 125 M 94.15 MARGIN ORDER NOT ALLOWED (CLIENT LEVEL)’, ‘id’: ‘2220711357064’}
This is positional option sell .
Can any one help.
Data for order as below.
data = {
"symbol":shortfivelot, #
"qty":25*lot,
"type":2,
"side":-1, # 1 for buy and -1 for selling
"productType":"MARGIN",
"limitPrice":0,
"stopPrice":0,
"validity":"DAY",
"disclosedQty":0,
"offlineOrder":"False",
"stopLoss":0,
"takeProfit":0
}
order = fyers.place_order(data)
Thanks You .