# prov.authorize.policies.backtest

prov.authorize.policies.backtest in Node SDK. Replay this domain's draft (or active) document over the last `days` (1 to 30) of the account's own history.

## Signature

```ts
prov.authorize.policies.backtest(params?: { document?: unknown; days?: number }): Promise<PolicyBacktest>
```

## Parameters

- `params` ({ document?: unknown; days?: number }, optional)

## Returns

`Promise<PolicyBacktest>`

Runs locally, with no request to the API.
