Error while placing orders
-
Hi @admin
I see different responses for different posts on the same issue. On one post it's said as due to wrong variety parameter and on another post it was replied as due to invalid session. Please clarify on this as I'm facing the same error regularly.
-
HI @laxm
We have checked order placement and it's working properly. Request you to please review your code and order params.
-
@admin @administrators @admin123
Can someone reply on this?
-
Hi @admin, any update on this?
Today received the similar error again around 3:14 pm. This is not for a ROBO order, but an 'INTRADAY' order with variety as 'NORMAL'. Please see the below screenshot of error. -
@admin Faced the same issue again today. Please solve this issue as soon as possible.
-
Hi @admin, as stated earlier it doesn't work sometimes. Faced this issue again at 10:50AM today. Below is the error :
File "<string>", line 77, in <module>
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\smartapi\smartConnect.py", line 290, in placeOrder
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
TypeError: 'NoneType' object is not subscriptableBtw I'm using ROBO order.
After the error if I restart the order goes fine. Please let me know what else is required from my end. -
HI @laxm
We have checked order placement and it's working properly. Request you to please help us the the steps to re-produce the issue.
-
Faced the issue again today. Please see below error
Traceback (most recent call last):
File "<string>", line 79, in <module>
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\smartapi\smartConnect.py", line 290, in placeOrder
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
TypeError: 'NoneType' object is not subscriptable -
Hi @admin, even i am facing this issue since 16 Nov. When first time algo places order there is error, but when i restart & try again, It works fine
-
Hi @laxm
Please share more details about the issue.