RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-GOOGL-USDT:USDT | 278.810 | -1.68% | $297.6M | +0.0247% | +8.49 | 0.35 | $19.5K | 0.84 |
| Hyperliquid | perpetual-XYZ:GOOGL-USDC:USDC | 278.170 | -1.81% | $281.3M | +0.0041% | +7.19 | 1.07 | $45.6K | 0.81 |
| OKX | perpetual-GOOGL-USDT:USDT | 278.760 | -1.71% | $54.7M | +0.0377% | +11.1 | 0.35 | $5.9K | 0.77 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Alphabet (GOOGL), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-GOOGL-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:GOOGL-USDC:USDC"),
("okx-perps", "perpetual-GOOGL-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 Alphabet (GOOGL) 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?