Launch of Kill Switch API
Effective April 10, 2026
We are introducing the Kill Switch API — a risk management feature that gives traders programmatic control to enable or disable specific trading segments. Built on top of the kill switch concept, these APIs help prevent impulsive or emotionally-driven trading decisions by letting users temporarily halt activity in one or more segments.
What's New?
Kill Switch API
- Description: Enables or disables one or more trading segments in a single request. When a segment is disabled, all open orders in that segment are cancelled and new orders are blocked.
- Documentation: Kill Switch
Kill Switch Status API
- Description: Retrieves the current kill switch status for all trading segments, indicating whether each segment is active and whether the kill switch is engaged.
- Documentation: Kill Switch Status
Key Behaviours
- All open positions in a segment must be closed before the segment can be disabled.
- All open orders in the segment are cancelled automatically when it is disabled.
- A 12-hour cooling period applies after disabling a segment — it cannot be re-enabled until the cooling period expires.
- If any segment in the request fails to update, none of the other segments in the same request will be updated.
How to Get Started
Refer to the documentation links above for detailed usage instructions, request parameters, and code examples. The APIs are available at the standard Upstox API endpoint https://api.upstox.com/v2/user/kill-switch.