실물자산 · ETF perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-QQQ-USDT:USDT | 632.770 | +0.70% | $132.5M | +0.0154% | +5.36 | 0.16 | $37.5K | 1.01 |
| OKX | perpetual-QQQ-USDT:USDT | 632.730 | +0.62% | $41.5M | +0.0160% | +4.59 | 0.16 | $17.4K | 1.05 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Nasdaq 100 ETF (QQQ), `basis`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-QQQ-USDT:USDT"),
("okx-perps", "perpetual-QQQ-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 ETF (QQQ) 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?