Comment on Kite Connect APIs for programmatic access
This wouldn’t be possible, Jay. You see, even if there is an open square off order, a user may want to take a position in the opposite direction as well after squaring off. As such, this is something that the user will need to handle.