RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-SKHYNIX-USDT:USDT | 1,020.0 | -9.46% | $339.9M | -0.0419% | +23.9 | 0.095 | $11.2K | 0.95 |
| Hyperliquid | perpetual-XYZ:SKHX-USDC:USDC | 1,018.3 | -9.46% | $255.6M | +0.0038% | +15.8 | 0.96 | $32.0K | 0.94 |
| OKX | perpetual-SKHYNIX-USDT:USDT | 1,019.8 | -9.47% | $45.8M | -0.1017% | +24.8 | 0.95 | $41.6K | 0.95 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# SK hynix (SKHYNIX), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-SKHYNIX-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:SKHX-USDC:USDC"),
("okx-perps", "perpetual-SKHYNIX-USDT:USDT"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="basis",
exchange=exchange,
symbol=symbol,
interval="1h",
timestamp="exchange",
start_date=date(2026, 9, 30),
end_date=date(2026, 10, 30),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the SK hynix (SKHYNIX) 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?