現実資産 · Index perp
| 取引所 | Atlas ID | 価格 | 24h | 未決済建玉 | 資金調達率 | ベーシス(bps) | Spread, bps | 最良気配付近の板の厚み | 買い/売り |
|---|---|---|---|---|---|---|---|---|---|
| Hyperliquid | perpetual-XYZ:XYZ100-USDC:USDC | 25,976.0 | +1.22% | $381.5M | +0.0013% | +4.62 | 0.39 | $128.8K | 1.00 |
| OKX | perpetual-US100-USDT:USDT | 26,006.0 | +1.19% | $551.0K | +0.0053% | +4.74 | 3.12 | $4.6K | 1.88 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Nasdaq 100 index (US100), `basis`, hourly, on 2 venues
for exchange, symbol in [
("hyperliquid-perps", "perpetual-XYZ:XYZ100-USDC:USDC"),
("okx-perps", "perpetual-US100-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 Nasdaq 100 index (US100) 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?