Real-world asset · Index perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Hyperliquid | perpetual-XYZ:JP225-USDC:USDC | 56,654.0 | -5.16% | $3.0M | +0.0036% | +5.30 | 6.46 | $9.3K | 1.02 |
| OKX | perpetual-JP225-USDT:USDT | 56,829.0 | -4.86% | $162.7K | +0.0116% | +16.7 | 21.8 | $2.8K | 2.18 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Nikkei 225 (JP225), `basis`, hourly, on 2 venues
for exchange, symbol in [
("hyperliquid-perps", "perpetual-XYZ:JP225-USDC:USDC"),
("okx-perps", "perpetual-JP225-USDT:USDT"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="basis",
exchange=exchange,
symbol=symbol,
interval="1h",
timestamp="exchange",
start_date=date(2026, 10, 21),
end_date=date(2026, 11, 20),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the Nikkei 225 (JP225) perps on Hyperliquid and OKX over the last 30 days: how does the premium over the index (`basis`, `funding`) behave while the cash market is shut?