Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

OpenAlgo Charts vs Vela: Two Open-Source Charting Libraries Tested

6 min read

Two blank easels on a teal field with a compass and a ruler, illustrating OpenAlgo Charts vs Vela
OpenAlgo Charts and LuxAlgo Vela compared side by side on licence, price, renderer, indicators, drawing tools, scripting and bundle size
OpenAlgo Charts and Vela at a glance, counted and measured from the code on 27 Nov 2026

Two serious open-source charting libraries for trading apps now sit on GitHub, and both arrived this year. LuxAlgo released Vela in July as the open-source core of its own charting platform. OpenAlgo Charts, which I build, started a few weeks earlier as the chart engine for OpenAlgo. I should say up front that I have a stake in one of them, so I kept this OpenAlgo Charts vs Vela comparison to things anyone can check. I cloned both repositories, built them, counted what each one registers at runtime, measured the bundles and ran both demos in a headless browser on 27 November.

What each library is

OpenAlgo Charts is a TypeScript library with no runtime dependencies. The README describes it as a library for financial charts that you feed with your own data, with an optional widget that adds the toolbar, menus and dialogs. It is written from scratch: the NOTICE file says it contains no third-party charting library code.

Vela describes itself as "fast, extensible financial charts for the web." It has a headless core, a native renderer, a ready-made workspace and a plugin SDK. Like OpenAlgo Charts, it does not sit on top of TradingView's lightweight-charts. It has one runtime dependency, LuxAlgo's own @luxalgo/vela-ui, which brings in Zag.js for menus and dialogs.

Build desktop apps with Claude Code
LIVE COURSE · DEC 2026

Build desktop apps with Claude Code

Plan, build, package and distribute desktop apps for Windows, macOS and Linux, with Claude Code as your development partner.

  • 5 live sessions, 10 hours, starts 7 December 2026
  • CRM, algo trading and NSE Bhavcopy projects
  • Installers for Windows, macOS and Linux
Join the course →by Marketcalls
OpenAlgo Charts live playground on desktop with Supertrend and MACD on a Bitcoin hourly chart
The OpenAlgo Charts playground on marketcalls.github.io/openalgo-charts
Vela demo workspace on desktop showing a four-chart grid of BTC, ETH, SOL and HYPE
Vela's demo workspace at vela.dev/demo, on live Hyperliquid data

Rendering and performance

The two engines start from opposite ends. OpenAlgo Charts draws with Canvas 2D by default and offers an opt-in WebGL2 tier for the standard series types. Vela uses WebGL2 by default and falls back to Canvas 2D. Its README makes the GPU path the headline.

To compare them, I loaded each into the same headless Chromium page, gave each 10,000 and then 50,000 one-minute bars, and timed the first paint. Each first frame landed in 48 to 79 milliseconds. Panning held the 60 frames per second display cap for both. My machine had no GPU, so WebGL ran in software. On this test, speed doesn't separate them. A real GPU and much heavier scenes might.

Features, counted from the code

I didn't take the README numbers on trust. I called each library's own registry after loading it. OpenAlgo Charts registers 113 indicators, 90 drawing tools and 15 chart types, plus six bar transforms: Heikin Ashi, Renko, range bars, line break, point and figure, and Kagi. Vela's core registers 107 native indicator types and 79 drawing types, and it has nine price styles. Vela's count includes some entries a trader might not call indicators, such as volume, the visible-range profile and the comparison overlay. Its README says "70+ studies", so the runtime count is higher than its own claim.

The bigger gap is in trading. OpenAlgo Charts includes order, position and bracket lines, drag-to-modify, a depth-of-market ladder, footprint and market profile. I found no live order tooling in Vela's open-source core. LuxAlgo lists footprint and TPO charts and its order-flow suite as Vela Pro features. Vela does credit itself for bar replay, sync groups, a keyboard-first workspace and a tidy plugin SDK. registerChartType and registerRendererLayer let you add a price style or a custom layer without forking.

The OpenAlgo Charts drawing tools gallery with a trend line on simulated NIFTY prices
The OpenAlgo Charts drawing gallery, which lists 90 tools

Data feeds and brokers

Both libraries let you bring your own data. Vela comes with Binance, Coinbase and Hyperliquid providers, so its demo runs on live crypto prices out of the box. OpenAlgo Charts comes with OpenAlgo adapters for REST history, WebSocket ticks, orders and symbol search, and OpenAlgo connects to Indian brokers. The chart never sends an order itself: the host app's callback does. I looked at broker-built Indian platforms separately in Dhan TradingCharts vs Sahi Charts.

