On this page
Why algo trade on Upstox with QuantDesk?
Upstox algo trading with QuantDesk means you write your trading rules once (when to enter, which strike, the stop-loss, when to exit) and LiveDesk, our automated trading software, places the orders on your Upstox account via Upstox API, on time, every session. It removes late entries and missed exits. It does not remove market risk.
Upstox algo strategies in plain English
Straddles, strangles, iron condors, spreads and directional option buying: describe them in Claude, ChatGPT or QuantDesk AI. No coding.
Backtest before you trade
Test NIFTY, BANKNIFTY and SENSEX options strategies on real 1-minute option-chain data, with the full trade list.
Automated execution on Upstox
Entries, stop-losses, re-entries and square-off placed on time on your Upstox account via Upstox API.
Free paper trading
Run any strategy on live market prices without orders, for free, before you go live.
Telegram alerts
Optional alerts on your own Telegram bot for live entries, exits, fills, order errors and a daily summary.
Your money stays with Upstox
LiveDesk never holds funds. Orders go to your Upstox account with your own API keys.
Upstox on LiveDesk at a glance
| Connects through | Upstox API |
|---|---|
| Markets | NSE and BSE |
| Daily login | Automatic |
| Static IP | Required (exchange rule for API orders) |
| Paper trading | Free, no broker needed |
What you need
- An Upstox account with F&O enabled
- An API app at account.upstox.com/developer/apps (Upstox allows one per user), with TOTP enabled
- A static IP registered with Upstox. Exchange rules require API orders to come from a registered IP; LiveDesk can provide a dedicated one (how)
- A Google account to sign in to LiveDesk
Start Upstox algo trading in 7 steps
Tap Next to walk through it. The screen recordings are the real LiveDesk.
-
1Sign in to LiveDesk with Google
Open LiveDesk and continue with Google. Your account, Dashboard and free paper trading are ready in seconds. No broker is needed yet.
Open LiveDesk → Continue with Google.
-
2Get your static IP
Exchange rules require API orders to come from an IP registered with your broker. LiveDesk gives you a dedicated static IP for Upstox; you register it with Upstox in the next step.
Account menu → Static IP → pick the broker and period.
-
Upstox API Illustration
API keyAPI key of your Upstox appPIN••••••TOTP keybase32 secretCopy keys3Set up your Upstox API access
Create your API app at account.upstox.com/developer/apps and register your static IP in it. Enable TOTP in Upstox → My Account and keep the base32 secret key (not the 6-digit code).
-
4Add Upstox in LiveDesk
Paste the app’s API key, your 6-digit login PIN and the TOTP key. Keep the exchanges (NFO, BFO) your strategies trade. The card should show Active and the static IP as working ✓.
Brokers → + Add Broker → Upstox → Save.
-
5Describe your strategy in plain English
Tell Claude, ChatGPT or QuantDesk AI the rules: instrument, entry time, strikes, stop-loss and exit. QuantDesk backtests it on real 1-minute option-chain data and you save the version you like to My Strategies.
Try: “Sell the ATM NIFTY straddle at 09:20, 30% stop-loss on each leg, exit 15:15.”
-
6Paper trade it free
Deploy on Paper: LiveDesk runs the strategy on live prices without sending orders. Watch a few sessions and compare the results in Reports with your backtest.
My Strategies → Deploy → Paper.
-
7Go live on Upstox
With a LiveDesk plan, switch to Live Auto and orders go to your Upstox account. Start small. You can pause or exit any strategy from LiveDesk at any moment.
Deploy → Live Auto → broker Upstox.
Every field is explained, with pictures, in Connect your broker to LiveDesk.
Popular Upstox algo trading strategies
- NIFTY and BANKNIFTY short straddles and strangles
- Iron condors and credit spreads
- Expiry-day option selling strategies
- Directional option buying with indicator signals
- Stock options and equity strategies
Build any of them from a ready template or by describing it in Claude or ChatGPT, then backtest it before you paper trade.
Other brokers: Zerodha · Angel One · FYERS · IIFL · Nirmal Bang · Sachdeva Stocks · Kotak Neo · Tradier · all brokers
Frequently asked questions
Is Upstox supported for algo trading on QuantDesk?
Yes. LiveDesk connects to Upstox via Upstox API. You paper trade free, then go live on your own Upstox account with a LiveDesk plan.
Can I trade MCX commodities on Upstox with LiveDesk?
No. Upstox has switched off MCX orders through its API, so Upstox accounts run NSE and BSE strategies only. For MCX, connect another supported broker.
Why do I need a static IP?
Exchange rules for retail API trading require orders to come from an IP address registered with your broker. LiveDesk can provide a dedicated static IP and connects your Upstox account to it when you save.
Do I need coding skills?
No. You describe the rules in plain English, or start from a template. QuantDesk turns them into a strategy you can backtest and run.
Is my money held by QuantDesk?
No. Your money and positions stay in your Upstox account. LiveDesk only places the orders your strategy asks for, using your own API access.
QuantDesk provides research and educational tools only. We are not SEBI-registered investment advisers. Backtested results do not guarantee future performance. Claude, ChatGPT and the broker names are trademarks of their owners. QuantDesk is independent and not endorsed by them.