HomeKill Switch › Best for Brokers
KILL SWITCH · DHAN · ZERODHA · UPSTOX · 2026

BEST KILL SWITCH
DHAN · ZERODHA · UPSTOX

What is the best automatic kill switch for F&O traders on India's top brokers? This guide covers which tools exist, how they work with each broker, and which is most reliable for Dhan, Zerodha, and Upstox accounts.

KILL SWITCH SUPPORT
BY BROKER

✓ LIVE

Dhan Kill Switch

TradeGuard connects to Dhan using your Client ID + daily Access Token. Monitors P&L via WebSocket (real-time order updates) + polling every 5 seconds. When rules breach, fires the Dhan kill switch API endpoint twice for maximum reliability. Double-fire is specific to Dhan because Upstox/Zerodha would create reverse positions with a double call.

✓ LIVE

Zerodha Kill Switch

Connects via Kite Connect v3 OAuth — you log in with your Zerodha credentials through Kite's official login page. TradeGuard gets a daily access token. Kill switch fires once (cancels pending orders, squares off open positions). After firing, re-square loop checks every 5 seconds until 3:30 PM IST for any positions opened after the lock.

✓ LIVE

Upstox Kill Switch

OAuth2 login flow — one-click through Upstox's official authorization page. Kill switch fires once (cancel all + square off). Re-square loop every 5 seconds after firing. Orders placed by TradeGuard are tagged `tg_ks` so the bypass monitor can distinguish TradeGuard orders from user-placed orders.

FEATURE COMPARISON
ACROSS BROKERS

FeatureDhanZerodhaUpstox
Kill switch firesTwiceOnce + re-squareOnce + re-square
P&L update frequencyWebSocket + 5s poll5s polling5s polling
Connection methodClient ID + tokenOAuth2 (Kite)OAuth2
Daily login requiredYes (broker policy)Yes (broker policy)Yes (broker policy)
Bypass detection30s re-fire check5s re-square loop5s re-square loop
All 6 rule types

ONE TOOL.
ALL THREE BROKERS.

4-day free trial, no card needed. Switch brokers any time.

FAQ

All three brokers — Dhan, Zerodha, and Upstox — have reliable kill switch APIs. Dhan gets the highest reliability score from TradeGuard because we fire twice. For Zerodha and Upstox, the re-square loop (running every 5 seconds until market close) catches any positions that were re-opened after the initial kill switch.
TradeGuard operates on one broker per account. If you trade on multiple brokers, you would need separate accounts for each broker. Each account's 4-day trial is independent — so you can trial TradeGuard on Dhan and then again on Zerodha with a separate account.
This is a broker security policy, not a TradeGuard limitation. Dhan, Zerodha, and Upstox all issue API tokens that expire at the end of each trading day. You must refresh the token daily — for Dhan by entering your access token, for Zerodha and Upstox by clicking "Login with Broker" in the TradeGuard dashboard.