About mmt-tradingview-charts
A skill for building charting applications that display MMT market data with TradingView Lightweight Charts. It covers historical and streaming data, chart interactions, and React integration.
Key features
- 01Map MMT data to chart series
- 02Update candles and trades from WebSocket streams
- 03Create synchronized multi-pane charts
- 04Overlay volume, funding rate, and open interest
- 05Load historical data and switch symbols or timeframes
- 06Manage tooltips and chart lifecycle
Use cases
- 01Render live MMT candlesticks and trades
- 02Compare multiple symbols on one chart
- 03Add market indicators alongside price data
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ emeraldls/ mmt-api-skills --skill mmt-tradingview-chartsAfter installing, type/mmt-tradingview-chartsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
rules/chart-initialization.mddata-historical-loading.mddata-mapping-mmt-to-tv.mddata-timeframe-switching.mdindicator-funding-rate.mdindicator-open-interest.mdindicator-volume-histogram.mdinteraction-chart-lifecycle.mdinteraction-crosshair-tooltips.mdmulti-pane-layout.mdmulti-symbol-comparison.mdreact-integration-patterns.mdrealtime-candlestick-updates.mdrealtime-trade-ticker.mdDetails
From the project READMEMMT + TradingView Lightweight Charts
Rules for building charting applications that render MMT market data using TradingView Lightweight Charts (v5.x).
Chart Setup
- Chart Initialization: createChart config, container setup, autoSize, dark/light themes
- Data Mapping: transform MMT types (OHLCVTPublic, etc.) to Lightweight Charts format
Real-Time Updates
- Live Candlestick Updates: WS candle stream to series.update(), handling candle close vs in-progress
- Live Trade Ticker: WS trade stream to line/marker overlays, trade volume histogram
Multi-Chart Patterns
- Multi-Pane Layout: price + volume + indicator panes, synchronized time scales
- Multi-Symbol Comparison: overlay multiple symbols, normalize price scales
Indicators & Overlays
- Volume Histogram: buy/sell volume from MMT candles as colored histogram
- Funding Rate Overlay: stats channel funding rate as line/baseline series
- Open Interest Overlay: OI candles as area/line on separate pane
Data Management
- Historical Data Loading: REST fetch to setData, pagination for long ranges, loading states
- Timeframe & Symbol Switching: clear stores, flush timers, reload on tf/symbol/exchange change
Interaction
- Crosshair & Tooltips: subscribeCrosshairMove, custom tooltip with MMT data fields
- Chart Lifecycle: React/framework integration, cleanup, resize, memory management
Framework Integration
- React Integration Patterns: hooks, refs, lifecycle, state management, performance patterns
Comments
Markdown supported