실물자산 · Stock perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-AMZN-USDT:USDT | 257.000 | +0.52% | $15.8M | +0.0120% | +9.24 | 0.39 | $2.0K | 0.81 |
| Hyperliquid | perpetual-XYZ:AMZN-USDC:USDC | 256.700 | +0.67% | $26.0M | +0.0008% | +4.68 | 1.17 | $4.9K | 0.93 |
| OKX | perpetual-AMZN-USDT:USDT | 257.040 | +0.56% | $5.1M | +0.0099% | +9.27 | 0.39 | $819 | 0.56 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Amazon (AMZN), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-AMZN-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:AMZN-USDC:USDC"),
("okx-perps", "perpetual-AMZN-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 Amazon (AMZN) 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?