QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Options glossary

What is Algorithmic Trading?

Algorithmic trading, or algo trading, means using a computer program to decide and place trades by fixed rules, such as entering at a set time or price and exiting at a stop or target. The program sends orders through a broker without a person clicking each one.

Also called: algo trading, automated trading, algo trading in India

Live example23 Nov 2026, 21:15 IST

Upcoming NIFTY expiries

The next NIFTY expiry is 1 Dec 2026, 8 days away. Options of that expiry stop trading at the close that day and are settled.

ExpiryDays leftMax painPCR
1 Dec 2026825,5000.70
8 Dec 20261525,5000.79
15 Dec 20262225,5000.50
F&O expiry calendar →
ChartNIFTY futures volume through the last session (5-minute bars)
0L1L2L3L4L09:15 · Volume: 4L09:20 · Volume: 2L09:25 · Volume: 2L09:30 · Volume: 3L09:35 · Volume: 2L09:40 · Volume: 2L09:45 · Volume: 1L09:50 · Volume: 2L09:55 · Volume: 1L10:00 · Volume: 1L10:05 · Volume: 1L10:10 · Volume: 1L10:15 · Volume: 1L10:20 · Volume: 1L10:25 · Volume: 1L10:30 · Volume: 1L10:35 · Volume: 1L10:40 · Volume: 1L10:45 · Volume: 1L10:50 · Volume: 1L10:55 · Volume: 1L11:00 · Volume: 1L11:05 · Volume: 1L11:10 · Volume: 1L11:15 · Volume: 2L11:20 · Volume: 1L11:25 · Volume: 0L11:30 · Volume: 1L11:35 · Volume: 1L11:40 · Volume: 1L11:45 · Volume: 1L11:50 · Volume: 1L11:55 · Volume: 1L12:00 · Volume: 1L12:05 · Volume: 1L12:10 · Volume: 0L12:15 · Volume: 1L12:20 · Volume: 0L12:25 · Volume: 0L12:30 · Volume: 0L12:35 · Volume: 0L12:40 · Volume: 1L12:45 · Volume: 1L12:50 · Volume: 1L12:55 · Volume: 1L13:00 · Volume: 1L13:05 · Volume: 1L13:10 · Volume: 1L13:15 · Volume: 1L13:20 · Volume: 1L13:25 · Volume: 0L13:30 · Volume: 1L13:35 · Volume: 0L13:40 · Volume: 1L13:45 · Volume: 1L13:50 · Volume: 1L13:55 · Volume: 1L14:00 · Volume: 1L14:05 · Volume: 1L14:10 · Volume: 1L14:15 · Volume: 1L14:20 · Volume: 1L14:25 · Volume: 0L14:30 · Volume: 1L14:35 · Volume: 1L14:40 · Volume: 1L14:45 · Volume: 1L14:50 · Volume: 1L14:55 · Volume: 1L15:00 · Volume: 2L15:05 · Volume: 1L15:10 · Volume: 1L15:15 · Volume: 1L15:20 · Volume: 1L15:25 · Volume: 1L15:30 · Volume: 1L15:35 · Volume: 2L09:1509:5010:2511:0011:3512:1012:4513:2013:5514:3015:05
0L1L2L3L4L09:15 · Volume: 4L09:20 · Volume: 2L09:25 · Volume: 2L09:30 · Volume: 3L09:35 · Volume: 2L09:40 · Volume: 2L09:45 · Volume: 1L09:50 · Volume: 2L09:55 · Volume: 1L10:00 · Volume: 1L10:05 · Volume: 1L10:10 · Volume: 1L10:15 · Volume: 1L10:20 · Volume: 1L10:25 · Volume: 1L10:30 · Volume: 1L10:35 · Volume: 1L10:40 · Volume: 1L10:45 · Volume: 1L10:50 · Volume: 1L10:55 · Volume: 1L11:00 · Volume: 1L11:05 · Volume: 1L11:10 · Volume: 1L11:15 · Volume: 2L11:20 · Volume: 1L11:25 · Volume: 0L11:30 · Volume: 1L11:35 · Volume: 1L11:40 · Volume: 1L11:45 · Volume: 1L11:50 · Volume: 1L11:55 · Volume: 1L12:00 · Volume: 1L12:05 · Volume: 1L12:10 · Volume: 0L12:15 · Volume: 1L12:20 · Volume: 0L12:25 · Volume: 0L12:30 · Volume: 0L12:35 · Volume: 0L12:40 · Volume: 1L12:45 · Volume: 1L12:50 · Volume: 1L12:55 · Volume: 1L13:00 · Volume: 1L13:05 · Volume: 1L13:10 · Volume: 1L13:15 · Volume: 1L13:20 · Volume: 1L13:25 · Volume: 0L13:30 · Volume: 1L13:35 · Volume: 0L13:40 · Volume: 1L13:45 · Volume: 1L13:50 · Volume: 1L13:55 · Volume: 1L14:00 · Volume: 1L14:05 · Volume: 1L14:10 · Volume: 1L14:15 · Volume: 1L14:20 · Volume: 1L14:25 · Volume: 0L14:30 · Volume: 1L14:35 · Volume: 1L14:40 · Volume: 1L14:45 · Volume: 1L14:50 · Volume: 1L14:55 · Volume: 1L15:00 · Volume: 2L15:05 · Volume: 1L15:10 · Volume: 1L15:15 · Volume: 1L15:20 · Volume: 1L15:25 · Volume: 1L15:30 · Volume: 1L15:35 · Volume: 2L09:1510:3511:5513:1514:35
Volume
How to read this chart: Each bar is the volume traded in five minutes. Volume is usually heaviest at the open and into the close, and thin around midday - when liquidity is thin, orders move the price more (impact cost and slippage).