Bundle size

I bundled each package with esbuild, minified it and gzipped the output. OpenAlgo Charts' chart, indicators and drawing tiers come to 197 KB. The bare chart is 110 KB. Vela's headless core, which includes its indicators and drawings, is 384 KB. For the full application UI, createWidget with indicators and drawings is 423 KB, and VelaWorkspace is 489 KB.

Bar chart of gzipped bundle sizes: OpenAlgo Charts 197 KB and Vela 384 KB for chart, indicators and drawings; 423 KB and 489 KB for the full app UI
Minified and gzipped bundle sizes, measured with esbuild

Licence and pricing

Both libraries use the Apache-2.0 licence, but they differ on what comes with it. OpenAlgo Charts is purely open source. Its repository has no commercial licence, no paid tier, no licence key and no attribution clause in its NOTICE file, and the corner branding can be turned off with branding: false.

Vela's NOTICE adds an attribution requirement. Every chart shows a Vela mark unless the page carries an equivalent visible credit. LuxAlgo also sells commercial tiers, listed on its pricing page:

  • Open-source core: $0 forever.
  • Developer License: $1,199 per developer per year, self-serve for companies under $500,000 in annual revenue.
  • Business License: $20,000 a year for unlimited developers.
  • Enterprise: unpublished pricing for brokers, exchanges, prop firms and platforms with more than 100,000 end users.

The paid seats add Vela Pro, which includes watermark-free builds, a commercial licence for PineTS and a commercial licence for the LuxAlgo Library. LuxAlgo states plainly that the core is free for commercial use at any company size.

Scripting: OpenScript and PineTS

Neither library ships a script engine inside the chart. Each pairs with a separate language project.

Vela pairs with PineTS, LuxAlgo's Pine Script runtime, through the @luxalgo/vela-pinets addon. It runs Pine Script v5 and v6 source as written, which the PineTS README marks as experimental. That README's coverage badges show all 69 ta functions supported and 98 percent coverage of the Pine API. For anyone with a library of TradingView scripts, that is Vela's strongest card. PineTS and the addon are licensed under AGPL-3.0, so closed-source commercial use needs a paid seat.

import { PineEngine } from '@luxalgo/vela-pinets';

chart.registerEngine('pine', new PineEngine());
chart.addIndicator(`//@version=6
indicator("EMA 20", overlay=true)
plot(ta.ema(close, 20), color=color.orange, linewidth=2)`);

OpenAlgo Charts pairs with OpenScript (openalgo-script on npm), a separate Apache-2.0 language of its own. It reads much like Pine: a script declares a study or strategy, runs once per bar, and uses input, plot and functions such as sma, ema and crossUp. It is not Pine-compatible, though. There are no namespaces like ta., blocks are marked by indentation, and every file opens with version 1.

Its reference documents 240 functions, 68 of them technical analysis. One compiled script gives the same numbers on the chart, in a backtest and in a Python engine. The package's chart adapter, descriptorFor, turns a compiled script into an OpenAlgo Charts indicator.

version 1

study("EMA cross", overlay = true)

fastLength = input(9,  "Fast length")
slowLength = input(21, "Slow length")

fast = ema(close, fastLength)
slow = ema(close, slowLength)

fastPlot = plot(fast, "Fast", aqua, width = 2)
slowPlot = plot(slow, "Slow", orange, width = 2)
fill(fastPlot, slowPlot, fade(aqua, 90))

if crossUp(fast, slow)
    signal("BUY", lime, at = "below")

Both libraries also take plain TypeScript indicators: Vela through its plugin SDK, and OpenAlgo Charts through registerIndicator.

Which is more production-grade

Here is the evidence I could check.

  • Versioning. OpenAlgo Charts is on 2.7.5, has 75 GitHub releases and 100 published npm versions, and has a migration guide for its 2.0 API. Vela is at 0.10.19, before a 1.0 release, and its own upgrade guide covers changes from 0.9.
  • Tests and CI. OpenAlgo Charts has 564 test files. Its CI typechecks, runs the unit tests, builds, checks size budgets and benchmarks, and runs end-to-end tests in Chromium, Firefox and WebKit, with separate nightly and release workflows. Vela has 270 test files, and its CI typechecks, lints and runs the tests, with a separate publish workflow.
  • Types. Both ship TypeScript types.
  • Deployments. The OpenAlgo web app and OpenAlgo Desktop both pin openalgo-charts 2.7.5 in their package.json files. That is the largest known open-source deployment of the library, in daily use across the OpenAlgo community. Vela is the open-source core of LuxAlgo's own Vela charting app.
  • Adoption and team. Vela has more of both: 1,568 stars against 223, 104,779 npm downloads in the last month against 27,025, 11 contributors and 370 merged pull requests. OpenAlgo Charts is mostly one maintainer's work, which is a real concentration risk.
  • Open issues. OpenAlgo Charts has 4 open. Vela has 50 open and 11 closed.

