Skip to main content
Python function: getOHLCV()
SpecificationValue
Delivery Frequencycontinuous
Data Frequencydaily
Reporting LagContinuous (24/7 crypto markets)
Coverage74 tokenized assets (70 xStocks + 4 PreStocks) on Solana DEXs
AvailabilityFree

Product Overview

Overview

Tokenized Asset OHLCV provides standardized Open, High, Low, Close, and Volume price bars for tokenized equities and pre-IPO tokens traded on Solana decentralized exchanges (DEXs). These are on-chain representations of traditional securities and pre-public companies, enabling exposure to assets like Apple, NVIDIA, SpaceX, and OpenAI through blockchain-native instruments. Tickers use the T: prefix convention. There are two categories:
  • xStocks (70 tokens): Tokenized versions of publicly traded equities and ETFs — e.g., T:AAPLx, T:NVDAx, T:SPYx. These track the price of the underlying traditional security.
  • PreStocks (4 tokens): Tokenized pre-IPO equity — e.g., T:SPACEX, T:OPENAI, T:ANTHROPIC, T:ANDURIL. These provide price discovery for companies not yet publicly listed.

Data Pipeline

Tokenized asset OHLCV data is sourced from on-chain decentralized exchange activity on the Solana blockchain via Birdeye, a leading Solana DeFi analytics and data aggregation platform:
  • Birdeye OHLCV aggregation: OHLCV candles are fetched from Birdeye’s DeFi OHLCV endpoint, which indexes and aggregates trade activity across Solana DEXs (primarily Jupiter) for each token mint. Birdeye continuously tracks on-chain swaps, computing open/high/low/close prices and volume for configurable time intervals.
  • Mint-based resolution: Each tokenized asset is identified by its Solana mint address internally. The T: ticker prefix is mapped to the corresponding mint for data retrieval from Birdeye.
  • USD denomination: All prices are denominated in USD, converted from on-chain token values using Birdeye’s real-time pricing oracle.

Coverage

xStocks (70 tokens)

Tokenized public equities and ETFs: T:AAPLx, T:AMZNx, T:GOOGLx, T:MSFTx, T:NVDAx, T:METAx, T:TSLAx, T:JPMx, T:Vx, T:UNHx, T:MSTRx, T:COINx, T:PLTRx, T:CRWDx, T:HOODx, T:SPYx, T:QQQx, T:IWMx, T:GLDx, T:SLVx, and 50 more.

PreStocks (4 tokens)

Tokenized pre-IPO companies:
TickerCompany
T:SPACEXSpaceX
T:OPENAIOpenAI
T:ANTHROPICAnthropic
T:ANDURILAnduril

Data Availability

  • Daily history: Available from when each token was first listed on Solana DEXs.
  • Update frequency: Continuous during trading activity (crypto markets operate 24/7).

Supported Modes

ModeTriggerNotes
Daily historicalstart/end as 'YYYY-MM-DD'Timeframe defaults to 'day'.

Querying the Data

Basic Usage

from scalarlib import getOHLCV

# Daily bars for tokenized Apple and NVIDIA
data = getOHLCV(tickers=['T:AAPLx', 'T:NVDAx'], start='2025-06-01', end='2025-12-31')
aaplx_df = data['T:AAPLx']

# Pre-IPO tokens
data = getOHLCV(tickers=['T:SPACEX', 'T:OPENAI'], start='2025-06-01', end='2025-12-31')

# Mix tokenized with traditional equities
data = getOHLCV(
    tickers=['AAPL', 'T:AAPLx', 'T:SPACEX'],
    start='2025-06-01', end='2025-12-31'
)

Parameters

ParameterTypeRequiredDescription
tickerslist of strYesTokenized asset tickers with T: prefix (e.g., ['T:AAPLx', 'T:SPACEX']).
startstrYesStart date ('YYYY-MM-DD').
endstrYesEnd date ('YYYY-MM-DD').
timeframestrNo'day' (default).

Column Definitions

OHLCV Schema

ColumnTypeDescription
ts_recvdatetime64[ns]Bar timestamp (trading date).
tickerstringTokenized asset ticker (e.g., T:AAPLx, T:SPACEX).
openfloat64Opening price of the bar.
highfloat64Highest price during the bar.
lowfloat64Lowest price during the bar.
closefloat64Closing price of the bar.
volumefloat64Trading volume during the bar (in token units).