TypeError: 'NoneType' object is not subscriptable only for NFO orders
-
I am getting below error while placing the order for "NFO" while the same works if the exchange is set to "NSE".
It fails in "smartConnect.py", in placeOrder,
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']"
"TypeError: 'NoneType' object is not subscriptable"
Looks like some bug with the smartConnect.py.Please suggest any workaround to get it work for NFO as well.
-
Hi @Keshav12131
Apologies for delayed response.
We have fixed the 'NoneType' error from our end. Please use the recent SDK and let us if any issue occursThanks & Regards,
SmartAPI team