RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SNDK-USDT:USDT | 1,135.6 | -14.91% | $278.9M | +0.0382% | +2.92 | 0.079 | $12.0K | 0.91 |
| OKX | perpetual-SNDK-USDT:USDT | 1,135.5 | -14.94% | $101.9M | +0.0491% | +6.08 | 0.78 | $46.6K | 0.86 |
| Hyperliquid | perpetual-XYZ:SNDK-USDC:USDC | 1,132.9 | -15.01% | $132.1M | +0.0056% | +5.30 | 0.83 | $56.4K | 0.89 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# SanDisk (SNDK), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-SNDK-USDT:USDT"),
("okx-perps", "perpetual-SNDK-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:SNDK-USDC:USDC"),
]:
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 SanDisk (SNDK) 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?