Order Placement : 'NoneType' object is not subscriptable
-
I tried placing order through a loop to multiple account and all accounts I could login without issue, when I was placing order after 10 mins to those accounts in the same session, for one of the account it gave exception as 'NoneType' object is not subscriptable. I have been using the same code for more than a week and today for the first time it has given exception for 1 client account otherwise same code was able to login and place orders for all accounts. any suggestion on how to avoid it??
-
@AmazeAlgos I further investigated on this and find that this error is returned from place order function. when the order was placed at the server, it was not returning any response and thrown this exception. but after a second the order got executed in the account and order ID got generated. is there a option to look at single order history to see when the order was placed and when it got executed