Thank you. In this list also I can see IDEA is allowed in CO, but IDEA was not allowed. I understand, it is updated manually, so sometimes the difference can occur.
But usually, are MIS and CO allowed stocks the same 99% of the time?
This is a bit roundabout @KamalChhirang, Sorry if this doesn't help.
Have a function that reads the status messages everytime a order has failed and use regex to automatically segregate the likes of CO/MIS being blocked. Add this to a list and avoid trading in that mode/stock(if both CO/MIS are blocked).
This helps you reduce the manual labour. You can extend this to all error messages and save time.
But usually, are MIS and CO allowed stocks the same 99% of the time?
Have a function that reads the status messages everytime a order has failed and use regex to automatically segregate the likes of CO/MIS being blocked. Add this to a list and avoid trading in that mode/stock(if both CO/MIS are blocked).
This helps you reduce the manual labour. You can extend this to all error messages and save time.