Real-world asset · ETF perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-EWY-USDT:USDT | 132.440 | -5.60% | $24.0M | 0.0000% | -14.5 | 0.74 | $13.5K | 1.02 |
| Hyperliquid | perpetual-XYZ:EWY-USDC:USDC | 132.320 | -5.54% | $8.1M | +0.0006% | 0.00 | 1.50 | $10.5K | 0.99 |
| OKX | perpetual-EWY-USDT:USDT | 132.470 | -5.57% | $3.6M | 0.0000% | -6.04 | 0.74 | $955 | 1.05 |
| Hyperliquid | perpetual-IO:EWY-USDC:USDC | 132.430 | -5.57% | $341.9K | +0.0006% | +18.1 | 5.24 | $12.4K | 0.75 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# MSCI South Korea ETF (EWY), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-EWY-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:EWY-USDC:USDC"),
("okx-perps", "perpetual-EWY-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 MSCI South Korea ETF (EWY) perps on Binance, Hyperliquid and OKX over the last 30 days: how does the premium over the ETF (`basis`, `funding`) behave overnight and at weekends, while its market is shut?