現実資産 · ETF perp
| 取引所 | Atlas ID | 価格 | 24h | 未決済建玉 | 資金調達率 | ベーシス(bps) | Spread, bps | 最良気配付近の板の厚み | 買い/売り |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SPY-USDT:USDT | 711.640 | +1.04% | $41.2M | +0.0045% | +2.88 | 0.14 | $43.8K | 0.92 |
| OKX | perpetual-SPY-USDT:USDT | 711.720 | +1.03% | $10.0M | +0.0033% | +3.65 | 0.14 | $13.3K | 1.14 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# S&P 500 ETF (SPY), `basis`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-SPY-USDT:USDT"),
("okx-perps", "perpetual-SPY-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 ETF (SPY) perps on Binance and OKX over the last 30 days: how does the premium over the ETF (`basis`, `funding`) behave overnight and at weekends, while its market is shut?