现实世界资产 · Commodity perp
pip install "aperiodic[polars]"
from datetime import date from aperiodic import get_metrics # Tether Gold (XAUT), `l1_liquidity`, hourly df = get_metrics( api_key="YOUR_API_KEY", metric="l1_liquidity", exchange="binance-futures", symbol="perpetual-XAUT-USDT:USDT", interval="1h", timestamp="exchange", start_date=date(2026, 10, 24), end_date=date(2026, 11, 23), ) print(df.head())
Read https://aperiodic.io/start.md and follow it. Then, for the Tether Gold (XAUT) perps on Binance over the last 30 days: which venue is cheapest to trade it on, and when (`l1_liquidity`, `slippage`)?
打开方式Claude Desktop·Claude Code(终端)·Codex
其他类别