How it works

An algo has three parts. Rules: the exact conditions for entry, exit, size and risk. Data: live prices to act on, and past data to test with. Execution: the link to a broker that places, modifies and cancels orders. Once started, the program checks its rules continuously and acts within moments.

Before going live, the rules are usually tested on past market data, called backtesting, to see how they would have behaved in different conditions after costs and slippage. Past results do not promise future results, but testing catches errors and unrealistic ideas early.

In India, retail algos connect to the market through broker APIs. SEBI has set out a framework for retail algo trading in which such algos run through the broker and algo orders are identified to the exchange. Brokers apply these rules in their own ways, so check what your broker requires.

Worked example. a simple rule says: on the morning of each expiry day, at a set time, sell one lot of the NIFTY ATM straddle, and exit both legs if the combined premium rises 25%. If the straddle is sold at 200, the stop is 200 × 1.25 = 250. With an illustrative lot of 50 units, the planned loss at the stop is (250 − 200) × 50 = ₹2,500, before slippage and charges. The algo places and watches all these orders on its own.

Reading today's live example

The live example above lists NIFTY's upcoming expiries. For an algo, the expiry calendar is part of the rulebook. Option strategies often decide which expiry to trade, when to enter and when to roll based on the days left to expiry. Time decay speeds up near expiry, so the same rule can behave very differently on expiry day and a week before.

Expiry days can be changed by the exchange and shifted by holidays. A well-built algo reads expiry dates from current data, like the dates in the box, rather than assuming a fixed weekday.

How traders use it

Common F&O algos include time-based option selling, trend-following on futures, spread and hedge management, and execution algos that split large orders. An algo applies the same rules every time, without hesitation or second-guessing.

Many traders write a rule, backtest it on past data, run it in a simulated mode with live prices, and only then use real money in small size.

Common mistakes

Over-fitting: tuning a strategy until it looks perfect on past data, which often makes it fail on new data. Testing on one period and checking on a separate period helps catch this.

Ignoring real-world failures. Slippage, charges, rejected orders, internet drops and broker outages all happen. An algo without a stop-loss, a daily loss limit or a way to switch it off quickly can keep trading in ways the trader never intended.

Frequently asked questions

What is algo trading in simple words?

Algo trading means a computer program places your trades for you, following rules you set in advance. For example: buy when this happens, sell when that happens, and exit if the loss reaches a set amount.

Is algo trading legal in India?

Yes. Algorithmic trading is allowed in India within SEBI and exchange rules. Retail traders run algos through their brokers, who must follow the framework for algo orders. The rules have been updated in recent years, so check your broker's current requirements.

Do I need coding to do algo trading?

Not always. Some platforms let you build rule-based strategies without writing code. Coding gives more control. Either way, the rules must be precise and tested before they are used with real money.

Can algo trading lose money?

Yes. An algo follows its rules exactly, including weak ones. Losses can come from the strategy itself, from market conditions it was never tested on, from slippage or from technical failures. Testing and risk limits reduce these risks but do not remove them.

← All glossary terms

For education only; not investment advice. Live figures from NSE via Quantsapp. Derivatives trading carries substantial risk. Disclaimer

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

Have a password?

By continuing you agree to the Terms of Use and Privacy Policy.