My reading is that OpenAlgo Charts is the more production-grade library today, on API stability, release discipline and live trading deployments. Vela has the larger team, more adoption and a company selling support behind it, and it is moving fast towards a stable release.

OpenAlgo Charts playground on a 390 pixel phone screen with compact controls
OpenAlgo Charts on a 390 px phone screen
Vela demo workspace on a 390 pixel phone screen with a four-chart grid
Vela's demo on a 390 px phone screen

Getting started

Both libraries load in a few lines. Here is OpenAlgo Charts, from its README:

import { createChart, generateBars } from 'openalgo-charts';

const container = document.getElementById('chart');
if (!container) throw new Error('Chart container not found');

const chart = createChart(container);
chart.addSeries('candlestick').setData(generateBars(1700000000, 200, 3600));
chart.fitContent();

And here is Vela:

import { Vela } from '@luxalgo/vela';
import { BinanceProvider } from '@luxalgo/vela/providers/binance';

const chart = new Vela('#chart', { symbol: 'binance:BTCUSDT', timeframe: '60', live: true });
chart.data.registerProvider('binance', new BinanceProvider());
await chart.ready();

Both work on phones. OpenAlgo Charts' widget switches to compact controls below 640 pixels, and Vela's workspace has its own mobile layout. You can try both demos at openalgo.in/charts and vela.dev/demo. The repositories are marketcalls/openalgo-charts and LuxAlgo/Vela.

The OpenAlgo Charts vs Vela comparison table

AreaOpenAlgo ChartsLuxAlgo Vela
LicenceApache-2.0, no attribution clauseApache-2.0 with NOTICE requiring visible Vela attribution
PricingFree and open source, no paid tierOpen-source core $0; Developer $1,199 per dev per year; Business $20,000 per year; Enterprise priced on request
RendererOwn Canvas 2D engine, opt-in WebGL2 tierOwn WebGL2 renderer, Canvas 2D fallback
Built on lightweight-chartsNoNo
Chart types15 plus 6 transforms9 price styles, more through plugins
Built-in indicators (registered at runtime)113107
Drawing tools (registered at runtime)9079
ScriptingOpenScript, own Pine-like language, Apache-2.0, 240 documented functionsPineTS runs Pine Script v5 and v6, AGPL-3.0 or commercial seat
Bundled data feedsOpenAlgo REST and WebSocket (Indian brokers via OpenAlgo)Binance, Coinbase, Hyperliquid
Chart tradingOrder, position and bracket lines, DOM laddern/a in open-source core
Footprint and TPOIncludedVela Pro (paid)
Runtime dependencies01 (@luxalgo/vela-ui)
Chart, indicators and drawings, minified and gzipped197 KB384 KB
Full app UI, minified and gzipped423 KB489 KB
First paint, 50,000 bars (headless, software GPU)48 to 70 ms57 to 79 ms
Latest npm version2.7.50.10.19
GitHub releases758
Commits on default branch1,6411,033
Contributors (GitHub API)311
Stars and forks223 and 691,568 and 321
npm downloads, last month27,025104,779
Open issues450
Last commit on default branch24 Nov 202625 Nov 2026 (IST)
Known deploymentsOpenAlgo web app and OpenAlgo DesktopLuxAlgo's Vela charting app
Test files and CI564 test files; CI with unit, size, benchmark and three-browser e2e270 test files; CI with typecheck, lint and tests

What builders are saying

People who build on each library are posting about it.

The split is clear. Vela is built around Pine scripts, crypto data and a company's paid tiers. OpenAlgo Charts is built around a dependency-free, Apache-only stack with chart trading and Indian broker plumbing.

Marketcalls Elite Traders Club

MEMBERSHIP

Marketcalls Elite Traders Club

Every Marketcalls course and live mentorship in one membership: 127 courses and 2,500+ hours of learning.

  • Market Profile, Orderflow, AFL, Pine Script and Python
  • Live mentorship and TradEdge trading room
  • Premium tools and the Elite Slack community

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More