# prov.attest.capture_policies.backtest

prov.attest.capture_policies.backtest in Python SDK. Replay this domain's draft (or active) document over the last `days` (1 to 30) of the account's own history; Pro plan and above.

## Signature

```python
prov.attest.capture_policies.backtest(document: Optional[dict] = …, days: Optional[int] = …) -> Any
```

## Parameters

- `document` (Optional[dict], optional)
- `days` (Optional[int], optional)

## Returns

`Any`

Runs locally, with no request to the API.
