?network=testnet|mainnet.
Subscribes to live price updates for Gold (XAU/USD).
Returns latest signed binary price update data for execution.
Returns latest Lens snapshot (?network=testnet|mainnet).
Returns exact calculated liquidation prices for open trades.
Calculates weighted average open prices for Long and Short.
Returns 1h, 24h and 7d percentage variations and spot prices for Top Forex, Metals (Gold, Silver, Platinum), Commodities (Crude Oil), Cryptos (BTC, ETH, SOL...) and US Equities (AAPL, TSLA, NVDA...).
Forces a live re-fetch from Pyth Benchmarks and updates data/marketsSummary.json on disk immediately.
Returns 24h lowest price (low_24h), 24h highest price (high_24h), price variations and 120-pt sparkline.