
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@tradecanvas/core
Advanced tools
Canvas rendering engine, indicators, drawing tools, trading overlays, and real-time streaming for the @tradecanvas/chart library.
Live Demo | GitHub | Documentation
You don't need to install this package directly. It's included as a dependency of @tradecanvas/chart.
npm install @tradecanvas/chart
Multi-layer canvas rendering for optimal performance -- only dirty layers repaint each frame:
UI Layer (price axis, legend, live price) z=3
Overlay Layer (drawings, trading positions/orders) z=2
Main Layer (candles, indicators, volume) z=1
Background (grid, watermark) z=0
RenderEngine -- orchestrates the render pipelineLayerManager -- manages canvas layer stackRenderLoop -- requestAnimationFrame loop with dirty trackingDPRManager -- device pixel ratio handling for crisp renderingCandlestickRenderer, HollowCandleRenderer, BarRenderer, LineRenderer, AreaRenderer, BaselineRenderer, RenkoRenderer, KagiRenderer, PointAndFigureRenderer, VolumeRenderer, CompareRenderer
Data transforms: toHeikinAshi, toRenko, toLineBreak, toKagi, toPointAndFigure
Overlay (on price chart): SMA, EMA, Bollinger Bands, Keltner Channel, Donchian Channel, Ichimoku Cloud, Parabolic SAR, Supertrend, VWAP
Panel (separate sub-chart): RSI, MACD, Stochastic, ATR, ADX, CCI, CMF, MFI, OBV, ROC, TSI, Williams %R, Volume Profile, VROC, Standard Deviation, Accumulation/Distribution, Aroon
Extensible via IndicatorBase for custom indicators.
Trendline, Horizontal/Vertical Lines, Ray, Extended Line, Parallel Channel, Fibonacci Retracement/Extension, Rectangle, Ellipse, Triangle, Arrow, Pitchfork, Gann Fan/Box, Elliott Wave, Regression Channel, Date/Price Range, Measure, Anchored VWAP, Volume Profile Range, Text Annotation
All tools support magnet snapping, undo/redo, and serialization. Extensible via DrawingBase.
TradingManager -- manage positions and ordersTradingRenderer -- render entry lines, P&L zones, SL/TP markersOrderRenderer -- render pending orders with drag-to-modifyDepthOverlay -- bid/ask depth visualizationStreamManager -- manage data connections with auto-reconnectBinanceAdapter -- built-in Binance WebSocket adapterMockAdapter -- testing and demo dataTickAggregator -- aggregate raw ticks into OHLC barsReconnectManager -- exponential backoff reconnectionAlertManager -- price and indicator alertsReplayManager -- bar-by-bar historical replayChartStateManager -- save/load chart state as JSONUndoRedoManager -- undo/redo for drawingsDataExporter -- export visible/all data as CSV or JSONChartLegend -- OHLCV overlay displayScreenshot -- export chart as PNGWatermark -- background text watermarkBarCountdown -- time until candle closeSessionBreaks -- market session visualizationFAQs
Canvas rendering engine for @tradecanvas/chart
We found that @tradecanvas/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.