RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-META-USDT:USDT | 614.300 | -2.40% | $24.8M | 0.0000% | +1.00 | 0.16 | $2.3K | 0.96 |
| Hyperliquid | perpetual-XYZ:META-USDC:USDC | 613.290 | -2.47% | $113.3M | +0.0017% | +5.22 | 0.98 | $14.3K | 0.88 |
| OKX | perpetual-META-USDT:USDT | 614.190 | -2.42% | $4.4M | 0.0000% | +2.44 | 0.49 | $970 | 0.73 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Meta (META), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-META-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:META-USDC:USDC"),
("okx-perps", "perpetual-META-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 Meta (META) 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?