Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Hyperliquid | perpetual-XYZ:GME-USDC:USDC | 26.925 | +1.76% | $6.3M | +0.0052% | +4.46 | 7.37 | $7.8K | 1.12 |
| Binance | perpetual-GME-USDT:USDT | 26.950 | +1.70% | $1.3M | 0.0000% | -13.5 | 7.38 | $2.3K | 0.95 |
| OKX | perpetual-GME-USDT:USDT | 26.920 | +1.58% | $357.3K | 0.0000% | -7.42 | 11.3 | $2.4K | 1.03 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# GameStop (GME), `basis`, hourly, on 3 venues
for exchange, symbol in [
("hyperliquid-perps", "perpetual-XYZ:GME-USDC:USDC"),
("binance-futures", "perpetual-GME-USDT:USDT"),
("okx-perps", "perpetual-GME-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 GameStop (GME) perps on Hyperliquid, Binance 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?