Angel One API Algo Trading

Angel One API algo trading is software that runs your rules against your own Angel One account through SmartAPI. We can write it for your exact requirement, so that Telegram, WhatsApp, Discord, TradingView or logic of your own drives it. Or you can start with one of our ready-made copiers.

You run the software on your own PC or VPS, under your own SmartAPI keys. Writing it yourself? Our Angel One SmartAPI Python tutorial covers login, data and a first order. AlgoDevelop is a software developer, not a SEBI-registered intermediary. We don’t give signals or advice, and we never place trades or handle your funds.

How Angel One API algo trading works

Each trading day the software logs in to SmartAPI with your credentials, then sends an order whenever one of your rules fires. Everything appears in your normal order book. We build it and you run it, so your funds and your login stay yours.

Angel One API algo trading: a signal or TradingView alert passes your rules and reaches SmartAPI as a limit order in your own account
The whole path. A signal or alert arrives, your rules and limits check it, and only then does a limit order go to SmartAPI and into your own order book.

Why free SmartAPI matters for Angel One API algo trading

Angel One says SmartAPI is free, while some Indian brokers charge for API access; Groww’s Trading API, for example, needs a paid subscription. Check the current position in the SmartAPI documentation rather than take this page’s word for it. For now, the cost is the software, with no recurring API fee.

Having no recurring API fee matters most for smaller accounts and for anyone testing an idea. A strategy that wouldn’t justify a monthly API bill can still suit Angel One API algo trading, because a custom build is paid for once.

What the Indian copiers already handle at Angel One

Not every job needs custom code. Two of our ready-made apps already trade Angel One through SmartAPI, along with nine other Indian brokers. The Telegram to Indian broker copier turns the calls in your channels into orders. The TradingView to Indian broker copier does the same for your TradingView alerts.

For an Angel One account, both of them handle the awkward parts:

Both copiers trade options and shares, with a share going to NSE first and to BSE only when NSE has no match. A futures signal is refused, so futures need a custom build.

Your SmartAPI key, MPIN and TOTP secret stay on your PC, and TradingView alerts come straight to it. The Telegram copier does send the text of messages from the chats you select to the AI service set in the app, to turn them into orders; it does not copy them to our website. Our privacy policy lists what the apps send.

Channels page of the Indian Telegram copier with one sample channel switched on, so its calls can reach an Angel One account
The Channels page of the ready-made Telegram copier. Switch on the channels whose calls should reach your Angel One account, and leave the rest off.

Custom rules, written as plain requirements

For custom work, you describe what should happen, and that is what we write.

The requirements people bring are ordinary sentences. Only trade the first hour. Skip the next signal after a loss. Use a different quantity per index. Stop for the day after three losing trades. Message me on Telegram whenever anything happens. Each of those goes into the specification as you state it.

Say the requirement, and we will tell you whether SmartAPI supports it before you commit.

Signal sources for a custom SmartAPI build

The software runs on whichever source you use:

Run several together if that is how you trade. For example, one source can trade options while another trades shares, each with its own quantity and limits.

How the TOTP sign-in works

SmartAPI’s login uses your client code, your MPIN and a TOTP, the six-digit code from your authenticator app. Angel One’s docs say a session lasts until 12 midnight, so each trading day starts with a fresh sign-in, as NSE’s daily-logout rule also requires.

The app makes the code itself from your 2FA secret, so it signs in without you, and the secret never leaves your machine. Without that, you’d type a code into a terminal at 9:10 every morning, which is not automation.

Angel One checks each code against its own clock, and a Windows clock can drift. The app therefore also tries the 30-second window on either side, then tells you to switch on Windows time sync instead of failing all day. If Angel One still refuses the login, the app says so at once rather than going quiet.

How the app signs in to Angel One SmartAPI: client code and MPIN, a TOTP made on your PC, a session, and a fresh sign-in if it ends early
The Angel One sign-in. Save your client code, MPIN and 2FA secret once, and the app makes each TOTP code and signs in again if a session ends early.

Angel One API algo trading: static IP and no market orders

SEBI’s framework for retail algo trading has applied to every broker since 1 April 2026, the date set in its circular of 30 September 2025. Under it, Angel One takes API orders only from a static IP that you register in the SmartAPI dashboard: Add App, then Primary Static IP, with an optional secondary. NSE’s implementation standards (NSE/INVG/67858) let you change it at most once a calendar week. A home connection whose address keeps changing won’t do; a VPS with a fixed IP will, and so will a static IP from your internet provider.

Angel One’s notice on SmartAPI access from 1 April 2026 also bans market and IOC orders for algos. The copiers therefore turn every market signal into a protective limit order with DAY validity, and a stop goes as a stop-limit order. If Angel One ever refuses an order over your IP, the app adds a reminder to register it.

The Dashboard shows the address Angel One sees, with a Copy button. If that address changes, the app warns you, because Angel One refuses orders from an IP it does not know.

Dashboard of the Indian Telegram copier with the static IP band and Copy button, showing the address to enter in the SmartAPI dashboard
The Dashboard. Copy the address in the static IP band and register it in your SmartAPI dashboard before the first live order.

Matching an option to Angel One’s scrip master

Cash equity needs a symbol and a quantity. Options need much more, and most Angel One API algo trading requests we get are for options.

