Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-MRNA-USDT:USDT | 196.830 | -0.65% | $2.1M | 0.0000% | -12.4 | 2.47 | $341 | 1.05 |
| Hyperliquid | perpetual-XYZ:MRNA-USDC:USDC | 196.670 | -0.51% | $5.2M | -0.0009% | -7.11 | 3.53 | $2.8K | 1.03 |
| OKX | perpetual-MRNA-USDT:USDT | 196.760 | -0.64% | $1.4M | 0.0000% | -4.06 | 2.05 | $273 | 0.98 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Moderna (MRNA), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-MRNA-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:MRNA-USDC:USDC"),
("okx-perps", "perpetual-MRNA-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, 21),
end_date=date(2026, 11, 20),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the Moderna (MRNA) 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?