Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@tradecanvas/chart

Latest version: v3.0.0-beta.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: bonv
99 Stars
42 Forks
133 Versions
28.3K Downloads
TypeScript Repo language

Scan summary

@tradecanvas/chart was last scanned on 25 Nov 2026 at version 3.0.0-beta.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 133 versions; the latest 5 were published within 7 days (19–25 Nov 2026).
  • Findings: No rules fired in version 3.0.0-beta.0.
  • Downloads: 28,278 downloads.

Versions

133 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.0.0-beta.0 LATEST 25 Nov 2026 No rules fired
2.17.1 23 Nov 2026 No rules fired
2.17.0 22 Nov 2026 No rules fired
2.16.0 19 Nov 2026 Not shown
2.15.0 19 Nov 2026 Not shown

No rules fired in 3.0.0-beta.0

Findings

Findings for v3.0.0-beta.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 3.0.0-beta.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

TradeCanvas is the open-source chart library for trading apps (tradecanvas.dev), under the MIT licence. Candlesticks to Renko, 134 indicators, 76 drawing tools, live feeds and orders on the chart, on Canvas 2D or WebGL, with no third-party dependencies. Use the full ChartWidget, or build your own interface on the headless Chart, in TypeScript, React, Vue or Svelte.

It is a charting engine you own: MIT-licensed, installed from npm and served with your app, fed by your own data, shown under your own brand. No logo on the chart, nothing to apply for, no platform between you and your users. Coming from TradingView's charting library or Lightweight Charts? Keep your datafeed: moving from TradingView.

Highlights

  • 18 chart types, 134 indicators, 76 drawing tools, indicators on indicators, alerts on lines, undo and redo.
  • Trading on the chart: positions with live P&L, orders and stops you drag, a paper broker or your own.
  • Live data from Binance, Bybit, Coinbase, Kraken and Upbit, or your own feed in about twenty lines.
  • Fast: a million bars panned at 60 fps with WebGL; a live tick in about a microsecond; ten minutes of 30,000 trades a second on a million bars with no memory growth (soak).
  • A workspace: grids of charts, layouts, bar replay, backtesting.
  • Fourteen more charts for the pages around the chart: depth, equity curve, waterfall, heatmap and sector map, bars, donut, scatter, histogram, calendar, correlation matrix, gauge, sparkline, and a backtest dashboard.
  • Yours to shape: themes, five looks, 133 switches, plugins; 30 languages; phones and apps.

Quick start

npm install @tradecanvas/chart
import { ChartWidget } from '@tradecanvas/chart/widget'
import { BinanceAdapter } from '@tradecanvas/chart'

new ChartWidget(document.getElementById('chart')!, {
  symbol: 'BTCUSDT',
  timeframe: '5m',
  theme: 'dark',
  adapter: new BinanceAdapter(), // live data, no API key
  trading: true,
})

The headless Chart takes your own bars (chart.setData(bars)) and leaves the interface to you. A source of your own is a DataFeed of two methods (getBars, subscribeBars), given as feed wherever an adapter goes; one feed serves any number of charts. For React, Vue and Svelte, @tradecanvas/react, /vue and /svelte wrap it in a component with the same props.

AI coding tools

The agent skill in skills/tradecanvas teaches coding agents the API, with examples that CI type-checks. In Claude Code:

/plugin marketplace add bonguynvan/tradecanvas
/plugin install tradecanvas@tradecanvas

Other agents (Cursor, Codex, Copilot and more): npx skills add bonguynvan/tradecanvas. Or ask any agent to set it all up, the package, the skill and the MCP server, asking you the scope first:

Install TradeCanvas for me by reading https://tradecanvas.dev/llms.txt

Without a skill, llms.txt and llms-full.txt give an assistant the docs in one file. Changing TradeCanvas itself with an agent? AGENTS.md holds the repo's rules.

The MCP server @tradecanvas/mcp looks up indicators, drawing tools, options, feature switches and style keys in the library's own catalog, and checks an options object before it is used (set it up in other clients):

claude mcp add tradecanvas -- npx -y @tradecanvas/mcp

On Windows outside WSL: claude mcp add tradecanvas -- cmd /c npx -y @tradecanvas/mcp. In Git Bash, which runs the ! commands of Claude Code on Windows, write //c: Git Bash turns /c into a path.

Moving an app from TradingView's charting library or Lightweight Charts? The same server maps their options, featuresets, overrides, studies, drawings and methods (migration_plan, migration_lookup, convert_widget_options), and feedFromJsApi keeps the datafeed as it is (Moving from TradingView).

Measured, not claimed: on 24 tasks an agent with the skill finished every run (48 of 48, and 47 of 48 without it), in 10 turns against 15 and 169k tokens against 221k, and went reading the compiled code in 1 run of 48 against 6 (the run, on 2.1.1; the tasks and what they turned up are in evals).

Start from a template

Three small Vite + TypeScript projects to clone and run in a minute, each a GitHub template with a live page:

  • Crypto terminal: the widget on live Binance data, with a watchlist. Live · template
  • Stock chart: NYSE hours, daily bars from a CSV, or your own server through udfFeed. Live · template
  • Workspace: four charts in a 2×2 grid, the crosshair, interval and time linked, the layout saved. Live · template

Documentation

Getting started · From TradingView · API · Indicators · Drawing tools · Realtime · Trading · Styling · Frameworks · Plugins · Phones and apps · Performance

The docs are in English, Tiếng Việt, 简体中文, 日本語, 한국어 and Español. Measurements, limits and how it is tested are on the system audit.

More

  • Packages: @tradecanvas/chart (the chart and the widget), react · vue · svelte, and analytics for backtests, and mcp for coding agents.
  • Previews: every pull request and commit on main is on pkg.pr.new, installable before a release.
  • Browsers: Chrome 80+, Edge 80+, Firefox 80+, Safari 14+.
  • Licence: MIT, one licence for everyone, a personal project or a company's product: no logo to show, nothing to apply for.
  • For businesses: the For businesses page answers an IT review. business@tradecanvas.dev
  • Related: bo-grid, a fast Svelte data grid for the table half of a trading desk.
  • Contributing: questions in Discussions, bugs in the issues, and CONTRIBUTING.md for pull requests. Security issues: SECURITY.md.
  • Sponsor: TradeCanvas is free and built in the open; GitHub Sponsors keeps it going.

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @tradecanvas/chart

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229