Markets: the price chart is AP3X/USD across every pool, not one pair

The chart card read one DexScreener pair (bAP3X/USDC on Aerodrome). It now
draws AP3X in USD aggregated over every pool with at least $1K of liquidity
- four on Base (Aerodrome USDC and WETH, Uniswap and QuickSwap cbBTC) and
Minswap's cAP3X/ADA on Cardano - from GeckoTerminal's per-pool USD candles:
price liquidity-weighted (a pool with no trade holds its last close), volume
summed. 15m / 1h / 4h / 1D, an OHLC + volume readout, and a footer naming the
pools. GeckoTerminal is keyless and rate-limited, so the pool list (6 h) and
candles (3 min) are kept in localStorage; when it is busy the card shows the
largest pool's DexScreener chart and retries. VyFi and LBank are not in its
feed and say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 14:28:38 -05:00
parent de5b01cd01
commit 9276c7cd75

File diff suppressed because one or more lines are too long