Open source - Apache-2.0 - Zero dependencies

The charting engine built for OpenAlgo.

A from-scratch, dependency-free HTML5-canvas charting library: candlesticks to Renko, indicators, depth-of-market, and full on-chart trading - fast, tiny, and yours to extend. No black box, no licensing strings.

0
runtime dependencies
< 40 KB
Brotli, full package
25+
chart types
297
tests, green
live
Rendering live chart…

Everything a trading chart needs, nothing it doesn’t

Single-canvas pipeline

No SVG, no DOM-per-bar. One canvas per pane with an invalidation-aware render loop keeps it small and smooth at scale.

Gapless time axis

Weekends, holidays, and session breaks collapse automatically - x is a logical index, not a raw timestamp.

25+ chart types

Candles, bars, line, area, baseline, columns, Heikin Ashi, Renko, Range, Line Break, Point & Figure, Kagi.

Tick & second timeframes

Sub-minute and tick/volume bars are first-class: build them live from a tick stream with the candle and tick aggregators.

On-chart trading

Order, position, and bracket lines with live P&L, one-click and drag-to-modify, OCO, validation, and a depth-of-market ladder.

Indicators & profiles

EMA, RSI, ATR, Supertrend (matching openalgo.ta), plus Volume Profile, Market Profile (TPO), and Footprint / order flow.

OpenAlgo-native data

REST history + WebSocket live + candle builder adapters speak the OpenAlgo protocol. Any broker fits behind a small DataFeed.

Loadable tiers

Ship only what you use - base, /trade, /transform, /profile are separate entry points, each independently sized.

Plugin / primitive API

The same API markers, trading, and profiles are built on is open to you: implement IPrimitive and draw anything on the chart.

Why contributors love it

Readable, original code

No reverse-engineering a minified vendor blob. The engine is a few thousand lines of clean, commented TypeScript with a documented architecture.

Add a doc in one line

This site is Nextra + MDX. Drop a .mdx file in website/pages/docs, add one line to _meta.json, and your page (with live demos) is in the sidebar.

Truly dependency-free

Nothing is excluded from the size budget - what you import is what ships. Easy to audit, easy to embed, friendly to every bundler.

Apache-2.0, forever

Permissive license, no attribution gymnastics, no “non-commercial” asterisks. Build products on it.