Real-world asset · Commodity perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-XPD-USDT:USDT | 898.710 | -6.11% | $5.6M | 0.0000% | +12.9 | 2.00 | $1.0K | 0.96 |
| OKX | perpetual-XPD-USDT:USDT | 898.400 | -6.16% | $549.4K | 0.0000% | +14.1 | 2.21 | $785 | 0.93 |
| Hyperliquid | perpetual-XYZ:PALLADIUM-USDC:USDC | 901.550 | -5.81% | $1.5M | +0.0008% | +5.13 | 8.85 | $4.0K | 0.87 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# Palladium (XPD), `l1_liquidity`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-XPD-USDT:USDT"),
("okx-perps", "perpetual-XPD-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:PALLADIUM-USDC:USDC"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="l1_liquidity",
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 Palladium (XPD) perps on Binance, OKX and Hyperliquid over the last 30 days: which venue is cheapest to trade it on, and when (`l1_liquidity`, `slippage`)?