get_price_range
Get min/max price over a window. Returns the minimum and maximum price observed for an asset within a configurable lookback window, along with the timestamps at which each extreme occurred. Useful for surfacing 24h highs/lows or computing period-over-period statistics.
See the Time Window & Resolution
section for the format of window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Asset symbol to fetch the range for (e.g. `SOL`, `BTC`). | |
| window | No | Lookback period (e.g. `1h`, `4h`, `1d`, `7d`, `1M`). | |
| asset_id | No | Backend asset ID. Mutually exclusive with `symbol`: exactly one of the two is required, and naming both is a 400. | |
| asset_class | No | Asset class to resolve the symbol in. Defaults to `spot` (one of: spot, perp) |