How to Close All Positions at 3pm....

varaprasady
I am able to place orders at morning session.around 40 positions will be generated .... now how can i close all at once by .net api coding...
  • sujith
    Hi @varaprasady,
    You need to write a loop and place market order of opposite transaction type and the same product type for regular orders.
    For bracket and cover order, you need to do something like this.
Sign In or Register to comment.