Real-world asset · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-COHR-USDT:USDT | 203.120 | -7.83% | $6.2M | 0.0000% | -4.55 | 2.36 | $512 | 0.98 |
| OKX | perpetual-COHR-USDT:USDT | 203.100 | -7.85% | $1.2M | 0.0000% | -11.8 | 4.28 | $379 | 1.05 |
| Hyperliquid | perpetual-PARA:COHR-USDC:USDC | 203.380 | -7.56% | $1.5M | +0.0008% | -6.01 | 27.7 | $22.9K | 1.47 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Coherent (COHR), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-COHR-USDT:USDT"),
("okx-perps", "perpetual-COHR-USDT:USDT"),
("hyperliquid-perps", "perpetual-PARA:COHR-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 Coherent (COHR) 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?