실물자산 · Stock perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-QCOM-USDT:USDT | 157.140 | +1.39% | $6.1M | +0.0242% | +13.5 | 1.28 | $821 | 1.01 |
| Hyperliquid | perpetual-XYZ:QCOM-USDC:USDC | 156.940 | +1.36% | $2.2M | +0.0029% | +8.29 | 8.32 | $4.2K | 1.35 |
| OKX | perpetual-QCOM-USDT:USDT | 157.090 | +1.35% | $927.9K | 0.0000% | +6.37 | 1.29 | $242 | 0.87 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Qualcomm (QCOM), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-QCOM-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:QCOM-USDC:USDC"),
("okx-perps", "perpetual-QCOM-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 Qualcomm (QCOM) perps on Binance, Hyperliquid and OKX over the last 30 days: how does the premium over the stock (`basis`, `funding`) behave overnight and at weekends, while its market is shut?