Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SMCI-USDT:USDT | 22.990 | -8.33% | $5.5M | +0.0247% | +2.50 | 4.32 | $2.9K | 0.98 |
| OKX | perpetual-SMCI-USDT:USDT | 23.000 | -8.37% | $515.4K | +0.0046% | -4.35 | 12.3 | $1.6K | 0.60 |
| Hyperliquid | perpetual-PARA:SMCI-USDC:USDC | 23.000 | — | $351.0K | +0.0083% | +17.4 | 26.4 | $6.6K | 2.32 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Super Micro Computer (SMCI), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-SMCI-USDT:USDT"),
("okx-perps", "perpetual-SMCI-USDT:USDT"),
("hyperliquid-perps", "perpetual-PARA:SMCI-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, 21),
end_date=date(2026, 11, 20),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the Super Micro Computer (SMCI) 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?