It’s possible, but I don’t see the usecase. If it’s for someone’s bot to stop trading, the bot can just stop trading based on conditions. It doesn’t have to enable kill switch.
Also, via API, the whole Yes/No/Warning/I agree confirmation goes away. Someone while testing accidentally calls the API, they get locked out. Not ideal, although technically feasible.
For system traders, as Kailash rightly said, bots just follow rules — exit when PnL hits a threshold and call it a day. So the kill switch isn’t really needed in those cases.
But for many manual traders — especially those trying to stay disciplined — the issue comes after square-off. Even when a loss-limit is hit and positions are exited, the door to re-enter remains open. And that’s where most of the damage happens — due to impulse, frustration, or just the urge to recover.
The kill switch is the only hard stop that prevents this. You were the first to introduce this feature in India — and it’s helped many already — but if possible, please consider allowing programmatic access too.
I completely understand the concern around bypassing Console confirmations via API. But if there’s a way to allow it with clear consent or a developer-level flag, it would be a big help — especially for those trying to protect capital from their own behaviour.
Appreciate everything you and the team continue to do for the community.
@nithin please bring kill switch auto activate after a limit of trades set by user before market begin , after that only exit is allowed but no new trade enter after that certain no of trades .
Means kill switch based on max no (entry only ) of trades per day . Please
if you are not able to implement the daily loss limit feature for each trade, for now, atleast, provide the no.of lots limit for each trade, which the trader can design before the trade opens, also provide the limit feature for no.of orders. This should serve 50% of the purpose for daily loss limit. You can charge the client for this, you will receive an overwhelming response 100%
Atleast you can have daily limit feature for the clients who personally ask you, instead of the system scanning 1000’s of accounts. May be only, once in a month they can change their daily loss limit. Now the system needs to scan only few accounts. You can keep your practical difficulties in the clause for the client to sign that Zerodha will not be responsible for the glitches. Also you can charge the client for this feature, if it requires more cost, clients will be happy to take it. Expecting your reply!