i see that there is a python api exit_order which is meant for exiting BO/CO orders. but i want to exit all the open positions together. what is the api for this purpose?
@sshiremath2000 There is no direct APIs for it.You need to find the open position, run a loop and place opposite transaction type order and market order type.
Kite Connect is purely an execution platform.
We don't provide solutions for writing strategies.
You need to loop through open positions and place market order of opposite transaction type.
There is no direct APIs for it.You need to find the open position, run a loop and place opposite transaction type order and market order type.
We don't provide solutions for writing strategies.
You need to loop through open positions and place market order of opposite transaction type.