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)

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

Repo detailsthe review · specs · pros & cons · install

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.

Why it matters

Edition 10 gave ScalpingMate 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 ScalpingMate's chain (tsfresh, Optuna, arch, SHAP) is research 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 yours. Apache-2.0 matters here for the same reason it did for quantstats (Ed. 4 #11): this can live inside the paid screen, which nothing AGPL in your 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 your YouTube audience arrives on.
Watch for
  • Deliberately minimal: no indicator maths, no drawing tools, no order overlay. You build all of that.
  • 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.
How to get it

A React component in the ScalpingMate front end, fed by a FastAPI endpoint that returns stockstats columns as series.

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.