RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-MU-USDT:USDT | 872.180 | -6.39% | $120.4M | +0.0008% | +6.11 | 0.11 | $5.7K | 0.89 |
| Hyperliquid | perpetual-XYZ:MU-USDC:USDC | 870.240 | -6.44% | $105.6M | +0.0050% | +6.78 | 0.78 | $17.3K | 0.89 |
| OKX | perpetual-MU-USDT:USDT | 871.870 | -6.42% | $32.7M | +0.0258% | +8.84 | 0.11 | $9.1K | 0.96 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Micron (MU), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-MU-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:MU-USDC:USDC"),
("okx-perps", "perpetual-MU-USDT:USDT"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="basis",
exchange=exchange,
symbol=symbol,
interval="1h",
timestamp="exchange",
start_date=date(2026, 9, 30),
end_date=date(2026, 10, 30),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the Micron (MU) 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?