실물자산 · ETF perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SQQQ-USDT:USDT | 51.440 | -3.14% | $11.1M | 0.0000% | +3.66 | 1.88 | $9.3K | 1.04 |
| OKX | perpetual-SQQQ-USDT:USDT | 51.410 | -3.11% | $3.3M | 0.0000% | 0.00 | 1.89 | $2.0K | 1.04 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Nasdaq 100 Short 3x ETF (SQQQ), `basis`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-SQQQ-USDT:USDT"),
("okx-perps", "perpetual-SQQQ-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 Short 3x ETF (SQQQ) 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?