Chart (Demo) — Lightweight Charts minimal sample
Minimal Lightweight Charts demonstration. This page renders synthetic OHLC data via TradingView's open-source Lightweight Charts library (~45 KB gzipped, Apache 2.0). NO real prices. NO broker API. NO order routing.
Honest scope: This chart displays deterministic random-walk DEMO data only — there is no live price feed. The page exists solely to demonstrate the analytical-layer architecture (Layer 1) sitting alongside the existing TV widget display-layer (Layer 0). It is NOT a trading platform.
Hover the chart to inspect OHLC values · pinch / drag / wheel to zoom and pan
What this is NOT
- It is DEMO data (synthetic deterministic random walk seeded from a constant). NOT real market prices.
- It does NOT fetch live prices from any broker, exchange, or data feed in this minimal sample.
- It does NOT support placing orders. There is no broker connection. (FIEA / 金商法 line-safe.)
- It does NOT provide investment advice. No buy/sell signals are displayed.
Technical notes
- Library
tradingview/lightweight-charts (Apache 2.0, open-source)- Gzipped size
- ~45 KB (one of the smallest financial-chart libraries available)
- Performance
- 50,000+ candles render smoothly at 60+ FPS (TradingView official benchmarks). Marker overlays remain comfortable to ~15,000 data points.
- Data source
- Synthetic random walk for this minimal sample. Future versions may add OANDA / Twelve Data / Alpha Vantage via WIC backend proxy (API keys never exposed to browser).
- Architecture
- Display layer (TradingView widget on Home) and analytical layer (this chart + future indicators) are physically separated — both can coexist without conflict. No data redistribution from TV widget.