Skip to content

Self Hosted Advanced Charts

Free to use. Embed advanced financial charts with the ChartSpire SDK — self-hosted, with your own market data.

$npm install @chartspire/ui
16synced charts
80+indicators
1npm package
100%self-hosted

Integrate in minutes

01Install

Add @chartspire/ui from npm. One package, JS + CSS.

02Connect data

Implement a custom DataFeed, or use the built-in default and Binance feeds.

03Ship

Deploy on your stack.

typescript
import { ChartSpire, SYMBOL_TYPE } from '@chartspire/ui'
import DefaultDataFeed from '@chartspire/ui/datafeeds/default'
import '@chartspire/ui/style.css'

const chart = new ChartSpire({
  container: document.getElementById('chart-container'),
  enabledSymbolTypes: [SYMBOL_TYPE.CRYPTO],
  symbol: { symbol: 'BTCUSDT', type: SYMBOL_TYPE.CRYPTO },
  interval: { multiplier: 1, timespan: 'day', text: '1D' },
  theme: 'Dark Theme',
  dataFeed: new DefaultDataFeed({
    http: { baseUrl: 'https://api.example.com', endpoints: { /* your endpoints */ } },
  }),
})

See Getting Started for CDN usage, backend wiring, and full options.

Capabilities

Workspace

Multi-chart workspaces, fully synced

Run up to 16 charts in one layout. Crosshairs, symbols, intervals, time ranges, and drawings stay aligned as you move between charts.

Crosshair syncSymbol syncInterval syncTime syncDrawing sync

Data

Bring your own feed

Crypto, stocks, forex, futures — implement the DataFeed interface and the workspace runs on your data.

searchSymbols()getHistoricalTimeSeries()subscribeSymbol()

Analysis

Technical analysis toolkit

80+ indicators with drawing tools, Fibonacci, Gann, and risk/reward overlays — plus custom indicator registration.

Charts

Every chart type

Solid and hollow candles, OHLC bars, line, area, Heikin-Ashi, and Renko — switch via UI or API.

Configuration

Extremely configurable

Shape the workspace to your product — themes, styles, menus, layouts, localization, feature flags, and persisted state — all wired through options and APIs, not forks.

Themes & stylesCustom menusLayoutsLocalizationFeature togglesPersisted state

Also included

30+ layout presetsSaved layoutsDrawing toolsFibonacci & GannCustom indicatorsVolume ProfileBinance feedDefault DataFeedCrypto, stocks, forex & futuresOrder bookLive tradesWatchlistsObject treeCustom menusInternationalizationBuilt-in themesScreenshot captureBackend layout storage