ok.. i get where the issue is..
the order in which i'm getting the "order updates" are not correct.
as i see my log, i can see that order "complete" status comes first and then the order "update" status comes.. here my data is getting overriden by …
i'm placing MIS orders in a loop and i'm making my thread to wait 1 second before placing another order.
Eg:
today morning i have placed 3 orders
out of which 2 got placed and executed but one got cancelled automatically.
see history below..
09:…