Backtest a price range
backtest_rangeBacktest a symmetric range of ±rangePct% around the price at the window's start (0 = full range) on a pool over the last days days: fee APR, impermanent loss, net APR, time in range, the ticks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | default 7 | |
| chain | Yes | ||
| address | Yes | pool contract address (0x + 40 hex), or a Uniswap v4 pool id (0x + 64 hex) | |
| rangePct | Yes | half-width in percent; 0 = full range |