Python function: getOHLCV()
| Specification | Value |
|---|
| Delivery Frequency | continuous |
| Data Frequency | daily |
| Reporting Lag | Continuous (24/7 crypto markets) |
| Coverage | 74 tokenized assets (70 xStocks + 4 PreStocks) on Solana DEXs |
| Availability | Free |
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:
| Ticker | Company |
|---|
T:SPACEX | SpaceX |
T:OPENAI | OpenAI |
T:ANTHROPIC | Anthropic |
T:ANDURIL | Anduril |
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
| Mode | Trigger | Notes |
|---|
| Daily historical | start/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
| Parameter | Type | Required | Description |
|---|
tickers | list of str | Yes | Tokenized asset tickers with T: prefix (e.g., ['T:AAPLx', 'T:SPACEX']). |
start | str | Yes | Start date ('YYYY-MM-DD'). |
end | str | Yes | End date ('YYYY-MM-DD'). |
timeframe | str | No | 'day' (default). |
Column Definitions
OHLCV Schema
| Column | Type | Description |
|---|
ts_recv | datetime64[ns] | Bar timestamp (trading date). |
ticker | string | Tokenized asset ticker (e.g., T:AAPLx, T:SPACEX). |
open | float64 | Opening price of the bar. |
high | float64 | Highest price during the bar. |
low | float64 | Lowest price during the bar. |
close | float64 | Closing price of the bar. |
volume | float64 | Trading volume during the bar (in token units). |