Angel One tick charts run on a data pipeline that captures every price update from the exchange, streams it through Apache Kafka from Angel One’s on-premise systems to AWS, turns it into 1-minute candles and stores them in Aurora MySQL, from where an API serves TradingView-style charts with about one second of latency. This post breaks down that tech stack, based on Angel One’s own engineering write-up, and explains what it means for traders.
Charting accuracy defines a trader’s ability to analyze market movements effectively. Angel One’s charting solution processes historical and real-time price data with tick-by-tick precision, delivering insights through TradingView-style visualizations. The backbone of this system is a well-architected data pipeline that captures, processes, and stores tick data for real-time and historical analysis.
This article dives into how Angel One structures its market data processing, the importance of tick-by-tick charts, and the technology that makes it all possible.

Key Takeaways
- Tick data is captured on-premise and replicated to AWS Managed Kafka with Kafka MirrorMaker.
- Kafka consumers build 1-minute candles; higher timeframes are precomputed from them asynchronously rather than on every request.
- Angel One chose MySQL (AWS Aurora) with clustered indexes on scrip code, timeframe and timestamp instead of a time-series database.
- Kafka is configured for strict ordering (
acks=-1, one in-flight request per connection) so candles are built from ticks in the right sequence. - The same design ideas apply if you build your own charting or data store with a broker API.
What is Tick-by-Tick Data and Why Does It Matter?
Understanding Tick-by-Tick Charts
A tick-by-tick chart captures every trade in the market, in contrast to time-based candlestick charts that aggregate data over fixed intervals (1-minute, 5-minute, hourly). Tick charts provide a raw, uninterrupted view of market activity, including:
- Trade price
- Trade volume
- Timestamp
Since every price change matters in volatile markets, tick-by-tick data enables traders to analyze short-term price action with greater clarity.

