HomeUpstox Kill Switch › Daily Loss Limit
UPSTOX · DAILY LOSS LIMIT · F&O PROTECTION

UPSTOX DAILY
LOSS LIMIT

Upstox Pro has no built-in daily loss limit. TradeGuard connects via the official Upstox API and fires an automatic kill switch when your daily F&O losses hit your preset amount. Works silently in the background — no action needed from you.

Upstox is one of India's most popular discount brokers for F&O trading — zero brokerage on delivery, flat fee on F&O, clean Pro platform. But like Zerodha and Dhan, Upstox has no account-level circuit breaker that halts all trading when daily losses exceed a threshold. TradeGuard adds that protection via the Upstox v2 API.

Once connected, TradeGuard polls your Upstox account every 5 seconds for real-time P&L. When your total loss for the day hits the amount you set, TradeGuard cancels all pending Upstox orders and squares off open F&O positions. A bypass monitor then runs every 5 seconds until 3:30 PM IST to ensure no new positions can remain open.

HOW TO ADD A DAILY
LOSS LIMIT TO UPSTOX

1

Register on TradeGuard — select Upstox

Free 4-day trial. No credit card. Select Upstox during registration.

2

Connect via Upstox OAuth

Click Connect Upstox in your dashboard. A secure Upstox login popup appears. Log in — TradeGuard gets an access token, not your password.

3

Set your daily loss limit

Enable Daily Loss Limit in the Kill Switch Rules section. Enter your amount — ₹5,000 to ₹50,000 or any number that suits your capital.

4

Start session each morning

Click Start Monitoring before market opens. Trade in Upstox Pro normally. TradeGuard monitors in the background and fires if needed.

UPSTOX BYPASS
PREVENTION

After the kill switch fires on your Upstox account, TradeGuard's re-square loop activates. Every 5 seconds, it checks if new positions have been opened in your Upstox account. If they have, it squares them off immediately. This loop runs from kill switch fire until 3:30 PM IST — market close.

The re-square orders are internally tagged (as tg_ks) so TradeGuard can distinguish its own orders from yours — no feedback loop, no infinite square-off cycle.

UPSTOX LOSS LIMIT
SET IN MINUTES.

Free 4-day trial. No card. Works live with Upstox today.

FAQ

Upstox Pro does not have an account-level daily loss limit that automatically halts all F&O trading. TradeGuard adds this via the official Upstox v2 API — monitoring every 5 seconds and firing a kill switch when your daily loss crosses your preset amount.
Yes. When the daily loss limit is hit, TradeGuard cancels all pending orders and squares off all open F&O positions via the Upstox API. A re-square loop then runs every 5 seconds until 3:30 PM to prevent bypass.
Yes — Upstox access tokens expire daily per SEBI regulations. Each morning, click Connect Upstox in TradeGuard to refresh the token (takes 30 seconds via OAuth). After reconnecting, start your monitoring session for the day.