Markets and trading · Edition No. 11 · 5 Sep 2026

tradingview/lightweight-charts

TradingView's own charting library — the chart a forex trader already knows how to read.

← Markets and tradingRead the whole edition →

17.2k stars · Apache-2.0 · v5.2.1 (2026-08-12) · Track this in Scout

TradingView's own charting library — the chart a forex trader already knows how to read.

▶Repo detailsthe review · specs · pros & cons

What it is

TradingView's own open-source financial charting library: candlesticks, lines, areas and histograms drawn on an HTML5 canvas, around 45 kB, built for long series and smooth panning. It draws price data. It does not compute indicators.

What it is good for. Edition 10 covered stockstats (#9) — fifty legible indicators under a licence you can ship — and then had nowhere to draw them. This is that screen. Everything else in a trading research chain (tsfresh, Optuna, arch, SHAP) is machinery a paying user never sees; the chart is the product, and adopting TradingView's visual conventions means a forex trader recognises it in the first second instead of learning a new one. Apache-2.0 matters here for the same reason it did for quantstats (Ed. 4 #11): this can live inside a paid screen, which nothing AGPL in a backtesting stack can.

Stars17.2k
LicenceApache-2.0
Latestv5.2.1 (2026-08-12)checked 7 Sep 2026
Written inTypeScript
RunsLocally, on your own machine
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Apache-2.0 and from TradingView itself, so the conventions are the ones your users already have in their hands.
  • Very small and fast — years of M1 bars without the page dying.
  • Canvas-based and touch-friendly, so it survives the phones a lot of visitors arrive on.
Watch for
  • Deliberately minimal: no indicator maths, no drawing tools, no order overlay. All of that is left to you.
  • v5 was a breaking rewrite, so most tutorials and Stack Overflow answers still target v4 and will mislead you.
  • Their terms require an attribution notice on the chart. Read the licence page before shipping a paid screen.
Screenshots
tradingview/lightweight-charts: GitHub preview card

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.