Vietnambonguynvan/tradecanvas
TradeCanvas, the open-source chart library for trading apps: candlesticks to Renko, 134 indicators, 76 drawing tools and a full trading UI (orders on the chart, replay, depth). MIT, zero dependencies, Canvas 2D or WebGL; React, Vue, Svelte, TypeScript.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
📈 TradeCanvas: Build Trading UIs Without a Single Dependency
A complete trading chart for the web, drawn with Canvas 2D or WebGL, with zero third‑party dependencies.
TradeCanvas is a TypeScript charting library created by bonguynvan that provides a full‑featured trading chart for web applications. It supports 18 chart types, 134 indicators, and 73 drawing tools, and can render on either Canvas 2D or WebGL. The library is framework‑agnostic, with official wrappers for React, Vue, and Svelte, and includes a ready‑to‑use ChartWidget as well as a headless Chart for custom interfaces.
✨ Highlights
- Zero dependencies: no third‑party libraries required.
- 18 chart types, 134 indicators, 73 drawing tools: extensive charting capabilities.
- Trading on the chart: positions with live P&L, draggable orders.
- Live exchange feeds: Binance, Bybit, Coinbase, Kraken, Upbit, or custom feed.
- High performance: million bars at 60 fps with WebGL.
- Workspace with grids, layouts, replay, backtesting: multi‑chart environment.
- Mobile ready: touch gestures, responsive design, works in WebView, React Native, Capacitor, Tauri.
💡 Why it matters
TradeCanvas stands out because it bundles all charting, indicators, and trading tools into a single, dependency‑free package, eliminating the need to integrate multiple libraries. Its WebGL renderer can handle millions of bars at 60 fps, making it suitable for high‑frequency trading dashboards without memory growth.
The built‑in trading layer lets you display positions, P&L, and draggable orders directly on the chart, a feature most charting libraries lack. With support for React, Vue, Svelte, and mobile wrappers, it fits into any modern front‑end stack while remaining lightweight.
#Charting #Trading #WebGL #TiniX
Similar Projects
Discover other similar projects and AI models.
The Open Source TradingView Alternative — Free, self-hosted charting using lightweight TV and custom built in library of trading indicators, tools, etc.
low code backtesting library utilizing polars and technical analysis indicators
Svelte wrapper for financial lightweight charts
Run Pine Script® anywhere. PineTS is LuxAlgo's open-source Pine Script® runtime for Node.js and the browser.
High-performance technical analysis indicators and backtesting framework in TypeScript. Zero dependencies. ✨ See how! 👀
1,713 technical analysis indicators for the lightweight-charts library: 117 standard, 1,551 community ports and 45 candlestick patterns, with a renderer for plots, drawings and tables
Production-grade charts built for brokers, exchanges, trading platforms, and financial portals. Bring your own market data, plug it in, and deliver a complete charting experience without building the charting stack from scratch. Open source. Data-agnostic. Ready to integrate.
Simple javascript library containing methods for financial technical analysis