Hi @HowUTrade ,
I could see few methods Upstox.CancelSimpleOrder Method (String) , Upstox.CancelSimpleOrder Method (String) which I think are used to square off positions for a given set of orders.Is there any other method that squares off w/o checking for any orderd id.
Sorry for the inconvenience caused. Tomorrow, there won't be any changes at our end. You can run your strategies without any disruption. We will update you through notification if there is any change in the sdk.
@Global-Moderators@shrini-viswanath : Seems Your team does not have basic unit tests in place. Cancel order is basic functionality. If it helps, I am a small trader doing around or more than 1Cr intraday turnover using API in equity market which is FULLY automated. It scares me when such basic functionality stops working and I could not trade on Friday because of this error and a profitable day wasted on my side. Advise me if I should not trade with that turnover using API.