Klar

Charts / React finance charts / Markets

Candlestick with volume

Daily OHLC candles over a shared-axis volume pane, with moving averages, an optional Bollinger band and a crosshair readout of every session.

React component Candlestick, data through props. Prices, order books, curves and risk: the vocabulary of a trading desk. Tags: candlestick, ohlc, stocks, trading, volume, moving-average, bollinger, price.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, Candlestick } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/fin-candlestick.json

Usage

<Candlestick className="mt-4" data={candles} symbol="ARCS" height={470} hollow={style === 'hollow'} bollinger={bands === 'bb'} />

Related candlestick with volume charts