Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-NFLX-USDT:USDT | 58.710 | -2.30% | $2.9M | 0.0000% | -0.78 | 1.71 | $1.9K | 0.96 |
| Hyperliquid | perpetual-XYZ:NFLX-USDC:USDC | 58.701 | -2.23% | $4.5M | +0.0006% | +2.56 | 1.43 | $5.7K | 0.98 |
| OKX | perpetual-NFLX-USDT:USDT | 58.720 | -2.25% | $939.2K | 0.0000% | +3.41 | 1.71 | $259 | 0.94 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Netflix (NFLX), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-NFLX-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:NFLX-USDC:USDC"),
("okx-perps", "perpetual-NFLX-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 Netflix (NFLX) 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?