Tick-by-Tick Data India: How to Access NSE Tick Data for Algo and Scalping

If you're building an algo strategy or scalping NIFTY options on expiry day, tick data NSE India is the raw material that separates guesswork from precision. Most retail traders work with 1-minute or 5-minute candles, which compress thousands of micro-moves into a single bar — hiding the very price action that matters most for sub-second decision-making. A single 1-minute candle on BANKNIFTY can contain 800+ ticks during volatile sessions, and every one of those ticks tells a story your candlestick chart never will.
The problem is access. NSE doesn't hand out tick-by-tick data like candy. The exchange's real-time feed runs at roughly 25,000-30,000 messages per second across all instruments, and getting a clean, usable slice of that firehose requires understanding the ecosystem — who provides it, what formats exist, what it costs, and how to actually plug it into your algo pipeline. This guide breaks down exactly how to get tick by tick data from NSE for algo trading India, without wasting months on dead-end solutions.
Why Tick Data Matters More Than You Think
A 1-minute OHLC candle on RELIANCE shows you four numbers. The actual tick stream during that minute might contain 200-400 individual trades, each with a price, volume, timestamp, and order type. Here's what you lose when you aggregate:
- Intra-bar volatility: A candle with open 2,450 and close 2,452 looks calm. But if price spiked to 2,465 and crashed to 2,440 within that minute, the story is completely different. Tick data captures that.
- Volume clustering: 70% of a candle's volume might execute in the first 5 seconds — a sign of institutional aggression. You can't see this on a 1-min chart.
- Order flow direction: Tick data reveals whether trades are executing at bid or ask price, giving you a crude but powerful measure of buyer/seller aggression.
- Slippage modeling: If your backtest assumes execution at candle close, you're dreaming. Tick data lets you simulate realistic fills with actual spread and depth dynamics.
For scalpers working BANKNIFTY weekly expiries — where a 100-point move in 30 seconds is routine — the difference between tick-level and minute-level data is the difference between a strategy that works in backtest and one that survives live trading.
The NSE Data Ecosystem: Who Actually Provides Tick Data
NSE distributes market data through a tiered system. Understanding this hierarchy saves you from paying for the wrong product.
NSE's Own Data Products
- NSE Market Data Feed (Level 1 & Level 2): The real-time tick feed that powers broker terminals. This is the raw UDP multicast stream. Direct access requires colocation at NSE's data center in Mumbai (Atos facility, Mahape) and costs ₹5-15 lakh/year depending on the feed type. Not practical for most retail algo traders.
- NSE Historical Data (bhav copies): Available on nseindia.com for free, but these are end-of-day OHLC files. No tick granularity. Useless for intra-day algo development.
- NSE Data Portal (archives.nseindia.com): Offers tick-by-tick historical data downloads for equity and F&O segments. Pricing starts around ₹500-1,000 per instrument per month of data. Quality is excellent — these are the official exchange timestamps — but the cost adds up fast if you need multiple instruments across several months.
Broker API Feeds
This is where most retail algo traders actually source their tick data. SEBI-registered brokers redistribute NSE's feed through APIs:
- Zerodha Kite Connect: WebSocket feed delivers LTP (Last Traded Price) updates at roughly 1-second granularity for subscribed instruments. Not true tick-by-tick (it batches), but close enough for many strategies. Historical API provides 1-minute candles going back ~2 years. Cost: ₹2,000/month for API access.
- Upstox Pro API: Similar WebSocket-based streaming. Offers "full" mode with bid/ask, volume, and OI data. Granularity is comparable to Kite.
- Angel One SmartAPI, Fyers, Dhan: All offer streaming WebSocket feeds. Granularity and reliability vary. Dhan's feed is notably fast for options chains.
- True Data & Global Data Feeds: Dedicated data vendors that provide genuine tick-by-tick feeds (every trade, every quote change) with millisecond timestamps. True Data costs ~₹1,500-3,000/month depending on segments. Global Data Feeds is similar. These are the sweet spot for serious algo developers who need tick data NSE India without colocation costs.
Third-Party Historical Data
- Quantiply, TickStore, Algonauts: Various Indian startups sell cleaned historical tick data. Quality varies wildly. Always validate against NSE's official bhav copies before trusting any third-party source.
- Google BigQuery / Quandl (Nasdaq Data Link): Limited Indian tick data. Mostly EOD. Not recommended for tick-level work.
How to Get Tick by Tick Data from NSE for Algo Trading India
Here's the practical workflow, step by step.
Step 1: Choose your data source based on strategy timeframe.
If your strategy holds positions for 5+ minutes, broker API feeds (Zerodha, Upstox) are sufficient. The 1-second LTP snapshots give you enough resolution. If you're building a market-making bot, a statistical arbitrage system, or a genuine scalping algo that needs sub-second precision, invest in True Data or Global Data Feeds.
Step 2: Set up data ingestion.
For WebSocket feeds, you need a lightweight Python or C++ client that subscribes to instrument tokens and writes incoming ticks to a local database. Here's what works:
- Storage: TimescaleDB (PostgreSQL extension optimized for time-series) or InfluxDB. A full day of tick data for NIFTY, BANKNIFTY, and top 20 F&O stocks generates roughly 2-5 GB of raw data. Plan storage accordingly.
- Format: Store each tick with: timestamp (milliseconds), instrument token, LTP, volume, bid price, ask price, OI (for derivatives). Skip nothing — you can always aggregate later.
- Backup: S3-compatible storage (AWS or MinIO) for daily compressed archives. Tick data is irreplaceable once the trading day passes.
Step 3: Clean and validate.
Raw tick data from any source contains gaps, duplicates, and occasional price spikes from erroneous trades. Run these checks:
- Remove ticks outside trading hours (9:15 AM - 3:30 PM IST for equity, pre-open session ticks should be flagged separately).
- Flag and optionally remove ticks where price jumps more than 2% from the previous tick within the same second — these are often exchange auction prints or data errors.
- Cross-reference daily OHLC against NSE bhav copy. If your high/low doesn't match within ₹0.05, investigate.
Step 4: Build your replay engine.
The real power of tick data is in backtesting with realistic market simulation. Don't just replay prices — replay the order book state. If you have Level 2 data (bid/ask with depth), simulate your order placement at actual queue positions. This is how you discover that your "profitable" scalping strategy actually loses money to slippage.
Storage, Costs, and Practical Constraints
Let's talk real numbers. If you're collecting tick data for the full F&O segment (roughly 200 instruments including stock options), expect:
- Daily data volume: 10-25 GB uncompressed, depending on market activity. Budget night options data is heavier because strike-wise there are hundreds of active contracts.
- Monthly storage: 250-500 GB. On AWS S3, that's roughly ₹500-1,000/month. Locally, a 2TB NVMe drive handles ~4 months.
- Data vendor cost: ₹1,500-3,000/month for True Data or similar.
- Broker API cost: ₹2,000/month (Zerodha) to free (some brokers offer API access at no extra charge).
Total monthly cost for a serious retail algo trader collecting tick data: ₹3,000-6,000. That's less than the brokerage on a single bad BANKNIFTY trade.
One critical SEBI constraint: since the October 2023 circular tightening algo trading rules, any automated order execution through broker APIs must be registered and approved. Data collection itself is unrestricted — SEBI doesn't regulate what you store, only what you execute. Keep your data pipeline and execution pipeline separate and compliant.
Common Mistakes When Working with NSE Tick Data
Ignoring auction sessions. NSE runs pre-open (9:00-9:15 AM) and closing (3:30-3:40 PM) auction sessions. Tick data during these windows follows different rules — prices aren't continuous, and volume can be misleading. Many backtests produce false signals because they don't filter auction ticks.
Assuming uniform tick frequency. NIFTY futures might generate 10-15 ticks per second during market hours. A mid-cap stock option might generate 1 tick every 30 seconds. Your algo must handle both gracefully. If your strategy assumes "ticks arrive every 100ms," it will break on illiquid instruments.
Survivorship bias in historical data. If you download 2 years of tick data for "current F&O stocks," you're missing stocks that were in F&O but got removed (like Vodafone Idea before its re-entry, or various PSU banks that rotated in and out). This biases your backtest results upward.
Not accounting for NSE's tick size. NIFTY options have a tick size of ₹0.05. BANKNIFTY options also ₹0.05. Stock options vary. If your algo places a limit order at ₹125.03, it will be rejected. Tick data lets you discover these mechanics empirically, but only if you're paying attention.
What to Actually Do: Your Action Plan
-
This week: Sign up for Zerodha Kite Connect or your broker's API. Subscribe to the WebSocket feed for NIFTY, BANKNIFTY futures, and 5 active option strikes. Start storing ticks in a local SQLite database (upgrade to TimescaleDB later).
-
Within 30 days: Accumulate enough tick data to backtest one strategy. Start simple — a VWAP deviation scalp on BANKNIFTY futures using tick-level volume data. Compare results against the same backtest done on 1-minute candles. The difference will convince you tick data is worth the effort.
-
Within 90 days: If your strategy shows promise, upgrade to True Data or Global Data Feeds for genuine tick-by-tick resolution. Set up proper infrastructure — TimescaleDB, automated ingestion, daily validation scripts. Begin building your private tick data archive.
-
Before going live: Validate slippage assumptions by paper trading with your broker's API for at least 2 weeks. Compare expected fill prices (from tick data backtest) against actual simulated fills. If slippage exceeds 1 tick on average, re-calibrate your model.
The traders who consistently profit from scalping and high-frequency strategies in Indian markets aren't smarter — they just have better data infrastructure. Tick data is the foundation. Everything else is decoration.
Accessing and working with tick data NSE India is no longer reserved for institutional desks with crore-level budgets. The tools exist, the costs are manageable, and the edge is real. What separates winners from the rest is the discipline to build the infrastructure and the patience to validate before deploying capital.
If you want to skip the manual data wrangling and get AI-processed market signals derived from institutional-grade data analysis, MarketNetra provides real-time intelligence that does the heavy lifting — so you can focus on strategy, not plumbing.


