Groww Oct 17, 2025

Building Native Trading Charts for Android

Article Summary

The Groww Engineering Team just open-sourced their playbook for building trading charts that render 2,000+ candlesticks at 60fps. No third-party libraries, pure native Android.

Groww's Android team built a custom candlestick charting engine from scratch for their trading app. They treated it like building a mini graphics engine, using a single Canvas with modular renderers for candles, volume bars, and technical indicators like RSI and moving averages.

Key Takeaways

Critical Insight

By building a custom graphics engine with windowed rendering and Matrix-driven transformations, Groww achieved 60fps performance on complex financial charts with real-time data.

Their approach to handling out-of-chart indicators like RSI reveals an elegant solution to a common multi-panel synchronization problem.

About This Article

Problem

Groww's charting system had to process thousands of market data ticks arriving every few milliseconds. At the same time, it needed to keep crosshair overlays and tooltips responsive and pixel-accurate without slowing down.

Solution

The team built incremental rendering that only updated the latest candle with each tick. They used Android Matrix to map touch coordinates precisely to data indices, and kept overlay rendering separate from candle rendering.

Impact

This approach made crosshair and tooltip interactions smooth and responsive, staying in sync with real-time market data. The charting system maintained 60fps performance across the board.

Related Articles