# Backtest one range

`GET https://api.getchord.xyz/v1/lp/simulate`

Source: https://getchord.xyz/docs/api-reference/operations/lpsimulate/

One explicit price range replayed over the last `days` of candles in the token's pool: fees earned at the pool's real tier and the position's share, impermanent loss, exits, LP value versus hold.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `chain` | query | yes | `5042` · `4663` · `143` | Chain id: `5042` Arc · `4663` Robinhood Chain · `143` Monad. |
| `token` | query | yes | string |  |
| `lower` | query | yes | number | Lower price, USD. |
| `upper` | query | yes | number | Upper price, USD (> lower). |
| `amountUsd` | query | no | number (default `1000`) |  |
| `days` | query | no | integer (default `7`) |  |
| `pool` | query | no | string |  |

## Response 200

- **400**: Invalid parameters — `error` names the check that failed (`INVALID_PARAMS`, `BAD_ADDRESS`, `BAD_LIMIT`, `BAD_HOURS`, …).
- **404**: Nothing at this identity (`NOT_FOUND`, `UNKNOWN_TOKEN`, `NO_ROUTE`).
