How to check if an order modification is succesful?

sutolani@gmail.com
For eg, is the status in Orders is "TRIGGER PENDING", if I modify the order, the status rapidly changes to Modify Validation Pending, ModifyP Pendind, Modified, and Trigger Pending' , before I can use the "MODIFIED" status to complete the transaction. Also, there is a modified filed in orders ("true", "false") but I cant make true to false and initiate the order and use it for checking......
  • sujith
    One way is to fetch orderbook after one or two seconds and check if the requested parameter is updated or not, if not updated then the status_message field will have the reason.
    Another way is to fetch order history and check.
Sign In or Register to comment.