Why Tick-by-Tick Data is Essential for Traders
- Unfiltered Market Activity: Traders see every price change, allowing for better short-term trade execution.
- High-Frequency Trading (HFT) Optimization: Algorithmic trading strategies depend on tick-level data to react instantly to market movements.
- More Reliable Backtesting: Historical tick data allows traders to test strategies under precise market conditions.
- Accurate Liquidity and Volatility Analysis: Understanding order flow helps in assessing market sentiment.
Tick Charts vs Time-Based Charts
| Feature | Tick-by-tick chart | Time-based candle chart |
|---|---|---|
| What creates a new bar | Every trade or a fixed number of trades | A fixed time interval (1, 5, 15 minutes and so on) |
| Activity in busy periods | More bars, so detail is preserved | Same number of bars; detail is compressed into each candle |
| Activity in quiet periods | Few bars | Many small candles with little information |
| Data and storage needed | Very high | Much lower |
| Best suited for | Scalping, orderflow, execution analysis | Most swing and positional analysis, indicators, backtests |
One practical caution for Indian traders: the tick you see in a broker app or API is often a broker-side snapshot of the exchange feed rather than every individual trade. I explained the difference in what is a broker tick and an exchange tick. It matters if you build volume-based or orderflow studies on top of broker data.
With the significance of tick data established, let’s explore how Angel One processes this information.
How Angel One Processes Historical Data for Charting
Angel One employs a hybrid on-premise and cloud-based architecture to ensure high-speed data processing and reliability. The pipeline consists of the following components:
1. On-Premise Data Collection
- Exchange Price Stream: Incoming trade data is captured from stock exchanges.
- Price Capture Engine: Aggregates and timestamps market data.
- Kafka for Streaming: Apache Kafka acts as a buffer, ensuring smooth data transfer with minimal latency.
- Kafka Mirror Maker: Replicates data from on-premise Kafka to AWS Managed Kafka for cloud processing.
2. AWS-Based Data Processing
- AWS Managed Kafka: Streams tick data to cloud-based consumers.
- Kafka Consumer: Processes data and aggregates different chart timeframes (1-minute, 5-minute, hourly, etc.).
- MySQL Database (AWS Aurora): Stores historical price data with optimized indexing for rapid retrieval.
- API Backend: Serves data for TradingView-like frontend applications.
3. Real-Time and Historical Chart Construction
- Live Charting: Tick data updates the last candle dynamically in real-time.
- Historical Charting: Precomputed candles are retrieved instantly upon request.
- Multi-Timeframe Generation: Higher timeframe candles (e.g., 30-minute, daily) are generated from 1-minute candles asynchronously.
This structure ensures chart updates remain accurate and fast, even during peak trading hours.
Challenges and Optimizations in Tick-by-Tick Processing
1. Managing High Data Throughput
- Optimization: Kafka is configured with
acks=-1andmax.in.flight.requests.per.connection=1to ensure message order integrity. - Batching & Compression: Data is compressed and batched to optimize network efficiency.
2. Efficient Data Storage and Retrieval
- Optimization: Instead of using a time-series database like TimescaleDB, Angel One optimizes MySQL (AWS Aurora) with clustered indexes (
scrip_code, timeframe, timestamp). - Outcome: Query times are reduced to milliseconds, even under heavy load.
3. Handling High-Frequency Market Activity
- Optimization: Rather than calculating higher timeframe candles in real-time, the system precomputes them asynchronously, reducing real-time computation demands.
How Traders Benefit from Angel One’s Charting System
1. Instant Price Updates
Tick data ensures that price movements are reflected on charts within ~1 second latency.
2. Reliable Market Insights
Accurate historical tick data enables traders to refine their strategies based on real-world price action.
3. Scalable & High-Performance Infrastructure
The system can handle thousands of charting requests per second without compromising performance.
4. Enhanced Market Scanning
Chart-powered watchlists highlight stocks based on volume spikes, price breakouts, and trend reversals.
The Angel One Tech Stack in Plain Terms
If some of the components above are new to you, here is what each one does in this pipeline:
| Component | Role in the charting pipeline |
|---|---|
| Apache Kafka | A message queue that receives ticks in order and lets several consumers read them without losing data |
| Kafka MirrorMaker | Copies the Kafka stream from Angel One’s data centre to the cloud |
| AWS Managed Kafka (Amazon MSK) | The cloud copy of the stream, managed by AWS, read by candle-building consumers |
| Kafka consumer | The program that turns ticks into 1-minute candles and updates the live candle |
| Aurora MySQL | The relational database that stores candles, indexed by scrip code, timeframe and timestamp |
| API backend | Serves historical candles and live updates to the TradingView-style chart in the app and web platform |
How to Build Candles From Tick Data (Python Example)
The core idea in Angel One’s design, building 1-minute candles from ticks and then deriving higher timeframes from those 1-minute candles, is easy to try on your own data. This short pandas example shows both steps:
import pandas as pd
# Sample ticks: timestamp, last traded price, traded quantity
ticks = pd.DataFrame({
"ts": pd.to_datetime([
"2026-11-09 09:15:01", "2026-11-09 09:15:20", "2026-11-09 09:15:48",
"2026-11-09 09:16:05", "2026-11-09 09:16:30", "2026-11-09 09:16:59",
]),
"price": [1250.0, 1252.5, 1249.0, 1251.0, 1255.5, 1254.0],
"qty": [100, 50, 200, 75, 300, 25],
}).set_index("ts")
# Step 1: build 1-minute candles from ticks
candles_1m = ticks["price"].resample("1min").ohlc()
candles_1m["volume"] = ticks["qty"].resample("1min").sum()
# Step 2: build higher timeframes from 1-minute candles (not from raw ticks)
candles_5m = candles_1m.resample("5min").agg(
{"open": "first", "high": "max", "low": "min", "close": "last", "volume": "sum"}
)
print(candles_1m)
print(candles_5m)
For NSE data, 1, 3, 5 and 15-minute bins line up with the 9:15 am open automatically. For 30-minute or hourly candles, pass offset="15min" to resample so bars start at 9:15 rather than 9:00. To get real data into this pipeline, you can stream live quotes with the Angel One SmartAPI Python library, or pull broker history with OpenAlgo’s historical data API and plot it with TradingView Lightweight Charts.
Angel One’s charting system is built for speed, accuracy, and scalability. By integrating tick-by-tick data processing with cloud infrastructure, the platform ensures traders get real-time and historical insights with minimal latency.
With AWS Hyderabad set to become a key disaster recovery hub, further enhancements will focus on reducing latency and increasing system resilience. As the demand for precise market data grows, Angel One’s infrastructure will continue evolving to meet the needs of modern traders.
Further Reading
For a deeper dive into Angel One’s charting infrastructure, check out the reference article by Abhin Hattikudru: Charting at Angel One
Frequently Asked Questions
What is tick-by-tick data?
Tick-by-tick data records each price update with its price, quantity and timestamp, instead of summarising activity into fixed time candles. It is the raw material from which all chart timeframes are built.
Does Angel One show tick-by-tick charts?
Angel One’s charting pipeline is built on tick-level data, which updates the latest candle in real time with about one second of latency and is aggregated into 1-minute and higher timeframes for historical charts.
Why did Angel One use MySQL instead of a time-series database?
According to its engineering team, MySQL on AWS Aurora with clustered indexes on scrip code, timeframe and timestamp gave millisecond query times under heavy load, without adding a separate time-series database to operate.
Can I get tick data from Angel One for my own algo?
Yes, Angel One’s SmartAPI provides a WebSocket stream for live market data that you can use from Python. Keep in mind it is a broker feed, so check how often it updates before using it for tick-level strategies.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.
