現実資産 · Index perp
| 取引所 | Atlas ID | 価格 | 24h | 未決済建玉 | 資金調達率 | ベーシス(bps) | Spread, bps | 最良気配付近の板の厚み | 買い/売り |
|---|---|---|---|---|---|---|---|---|---|
| Hyperliquid | perpetual-XYZ:SP500-USDC:USDC | 7,125.9 | +1.23% | $436.5M | +0.0007% | +3.93 | 0.14 | $101.4K | 1.20 |
| OKX | perpetual-US500-USDT:USDT | 7,135.1 | +1.21% | $318.8K | +0.0060% | +13.6 | 1.56 | $3.3K | 1.87 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# S&P 500 (SP500), `basis`, hourly, on 2 venues
for exchange, symbol in [
("hyperliquid-perps", "perpetual-XYZ:SP500-USDC:USDC"),
("okx-perps", "perpetual-US500-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 S&P 500 (SP500) 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?