RWA · Stock perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-CRCL-USDT:USDT | 72.020 | -9.24% | $117.4M | +0.0302% | +2.68 | 1.32 | $10.1K | 0.87 |
| Hyperliquid | perpetual-XYZ:CRCL-USDC:USDC | 71.886 | -9.32% | $110.9M | +0.0066% | +0.83 | 1.97 | $8.5K | 1.17 |
| OKX | perpetual-CRCL-USDT:USDT | 72.010 | -9.26% | $32.5M | +0.0582% | +8.34 | 1.32 | $6.2K | 0.80 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Circle (CRCL), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-CRCL-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:CRCL-USDC:USDC"),
("okx-perps", "perpetual-CRCL-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 Circle (CRCL) 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?