“NIFTY 24600 CE” has to become one specific token. That means the right strike, the right weekly or monthly expiry and the exact symbol in Angel One’s instrument list. Those change at every expiry, so software with hard-coded symbols works until the next expiry and then stops.

The copiers download Angel One’s scrip master for this reason and reload it every six hours. The file gives strikes and tick sizes in paise, and the app converts them, so 2450000 reads as a strike of 24500. With no expiry named, it takes the nearest one that has not passed. A custom build does the same for futures and MCX.

WebSocket prices and SmartAPI rate limits

SmartAPI also offers a WebSocket feed for live market data. That is what a strategy watching intraday movement needs, because polling for prices burns your rate limit and arrives late.

NSE treats anything above 10 orders a second per exchange segment as an algo that must be registered. A strategy that needs more is designed around batching or fewer legs.

Broker limits on this page checked against Angel One’s docs on 4 Nov 2026.

INTRADAY, DELIVERY, CARRYFORWARD and your own square-off

SmartAPI has its own product names, and the app uses Angel One’s words, not Zerodha’s. INTRADAY is intraday. DELIVERY is delivery for shares, while CARRYFORWARD carries an F&O position. Sending DELIVERY on an option would fail, so the app picks the right one for each contract.

Add your own square-off time, and the app squares off what is still open at that minute. That happens before Angel One’s own auto square-off runs at its time. If you carry positions overnight, simply leave the time blank.

Guards on each Angel One account

Both copiers carry these guards on each account:

Custom builds can also carry a daily loss cap, a daily profit target and allowed instruments and hours. Those extra guards stay off until you switch them on. Either way, every refusal goes into the log with its reason.

Checklist of guards on an Angel One account: order, lot, rupee and position caps, protective limit orders and a kill switch
The guards on each Angel One account. Start with low caps, then raise them once a full day of logs looks the way you expected.

Angel One’s notice says retail algos must be hosted on the broker’s server. The one exception is clients who own the logic and run it from their own registered static IP. It also says black-box algo providers must register as Research Analysts. Angel One API algo trading software built to your specification and run from your own PC or VPS, IP and SmartAPI key is meant for that exception, which NSE’s standards call a client-generated algo. Strategies sold or run by a provider follow different rules.

Running it for others falls under SEBI’s rules in India. We write the software and stop there: AlgoDevelop isn’t your broker, adviser or fund manager, and it doesn’t sell tips or operate the app for you. You make the decisions, and you handle any registration your use may need. Before you trade for anyone else, read whether copy trading is legal in India.

From a WhatsApp message to the first live order

  1. Describe the requirement; a WhatsApp message is enough.
  2. We scope your Angel One API algo trading build against SmartAPI and quote a fixed price.
  3. You register the SmartAPI app and keep the credentials. You also register your static IP there.
  4. Run a session with trading switched off, or in Paper mode with a ready-made copier, and read the log.
  5. Go live small, then scale once the log matches what you expected.

Trading more than one broker? We build the same for Zerodha, Upstox, Fyers, Dhan and Kotak Neo, and multi-broker copy trading drives them together. When you are ready, ask for a quote.

Common questions on Angel One API algo trading

Is SmartAPI free for Angel One API algo trading?

Yes. Angel One lists SmartAPI as free of cost, so there is no API subscription. Normal brokerage and charges still apply to each order.

Is there a ready-made Angel One bot?

Yes, two, and each app’s page has a download form for a free trial. Futures, or anything else they don’t cover, needs a custom build.

Can it take signals from Telegram, WhatsApp or Discord?

The ready-made copiers take Telegram calls and TradingView alerts. A custom build can also read WhatsApp and Discord, run rules of its own or take a manual trigger, and several sources can run together.

How does the TOTP login work?

The app stores the secret behind your 2FA and makes each six-digit code from it at sign-in. Because a SmartAPI session ends at midnight, that happens once each trading day without you.

What if the session ends during the day?

The app recognises Angel One’s “session expired” codes, starts a fresh session and retries once. That retry is safe, because Angel One refuses a dead session before the order reaches the book.

Why will it not send a market order?

Because SmartAPI would reject it. A protective limit is priced a little beyond the signal level, so in a fast move it can stay unfilled, and the journal shows that.

Why does Angel One need my static IP?

SmartAPI checks the source IP of every place, modify and cancel request against the static IP you registered. Below 10 orders a second, NSE doesn’t require the algo itself to be registered, but the IP rule still applies.

Can it trade options like BANKNIFTY 52000 CE?

The app can trade BANKNIFTY options. The scrip master lists BANKNIFTY strikes in paise, so 5200000 becomes 52000 before the app matches the strike and the nearest expiry.

Does it use live prices or polling?

A custom build that reacts to price uses SmartAPI’s WebSocket feed. The ready-made copiers need fewer prices, so they ask the market-data call for up to 50 contracts at a time.

Do you provide signals or run it for me?

Neither. We build the software, and you operate it on your own account.

Do I own what you build?

You do. It comes with its documentation, and there is no per-trade fee.

Can I run Angel One API algo trading for other people?

Not without checking first. Your own account is your own trading, but accounts of family, friends or clients fall under SEBI’s rules in India, so get qualified advice before you run it for anyone else.

WhatsApp