Square Off ALL Positions (v2 API) with Index Watch

HIGH RISK ACTION! This attempts to cancel all open orders AND place new LIMIT orders to close all net positions. This can be triggered manually or automatically when the selected Index reaches a target.

Relies on potentially delayed LTP. Execution is not guaranteed. Verify v2 endpoints/parameters and **ensure correct Instrument Keys for indices**.


Access Token Status: Checking...

General Configuration

Offset from LTP used for LIMIT orders. SELL orders placed at `LTP - Offset`, BUY orders placed at `LTP + Offset` to improve fill chance for closing positions.

Index Target Watch & Auto Square-Off

This feature will monitor the selected index and automatically trigger the full square-off process if the target price is met.

Index Watch Status: Idle
Current Index Price: N/A

Manual Square Off

Action logs will appear here...