실물자산 · Index perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Hyperliquid | perpetual-XYZ:JP225-USDC:USDC | 56,556.0 | — | $2.7M | +0.0006% | +0.35 | 6.96 | $5.5K | 0.66 |
| OKX | perpetual-JP225-USDT:USDT | 56,533.0 | — | $181.3K | 0.0000% | +11.6 | 29.9 | $1.5K | 0.67 |
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, 24),
end_date=date(2026, 11, 23),
)
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?