DHAN API-Exit_Time-based automatic exit

Dhan API currently does not appear to provide a native scheduled/Exit_Time-based automatic exit order… i want to pass exit_time in my python code which will trigger all my exiting positions closed. Exit_Time-based automatic exit i want this to work same like P&L-based automatic exit — broker-side, once profit/loss thresholds are breached.

Hello @DeepakC ,

Currently, there is no direct API endpoint available for Exit Time-based automatic position closure.

However, you can implement the same functionality within your Python code logic by defining an Exit_Time and configuring your application to trigger the exit orders at the specified time.

This can be implemented as part of your strategy logic, similar to how you would handle P&L-based exit conditions.