Real-world asset · Commodity perp
| Venue | Atlas ID | Price | 24h | Open interest | Funding | Basis, bps | Spread, bps | Top depth | Buy/sell |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-PAXG-USDT:USDT | 3,565.5 | -4.12% | $86.5M | +0.0050% | -1.13 | 0.028 | $37.2K | 0.78 |
| Hyperliquid | perpetual-PAXG-USDC:USDC | 3,566.4 | -4.12% | $22.4M | +0.0012% | -5.97 | 0.28 | $6.0K | 0.61 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# PAX Gold (PAXG), `l1_liquidity`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-PAXG-USDT:USDT"),
("hyperliquid-perps", "perpetual-PAXG-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 PAX Gold (PAXG) perps on Binance and Hyperliquid over the last 30 days: which venue is cheapest to trade it on, and when (`l1_liquidity`, `slippage`)?