Unable to place order: Order placement failed: 'NoneType' object is not subscriptable
-
Hi,
Unable to place order through API, other APIs work. However able to place an order through web platform.
Client ID :P479104
Please advice.
"Order placement failed: 'NoneType' object is not subscriptable"
Illustrative orderparams:
orderparams = {
"variety": "AMO",
"tradingsymbol": "CRUDEOIL21NOV630000PE",
"symboltoken": "233501",
"transactiontype": "BUY",
"exchange": "NFO",
"ordertype": "MARKET",
"producttype": "CARRYFORWARD",
"duration": "IOC",
"price": "0",
"squareoff": "0",
"stoploss": "0",
"quantity": 50 #quantity #lot size CRUDE 100, NIFTY 50
}Tried with Normal, Day options as well, during the trading hours.
-
Hi @prasan Kindly try now and update.
-
@admin Tried again, getting the same response. "Order placement failed: 'NoneType' object is not subscriptable"
-
Hi @admin tried again, it worked now. Thanks