How to cancel all pending orders ?

How can i get all the pending order id's and cancel them at a time ?
  • sujith
    Hi @revanth1425,
    You can fetch orderbook and filter all pending orders.
    All orders whose status are not CANCELLED, REJECTED, or COMPLETE are considered as pending and you can place cancel request on all these orders.
Sign In or Register to comment.