Skip to content

Commit 4ba3d0e

Browse files
committed
docs: capture new view-base behavior and QA run
1 parent 8e86932 commit 4ba3d0e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ Validation rules:
184184
"as_of": "2025-10-16T12:00:00+00:00"
185185
}
186186
```
187-
- `value` excludes unpriced positions; `unpriced` counts positions missing rates, and `priced` gives the number successfully valued.
188-
- `as_of` reflects the timestamp of the latest canonical FX snapshot used for the calculation.
187+
- `value` excludes unpriced positions; `unpriced` counts positions missing rates, and `priced` gives the number successfully valued.
188+
- `as_of` reflects the timestamp of the latest canonical FX snapshot used for the calculation.
189+
- Requests that reference a view base without a corresponding FX rate return **HTTP 422** with `field: "base"`, the requested `view_base`, and the snapshot `as_of` timestamp so clients can surface actionable errors.
189190

190191
- `GET /api/v1/metrics/portfolio/<portfolio_id>/exposure?top_n=<N>&base=<CCY>` groups exposure by currency (tail aggregated into `OTHER` when `top_n` is reached) in the requested base.
191192
```bash
@@ -254,7 +255,7 @@ Use `python scripts/perf_sanity_check.py` to seed a ~2k-position dataset and pri
254255

255256
1. `make release-check` ? runs lint, type checks, test suite, and a quick `/health` smoke test.
256257
2. `flask --app app.cli.seed_demo seed-demo` to pre-load the demo portfolio before recording or demoing.
257-
3. Start the server (`python run.py`) and verify the dashboard at http://127.0.0.1:5000#/dashboard renders charts with the seeded data.
258+
3. Start the server (`python run.py`) and verify the dashboard at http://127.0.0.1:5000#/dashboard renders charts with the seeded data. Use the **View in** dropdown to switch base currencies; the selection persists between reloads.
258259
4. Optionally export fresh Postman results for the release notes.
259260

260261
## Troubleshooting

0 commit comments

Comments
 (0)