Lightweight Charts
by @TradingViewCOMMUNITY· Updated Nov 10, 2026
- 17,943GitHub stars
- Nevertrades
Lightweight Charts is TradingView's open-source charting library for fast financial charts, so an agent can render candles and trade markers from Moby data in a small web page.
About
Lightweight Charts is an open-source (Apache-2.0) JavaScript library from TradingView for interactive financial charts. It draws candlestick, bar, line, area, baseline and histogram series on HTML canvas, stays small, and handles large data sets smoothly.
What it adds to Moby. A quick way for an agent to turn Moby candles and fills into a chart you can look at. Useful for a review page that shows where your agent bought and sold, or a watchlist dashboard you host yourself.
How to pair it. npm install lightweight-charts, have the agent pull candles for a token through the Moby MCP, write them to JSON, and load them into a candlestick series. Add markers for your agent's entries and exits.
What it does not do. It does not fetch data or place trades. It only draws what you give it. TradingView asks for attribution when you use it; see the license notes in the repo.
What's inside this repo
- Open-source TradingView library, Apache-2.0
- Candlestick, bar, line, area and histogram series
- Small, canvas-based, handles large data sets
- Markers for entries and exits
Install steps
Third-party code: Moby does not audit or control it. Read the source before you run it.
npm install lightweight-charts.- Pull candles for a token through the Moby MCP and save them as JSON.
- Load them into a candlestick series and add markers for your agent's trades.
- Ask:
Chart the last 24 hours of <token> candles from Moby with Lightweight Charts and mark my agent's fills.
Permissions
- Reads
- Data you load into the chart
- Writes
- A chart in the web page you build
- Tools
- JavaScript library `lightweight-charts`
- Trade
- Never trades
Review
Curated listing. Moby did not audit the code.
Links
On GitHub
tradingview/lightweight-charts
- Stars
- 17,943
- Forks
- 2,736
How it works with Moby
Lightweight Charts works on its own. With Moby your agent can also trade on what it finds.
- Set up AI Trading
In the Moby app: create your agent and fund its Solana wallet.
Get the app - Connect Moby MCP
Whale, KOL and smart-money data, plus buy, sell, SL and TP from the agent wallet.
View Moby MCP - Install Lightweight Charts
Your agent runs it alongside Moby's onchain data and trades inside your Guardrails.
Install
Related
- APSchedulerAPScheduler is an open-source Python job scheduler, so your agent…
- CCXTCCXT is a unified library for crypto exchange market data, balances…
- CryptofeedCryptofeed is a Python websocket handler for live cryptocurrency…
- DuckDBDuckDB is an in-process analytical database for SQL over local and…
- Moby MCP connectorConnect any MCP-capable agent to Moby for live onchain research on…
- Moby KnowledgeThe /agents page and agents.md as your agent's Moby reference: how…
Curated listing. Moby did not audit the code · Report this item
