Docs

Astroneum documentation

Astroneum is a React charting library for financial data: candlesticks and eight other chart types, about 50 indicators, drawing tools and live updates. These guides use real charts you can drag, zoom and click, so you see what each setting does.

Where to start

A chart in twelve lines

This is the whole component. The chart on the right is it, running on a simulated market. It updates every second; drag it to pan, scroll to zoom.

App.tsx
import { AstroneumChart } from 'astroneum'
import 'astroneum/style.css'

export default function App() {
  return (
    <AstroneumChart
      symbol={symbol}
      period={{ multiplier: 1, timespan: 'minute', text: '1m' }}
      datafeed={datafeed}
      theme="dark"
      style={{ width: '100%', height: 420 }}
    />
  )
}

The big picture

Astroneum is a React component on top of a drawing engine. You give it a datafeed (where bars come from) and some settings; the engine turns bars into pixels.

Your app supplies a datafeed and props. The engine does the drawing, without any React.