Skip to main content

OHLCV chart

A small, framework free demo that streams live 1 second candles over subscribe_ohlcv (seeded with ohlcv_history) and renders them with KLineChart. Clone it, drop your API key into .env, and you have a working candlestick chart in a minute. It also includes a "pick a live token" button that grabs a freshly launched pool from the free subscribe_new_tokens stream.

The chart below is the same app running in demo mode: the candles are generated in your browser, with no API call and no key. Switch timeframes and use the drawing toolbar to get a feel for it.

To chart a real token, run the app yourself with a funded API key:

OHLCV is a paid stream, so live charting needs a funded API key. The demo mode above is free and entirely client side.