TradingView
Browser based charting, screening and alerting across stocks, futures, forex and crypto, with a scripting language and a large community of published indicators.
The chart widget itself is not the product, and TradingView proved that by open sourcing a perfectly good one: lightweight-charts is MIT licensed and you can have candles on screen in an afternoon. What you cannot build is the data pipe behind it. Real-time consolidated equity, futures and options feeds are licensed per exchange, per user, with entitlement checks and redistribution rules, and the free endpoints you will end up scraping are delayed, rate limited and quietly break. On top of that sits Pine Script and roughly a decade of community published indicators and strategies, plus screeners over every listed symbol, alerts that fire while your laptop is shut, and broker order routing. A local build gives you crypto in real time and equities on a delay, which is either fine or completely useless depending on your time horizon.
Build verification: not recorded. How we judge buildability
What you give up
- Licensed real-time exchange data for equities, futures and options; free sources are delayed and fragile
- Pine Script and the enormous library of published indicators and strategies other people already wrote
- Server side alerts that fire when your device is off, plus push and email delivery
- Screeners and scanners over every listed symbol, and multi-market symbol coverage in general
- Polished mobile and desktop apps with drawings and watchlists synced across all of them
- Broker connections and one click order entry from the chart
Why people still pay
Because the subscription is mostly a data and uptime bill wearing a charting UI. Traders pay so that real-time quotes are entitled and correct, so alerts fire at 2am without a laptop being awake, so the same watchlist and drawings appear on phone and desktop, and so the indicator they read about on a forum is one click away instead of a weekend of reimplementation. For anyone whose decisions happen on a daily or weekly candle, though, the paid tiers are largely convenience, and a local build genuinely covers it.
Your build guide
The stack, security requirements, and agent rules for a focused replacement.
Before you start
- Node 20 plus
- A machine left running if you want alerts to fire
- Tolerance for delayed or rate limited free equity data
- Binance or similar public API for anything that needs to be genuinely real time
Use these project rules and optional skill references alongside the prompt. Review each skill before adding it to your agent; the AGENTS.md export includes the same guidance.
Project rule, data: Model accounts, source transactions, ledger entries, reconciliations, and reports; keep stable source IDs and timestamps.
Project rule, behavior: Crypto: Binance public REST klines endpoint, no key needed, treat this as the real-time path.
Project rule, recovery: If Binance or similar public API for anything that needs to be genuinely real time is unavailable, keep the source record and show a recoverable error instead of a fabricated result.
Implementation plan
Phase 1, architecture and data
Vite + React + TypeScript for the UI. Model accounts, source transactions, ledger entries, reconciliations, and reports; keep stable source IDs and timestamps.
Phase 2, implement
Crypto: Binance public REST klines endpoint, no key needed, treat this as the real-time path.
Phase 3, implement
Equities and ETFs: Stooq daily CSV as the default source, with an optional adapter interface so another provider can be dropped in via .env.
Phase 4, review and output
Candlestick chart with timeframe switcher: 1m, 5m, 1h, 1d, 1w. Deliverables: working repo, README with setup and a blunt "data limitations" section, seed script for symbols, and vitest coverage on the indicator math and the cache-gap logic.
Phase 5, recovery and acceptance
If Binance or similar public API for anything that needs to be genuinely real time is unavailable, keep the source record and show a recoverable error instead of a fabricated result. Verify this invariant with a saved fixture: The sum of debits and credits must balance for posted entries; an import retry cannot change the closing balance. State the practical limit: Licensed real-time exchange data for equities, futures and options; free sources are delayed and fragile.
Build a local-first market charting app called "deskchart". Single user, runs on my machine, no accounts, no telemetry, no cloud. Stack, not negotiable: - Vite + React + TypeScript for the UI - lightweight-charts (MIT, from TradingView) for rendering candles and overlays - A small Express + TypeScript server in the same repo as a data proxy and cache - SQLite via better-sqlite3 for candle cache, watchlists and alerts - pnpm workspaces, one command to run both: pnpm dev Data: - Crypto: Binance public REST klines endpoint, no key needed, treat this as the real-time path - Equities and ETFs: Stooq daily CSV as the default source, with an optional adapter interface so another provider can be dropped in via .env - Cache every fetched candle range in SQLite and only request the missing tail on reload - Put any API keys in .env, read via a single config module, ship .env.example. Never hardcode secrets - Print a visible "DELAYED" badge on any symbol whose source is not real time. Do not pretend otherwise Features in scope: - Symbol search over a locally seeded symbol list, watchlists stored in SQLite - Candlestick chart with timeframe switcher: 1m, 5m, 1h, 1d, 1w - Indicator overlays computed client side: SMA, EMA, VWAP, RSI and MACD in a lower pane - Persisted horizontal price lines and trendlines per symbol, saved to SQLite - Simple alerts: price crosses above or below a level. Server polls every 60s and fires a desktop notification via node-notifier plus a row in an alerts log - Dark theme, keyboard shortcuts for timeframe and symbol switching Explicitly out of scope, do not attempt: - Any scripting language or Pine Script compatibility - Broker connections or order entry - Social feed, published ideas, comments - Multi-user auth, hosted deployment, mobile apps - Scraping any paid or authenticated data feed Deliverables: working repo, README with setup and a blunt "data limitations" section, seed script for symbols, and vitest coverage on the indicator math and the cache-gap logic.
$ open in your agent (prompt prefilled, you press enter), copy the prompt or copy AGENTS.md · generated from this app's build plan
prompt copied. want to know what dies next week?
new verdicts + top votes, weekly. free. one-click out.
No prior-art project is listed yet. Compare the scoped build with the paid product before choosing.
Questions about TradingView
Can you build your own TradingView with AI?
A full replacement is not the recommended project. The chart widget itself is not the product, and TradingView proved that by open sourcing a perfectly good one: lightweight-charts is MIT licensed and you can have candles on screen in an afternoon. What you cannot build is the data pipe behind it. Real-time consolidated equity, futures and options feeds are licensed per exchange, per user, with entitlement checks and redistribution rules, and the free endpoints you will end up scraping are delayed, rate limited and quietly break. On top of that sits Pine Script and roughly a decade of community published indicators and strategies, plus screeners over every listed symbol, alerts that fire while your laptop is shut, and broker order routing. A local build gives you crypto in real time and equities on a delay, which is either fine or completely useless depending on your time horizon.
What does the TradingView build prompt cover?
The prompt starts with this scope: A local charting app that pulls daily and intraday candles from free public endpoints, caches them in SQLite, renders them with lightweight-charts, and polls a handful of price alerts you define yourself. Full-product capabilities excluded from the comparison include: Licensed real-time exchange data for equities, futures and options; free sources are delayed and fragile; Pine Script and the enormous library of published indicators and strategies other people already wrote; Server side alerts that fire when your device is off, plus push and email delivery. Follow the implementation plan and its prerequisites before expanding the build.
How do I use the prompt, AGENTS.md and agent skills?
Start with the TradingView prerequisites and stack, then copy the prompt into your coding agent. Save the project rules as AGENTS.md in the project root. Linked skills are optional packages or source instructions for specific tasks; review their current contents and install only those matching the chosen stack. A skill does not supply API credentials or verify the finished app.
How long will this TradingView project take?
The catalogue estimate is a weekend for the limited scope. Setup, integration approvals, debugging, deployment and ongoing maintenance can add time. This is an estimate, not a delivery guarantee.
What would I give up by replacing TradingView?
Licensed real-time exchange data for equities, futures and options; free sources are delayed and fragile; Pine Script and the enormous library of published indicators and strategies other people already wrote; Server side alerts that fire when your device is off, plus push and email delivery; Screeners and scanners over every listed symbol, and multi-market symbol coverage in general; Polished mobile and desktop apps with drawings and watchlists synced across all of them; Broker connections and one click order entry from the chart. Because the subscription is mostly a data and uptime bill wearing a charting UI. Traders pay so that real-time quotes are entitled and correct, so alerts fire at 2am without a laptop being awake, so the same watchlist and drawings appear on phone and desktop, and so the indicator they read about on a forum is one click away instead of a weekend of reimplementation. For anyone whose decisions happen on a daily or weekly candle, though, the paid tiers are largely convenience, and a local build genuinely covers it.
What price is this guide comparing against?
The recorded Essential plan is $14.95/mo (monthly per account), checked 2026-08-18. Check the linked pricing source before buying. Building your own also has hosting, API and maintenance costs; the recorded amount is not a guaranteed saving.
What can I use instead of building TradingView?
No alternative is listed in this entry yet. That is a gap in this catalogue, not proof that no suitable product exists. Compare the paid product and the proposed scope before committing to a build.