Cover order Square off

Ashok121
I need to know code/command for square off of cover order In python.
Tagged:
  • sujith
    You need to loop through positions and place a market order with opposite transaction type with the same product to square off a position.
Sign In or Register to comment.