실물자산 · Stock perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-MSFT-USDT:USDT | 503.660 | +0.46% | $17.5M | 0.0000% | +3.99 | 0.20 | $2.2K | 0.95 |
| Hyperliquid | perpetual-XYZ:MSFT-USDC:USDC | 502.770 | +0.50% | $21.5M | +0.0006% | -0.20 | 1.00 | $5.5K | 1.12 |
| OKX | perpetual-MSFT-USDT:USDT | 503.640 | +0.47% | $5.1M | 0.0000% | +5.36 | 0.40 | $1.1K | 0.82 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Microsoft (MSFT), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-MSFT-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:MSFT-USDC:USDC"),
("okx-perps", "perpetual-MSFT-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 Microsoft (MSFT) 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?