get_price_analytics
Run multi-oracle price analytics: consensus across providers, batch reads, historical series, cross-chain spreads, deviation, correlation or a risk summary. Use it when one price is not enough and the caller needs to compare, stress or trend oracle data. Do not use it for a single provider spot read (get_oracle_price) or for feed uptime (get_oracle_health). Returns the requested analysis rows plus provider participation and reference prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD | |
| from | No | Start date YYYY-MM-DD | |
| mode | No | consensus = cross-provider price, batch = multi-asset, history = time series | consensus |
| chain | No | Optional chain filter | |
| assets | Yes | Assets to analyse; consensus/risk/history use the first asset | |
| method | No | Consensus aggregation method | |
| metric | No | Deep-analysis metric; overrides mode | |
| interval | No | Deviation interval, default 24h | |
| provider | No | Provider for history/spreads | |
| providers | No | Required for metric=risk; otherwise uses the provider default | |
| base_chain | No | Base chain for metric=spreads | |
| period_hours | No | Risk/history hours | |
| force_refresh | No |