Open-source charting library for React

Professional financial charts, ready out of the box

Candlesticks to Renko, 50 indicators, drawing tools and live data. TradingView-class features under the MIT license, with no fees.

npm install astroneum
A live-updating Bitcoin price chart

Everything a trading UI needs

Every chart type

Candlestick, hollow candles, OHLC bars, line, area, Heikin-Ashi, Renko and range bars, all updating live.

See them all →

50 indicators

Moving averages, MACD, RSI, Bollinger Bands, Ichimoku and more. Add your own with plugins or the Pine-style script editor.

Drawing tools

Trend lines, Fibonacci, Gann, pitchforks, Elliott waves and harmonic patterns, with magnet snapping, undo and redo.

Live data

Real-time crypto feeds built in. Bring any other source with a four-method datafeed interface and smooth tick animation.

Datafeed guide →

Fast by design

WebGL2 rendering with a Canvas2D fallback. Optional Web Worker indicators and an offline history cache for large datasets.

Speed and offline →

Built for apps

TypeScript types, SSR-safe for Next.js, 18 languages, and dark, light and high-contrast themes.

One market, eight ways to draw it

Each type runs on live data. Open one to try it, then switch between them in the demo.

Get started in a minute

  1. Install the package. React 18 or 19 is a peer dependency.
    npm install astroneum
  2. Render a chart with a datafeed.
    import { AstroneumChart, createStandardCryptoDatafeed, STANDARD_CRYPTO_SYMBOLS } from 'astroneum'
    import 'astroneum/style.css'
    
    const datafeed = createStandardCryptoDatafeed()
    
    export default function App() {
      return (
        <AstroneumChart
          symbol={STANDARD_CRYPTO_SYMBOLS[0]}
          period={{ multiplier: 1, timespan: 'hour', text: '1H' }}
          datafeed={datafeed}
          theme="dark"
          style={{ width: '100%', height: 560 }}
        />
      )
    }

New to charting libraries? The step-by-step guide builds a working chart in ten steps, with a live example next to every one.

Resources