Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-LITE-USDT:USDT | 507.340 | -10.47% | $7.8M | 0.0000% | -11.1 | 0.96 | $337 | 0.96 |
| OKX | perpetual-LITE-USDT:USDT | 507.240 | -10.48% | $3.4M | 0.0000% | -6.11 | 1.04 | $236 | 0.95 |
| Hyperliquid | perpetual-XYZ:LITE-USDC:USDC | 506.840 | -10.40% | $6.9M | -0.0001% | 0.00 | 3.85 | $5.9K | 0.93 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Lumentum (LITE), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-LITE-USDT:USDT"),
("okx-perps", "perpetual-LITE-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:LITE-USDC:USDC"),
]:
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 Lumentum (LITE) perps on Binance, OKX and Hyperliquid over the last 30 days: how does the premium over the stock (`basis`, `funding`) behave overnight and at weekends, while its market is shut?