openalgo-chart-terminal
Installation
SKILL.md
Build or extend a terminal. This is the largest thing you can build with this library, so build it in the order below and get each layer working before starting the next.
Two working references exist. Read the one closer to the user's stack before writing code:
examples/yfinance/index.htmlin the openalgo-charts repo - a complete single-file terminal shell, no framework.frontend/src/components/trading/ChartPane.tsxandfrontend/src/lib/trading/terminal.tsin the OpenAlgo application repo - a production React terminal. Its central lesson: keep chart orchestration in a plain TypeScript module and let React own only the DOM shell.
Build order
1. Chart and data
import { createChart, OpenAlgoLiveDataFeed } from 'openalgo-charts';
const chart = createChart(el, { theme: darkTheme, crosshairMode: 'magnet' });
const price = chart.addSeries('candlestick');
const volume = chart.addSeries('histogram', { paneIndex: 1 });