RWA · Commodity perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-BZ-USDT:USDT | 113.050 | +1.75% | $270.2M | -0.0252% | -8.26 | 0.89 | $125.6K | 1.07 |
| OKX | perpetual-BZ-USDT:USDT | 112.980 | +1.71% | $33.7M | -0.0155% | -9.20 | 0.89 | $17.7K | 0.98 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Brent crude oil (BZ), `l1_liquidity`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-BZ-USDT:USDT"),
("okx-perps", "perpetual-BZ-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 Brent crude oil (BZ) perps on Binance and OKX over the last 30 days: which venue is cheapest to trade it on, and when (`l1_liquidity`, `slippage`)?