RWA · Commodity perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-CL-USDT:USDT | 103.650 | +1.24% | $401.8M | -0.0290% | -11.0 | 0.96 | $192.1K | 1.01 |
| Hyperliquid | perpetual-XYZ:CL-USDC:USDC | 103.470 | +1.15% | $201.6M | -0.0003% | -2.90 | 0.97 | $123.0K | 1.13 |
| OKX | perpetual-CL-USDT:USDT | 103.630 | +1.26% | $74.5M | -0.0154% | -8.77 | 0.96 | $63.2K | 0.95 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# WTI crude oil (CL), `l1_liquidity`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-CL-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:CL-USDC:USDC"),
("okx-perps", "perpetual-CL-USDT:USDT"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="l1_liquidity",
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 WTI crude oil (CL) perps on Binance, Hyperliquid and OKX over the last 30 days: which venue is cheapest to trade it on, and when (`l1_liquidity`, `slippage`)?