HomeBlog › Upstox Kill Switch Guide
UPSTOX · KILL SWITCH · GUIDE · F&O

UPSTOX
KILL SWITCH GUIDE

Upstox has no built-in daily loss limit or kill switch. Here's how to set one up in under 5 minutes using TradeGuard — with automatic squareoff of F&O positions when your rules are breached.

Upstox is one of India's fastest-growing brokers — clean interface, low brokerage, strong options chain. But like every Indian broker app, Upstox has no built-in kill switch that stops you when you've hit your daily loss limit, hit your profit target, or traded too many times.

That gap is exactly what SEBI's data highlights: 91% of retail F&O traders lost money in FY25, with average losses of ₹1.1 lakh per year. Most of those losses came from a handful of bad sessions where traders kept going after the first loss. A hard kill switch changes that pattern permanently.

TradeGuard fills the gap — it integrates with Upstox via the official Upstox API and fires a real kill switch when your rules are breached. Here's how to set it up.

STEP-BY-STEP SETUP:
UPSTOX KILL SWITCH

1

Register on TradeGuard

Go to tradeguardhq.in → Register with your email. Free 4-day trial, no credit card required.

2

Generate Upstox API credentials

Log in to Upstox → My Account → Apps → Create a new app → Copy your API Key and Secret. This takes 2–3 minutes.

3

Connect Upstox to TradeGuard

In TradeGuard dashboard → Broker Connect → Upstox → Enter your API Key → Complete the OAuth login with your Upstox credentials.

4

Set your kill switch rules

Configure at least one rule: daily loss limit (e.g. ₹5,000), profit target (e.g. ₹8,000), max trades per day (e.g. 10), or a time-based stop (e.g. 2:00 PM).

5

Start monitoring before market open

Each morning click Start Monitoring before 9:15 AM. TradeGuard watches your Upstox account in real time throughout the session.

HOW TRADEGUARD'S
UPSTOX KILL SWITCH WORKS

When a rule is breached, TradeGuard executes three actions on your Upstox account in sequence:

1

Cancel all pending orders

Any open GTT or pending orders in your Upstox account are cancelled immediately.

2

Bulk exit all positions

TradeGuard calls Upstox's bulk position exit API to close all open F&O and equity intraday positions at market price.

3

Disable trading segments

Equity, F&O, commodity, and currency segments are disabled in your Upstox account for the rest of the day.

After the kill switch fires, a bypass monitor runs every 5 seconds until 3:30 PM IST. If new positions appear in your account, TradeGuard detects them and re-fires the squareoff.

UPSTOX KILL SWITCH RULES
YOU CAN SET

Daily Loss Limit

Auto-stop when cumulative daily P&L crosses your loss threshold. Most important rule.

Profit Target

Stop trading on a winning day before you give it all back in the last hour.

Max Trades Per Day

Hard cap on order count — directly prevents overtrading patterns.

Time-Based Stop

Auto-stop at 1:30 PM, 2:00 PM, or any time you trade worst.

Day-Based Block

Block Thursday expiry trading or any weekly day pattern.

Specific Date Lock

Pre-lock high-volatility days: RBI policy, Budget, election results.

CONNECT UPSTOX
IN 5 MINUTES.

4-day free trial. No credit card. Real kill switch, not a browser block.

FAQ

No. As of 2026, Upstox does not have a built-in daily loss limit or kill switch feature. TradeGuard provides this via the official Upstox API.
No. TradeGuard uses Upstox's official OAuth flow. You log in to Upstox directly — TradeGuard receives an access token that allows monitoring and order execution, not your password. You can revoke access from Upstox at any time.
TradeGuard runs a bypass monitor every 5 seconds after the kill switch fires. If new positions appear in your Upstox account, TradeGuard detects them and re-fires the squareoff. This continues until 3:30 PM IST market close.
Upstox access tokens expire at 3:30 AM IST daily. TradeGuard detects expired tokens and prompts you to reconnect each morning before market hours.