실물자산 · Stock perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-MSTR-USDT:USDT | 84.960 | +2.65% | $46.6M | 0.0000% | +9.10 | 1.20 | $4.6K | 0.99 |
| OKX | perpetual-MSTR-USDT:USDT | 84.970 | +2.65% | $12.9M | 0.0000% | +8.24 | 1.20 | $2.2K | 0.96 |
| Hyperliquid | perpetual-XYZ:MSTR-USDC:USDC | 84.709 | +2.58% | $20.3M | +0.0006% | +1.53 | 1.77 | $9.5K | 0.91 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Strategy (MSTR), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-MSTR-USDT:USDT"),
("okx-perps", "perpetual-MSTR-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:MSTR-USDC:USDC"),
]:
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 Strategy (MSTR) perps on Binance, OKX and Hyperliquid over the last 30 days: how does the premium over the stock (`basis`, `funding`) behave overnight and at weekends, while its market is shut?