Angel One Algo Trading — Automate Your Strategies | Tradetron
Angel One + Tradetron

Automate Your
Angel One Trading

To automate trading on Angel One, create a SmartAPI app (sign in with New Login) using Tradetron's redirect URLs and your Tradetron virtual server address, then enter your Client ID, MPIN, API key and a TOTP in Tradetron and deploy a strategy. Tradetron places the orders through Angel One's SmartAPI, and you write no code. Each trading day you generate a fresh token from Tradetron with a new TOTP.

Start Free — Connect Angel One

Free forever plan available.

29,000+ traders run strategies on Angel One via Tradetron
Angel One algo trading with Tradetron
Step by step

How to automate trading on Angel One

Set it up once with these steps, in this order. Field names follow the Angel One connection form on Broker & Exchanges.

  1. Add Angel One on Tradetron

    On Broker & Exchanges, click Add Broker, pick Angel One and save with placeholder details for now. This unlocks Enable virtual server.

  2. Enable a virtual server

    On the broker's edit page, click Enable virtual server and pick a plan (from Rs 100 a month + GST). Tradetron emails you the server's address; Angel One accepts API orders only from an address you register with it.

  3. Open SmartAPI with New Login

    Go to smartapi.angelbroking.com, sign in with New Login (not Login), then click + ADD APP.

  4. Create the app

    Name it Tradetron, enter the Redirect and Postback URLs from Tradetron's Angel One setup page (tradetron.tech/html-view/Configure-AngelOne), paste the virtual server's address into the primary IP field and submit. Note the API key.

  5. Enter your details in Tradetron

    On Broker & Exchanges, enter your Angel One Client ID as User ID, your MPIN as Password, the API key, and the current TOTP from your authenticator app. Leave token and refresh_token blank.

  6. Generate the token

    Save, then click Generate Token.

  7. Deploy a strategy

    Build a strategy in the no-code builder or pick one from the marketplace, choose Angel One as the broker and deploy. Live Offline runs it on live prices and shows each signal without placing an order; Live Auto places the orders at Angel One.

Every trading day. Before you trade each day, enter a fresh TOTP and generate the token on Broker & Exchanges. Each TOTP is valid for about 30 seconds.

Why the virtual server. Under SEBI's framework for retail algo trading, every Indian broker accepts API orders only from an address registered with it (all brokers from 1 April 2026). Your strategies run on Tradetron's servers, so the address Angel One needs is your virtual server's, never your home or office address.

Updated 24 Oct 2026. Steps follow Tradetron's Angel One connection guide; broker screens can change, and the guide has the current labels. Trading in securities and derivatives carries a risk of loss. Tradetron is a software platform, not an investment adviser, and does not tell you what to trade. A backtest shows how rules behaved on past data and is not a forecast.

How it works

Three steps to automated trading

Set up once. Trade forever. Here's how to get your Angel One account running on autopilot.

1

Build your strategy

Use Tradetron's no-code builder to create entry/exit rules, position sizing, and stop-loss logic — no programming needed.

2

Connect Angel One

Link your Angel One account in minutes. One-time setup, then Tradetron handles order placement automatically.

3

Trade on autopilot

Your strategy runs through market hours — scanning signals, placing orders, and managing risk while you focus on what matters.

Why Tradetron

Built for serious Angel One traders

Trade the segments you need, with the reliability professional traders demand.

✓
Supports Equity, F&O, Commodity Trade across all asset classes available on Angel One.
✓
Reliable order execution Orders placed directly through Angel One's official API.
✓
No coding required Build complex strategies with conditions, scanners, and risk management — all visual.
✓
See every signal before you go live In Live Offline, Tradetron runs your strategy on live prices and shows you each signal. It places no order; you may place the trade yourself at your broker.
✓
Switch brokers without rebuilding Your strategy logic stays intact when you switch — connect a different broker without starting over.
✓
Marketplace of 1,000+ strategies Subscribe to strategies built by creators and deploy them in a few clicks.
Getting connected

How to connect Angel One

One-time setup

Link your account

Enable a Tradetron virtual server, create a SmartAPI app (New Login) with Tradetron's redirect URLs and the server's address, then enter your Angel One Client ID, MPIN, API key and TOTP in Tradetron.

Setup once
Daily login

Refresh your session

Each trading day, enter a fresh TOTP and click Generate Token in Tradetron, within the TOTP's ~30-second window.

Takes ~30 seconds

☀ Your trading day, automated

🔑
8:30 AMRefresh token (30s)
⚙️
9:15 AMMarket opens
📈
All dayStrategies run
✓
Market closeYou stay in control

A few things to know about Angel One

  • Register your Tradetron virtual server's address on your SmartAPI app; an unregistered address is the most common Angel One order error.
  • Client ID goes in User ID and your MPIN in Password, not your trading password.
  • Sign in to SmartAPI with New Login, not Login, to create the app.

Need step-by-step guidance? Read the Angel One connection guide →

FAQ

Common questions about
Angel One algo trading

Do I need to know how to code?

No. Tradetron's builder is fully no-code; you can also deploy ready-made strategies from the marketplace in a few clicks.

Is automated trading allowed on Angel One?

Yes. Tradetron connects through Angel One's official API. You stay in full control of your account and funds.

Why do I need to log in to my broker every day?

Under the exchange rules for retail algo trading, every broker API session is logged out each day before the next trading day begins. So each broker asks you to log in again, or generate a new token, before you trade. It is not a Tradetron limit.

Can I try it before paying?

Yes. Tradetron is free to start — sign up with your email, build a strategy, and paper trade at no cost.

How do I set up algo trading with Angel One?

Enable a Tradetron virtual server, create a SmartAPI app (sign in with New Login) with Tradetron's redirect URLs and the virtual server's address, then enter your Angel One Client ID, MPIN, API key and a current TOTP on Tradetron's Broker & Exchanges page and click Generate Token. Deploy a strategy with Angel One as the broker; Tradetron places the orders through SmartAPI.

What is the TOTP for when I connect Angel One?

Angel One's SmartAPI uses a time-based code from your authenticator app as a second factor. Enter a current one when you save the connection and each day when you generate the token; each code is valid for about 30 seconds.

What goes in the User ID and Password fields for Angel One?

Your Angel One Client ID goes in User ID and your MPIN goes in Password, not your trading password. Leave token and refresh_token blank; they fill in when you click Generate Token.

How do I fix 'Access denied: Unregistered IP address' on Angel One?

It means the address registered on your SmartAPI app is missing or different. Check it matches the virtual server address in Tradetron's email. Then log out of the Angel One app and website, open Tradetron in an incognito window, clear the token, TOTP and refresh_token fields, save with a fresh TOTP twice, generate the token and redeploy.

Can I backtest a strategy before running it on Angel One?

Yes. Any Tradetron strategy can be backtested on 1-minute NSE and NFO history from January 2020 before you deploy it on Angel One. A backtest shows how the rules behaved on past data; it is not a forecast. See tradetron.tech/backtest/nifty-options.

Ready to automate your Angel One trades?

Join thousands of traders who run their strategies on autopilot with Tradetron.

Get Started Free