Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-DELL-USDT:USDT | 298.300 | -7.62% | $2.9M | 0.0000% | -8.38 | 2.96 | $471 | 0.95 |
| Hyperliquid | perpetual-XYZ:DELL-USDC:USDC | 298.100 | -7.57% | $4.3M | +0.0002% | 0.00 | 3.97 | $2.3K | 0.95 |
| OKX | perpetual-DELL-USDT:USDT | 298.460 | -7.53% | $1.5M | 0.0000% | -2.01 | 4.94 | $343 | 0.82 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Dell (DELL), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-DELL-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:DELL-USDC:USDC"),
("okx-perps", "perpetual-DELL-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 Dell (DELL) 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?