Open source · MIT · Self-hosted
Trading charts you own.
The open-source chart library for trading apps: trade on the chart, read the order flow and replay any session, with a full trading UI for React, Vue, Svelte or plain JS. MIT, with no logo on the chart.
BTCUSDT · 5m Simulated live
- Trade on the chartOrders, stops and targets you drag, and an order ticket docked beside the chart.
- Read the order flowFootprint bars, the tape, a depth ladder and a liquidity heatmap.
- Your market’s rulesPrice steps, lots, ceiling and floor, as HOSE or KRX set them.
- Replay any sessionPlay the market back bar by bar, then trade it on paper.
- 1,000,000bars in one chart, panned at 60 fps with WebGL, four indicators on
Where to start
I need a chart
Open a live demo, read the API, install the package.
I’m building a trading terminal
The ChartWidget with drawing tools, linked panes and trading overlays.
I’m moving from another library
Keep your datafeed: the guide maps TradingView’s names to TradeCanvas.
Built for real trading applications
Running code and measurements, not only feature counts.
- A React app you can fork@tradecanvas/react in a StackBlitz sandbox, and three GitHub templates to clone.→
- Your own data feedAdapters for exchanges, or your server through one interface, with reconnects and history loaded in pages.→
- Ten minutes on a busy feed1,000,000 bars and 30,000 trades a second, with frame times and memory measured. More than 3,000 unit tests run in CI.→
- How it is built, and its limitsThe path of a tick, two canvases, WebGL by recording, and where it is still being improved.→
See it work
Recorded from the library itself, on a simulated market: each clip is the widget doing what its docs describe.
One line. Your agent knows the library.
Connect a coding agent to TradeCanvas: the MCP server for Claude Code, Cursor, Codex and other clients, the agent skill, llms.txt and the agent evals.
claude mcp add tradecanvas -- npx -y @tradecanvas/mcpNeed a custom integration? Work with the maintainer