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.html in the openalgo-charts repo - a complete single-file terminal shell, no framework.
  • frontend/src/components/trading/ChartPane.tsx and frontend/src/lib/trading/terminal.ts in 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 });
Installs
2
GitHub Stars
34
First Seen
4 days ago
openalgo-chart-terminal — marketcalls/openalgo-charts