Real-world asset · ETF perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SOXL-USDT:USDT | 40.950 | -22.82% | $294.1M | +0.0399% | +4.00 | 2.22 | $120.6K | 0.97 |
| OKX | perpetual-SOXL-USDT:USDT | 40.960 | -22.80% | $53.4M | +0.0412% | -2.44 | 2.21 | $63.3K | 0.99 |
| Hyperliquid | perpetual-XYZ:SOXL-USDC:USDC | 40.902 | -22.83% | $43.1M | +0.0017% | 0.00 | 1.33 | $17.5K | 0.99 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Semiconductor Bull 3x ETF (SOXL), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-SOXL-USDT:USDT"),
("okx-perps", "perpetual-SOXL-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:SOXL-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 Semiconductor Bull 3x ETF (SOXL) perps on Binance, OKX and Hyperliquid over the last 30 days: how does the premium over the ETF (`basis`, `funding`) behave overnight and at weekends, while its market is shut?