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.
Go to tradeguardhq.in → Register with your email. Free 4-day trial, no credit card required.
Log in to Upstox → My Account → Apps → Create a new app → Copy your API Key and Secret. This takes 2–3 minutes.
In TradeGuard dashboard → Broker Connect → Upstox → Enter your API Key → Complete the OAuth login with your Upstox credentials.
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).
Each morning click Start Monitoring before 9:15 AM. TradeGuard watches your Upstox account in real time throughout the session.
When a rule is breached, TradeGuard executes three actions on your Upstox account in sequence:
Any open GTT or pending orders in your Upstox account are cancelled immediately.
TradeGuard calls Upstox's bulk position exit API to close all open F&O and equity intraday positions at market price.
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.
Auto-stop when cumulative daily P&L crosses your loss threshold. Most important rule.
Stop trading on a winning day before you give it all back in the last hour.
Hard cap on order count — directly prevents overtrading patterns.
Auto-stop at 1:30 PM, 2:00 PM, or any time you trade worst.
Block Thursday expiry trading or any weekly day pattern.
Pre-lock high-volatility days: RBI policy, Budget, election results.
4-day free trial. No credit card. Real kill switch, not a browser block.