RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-HOOD-USDT:USDT | 83.330 | -8.37% | $11.2M | 0.0000% | 0.00 | 1.16 | $880 | 0.92 |
| Hyperliquid | perpetual-XYZ:HOOD-USDC:USDC | 83.214 | -8.43% | $17.3M | +0.0032% | +4.45 | 1.71 | $8.3K | 0.67 |
| OKX | perpetual-HOOD-USDT:USDT | 83.320 | -8.41% | $2.5M | 0.0000% | +6.01 | 3.31 | $727 | 0.84 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Robinhood (HOOD), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-HOOD-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:HOOD-USDC:USDC"),
("okx-perps", "perpetual-HOOD-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 Robinhood (HOOD) 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?