feat(CORE-001D): close remaining boundary cleanup slices

This commit is contained in:
Bu5hm4nn
2026-03-26 17:27:44 +01:00
parent 99d22302ee
commit 94f3c1ef83
16 changed files with 552 additions and 107 deletions

View File

@@ -0,0 +1,19 @@
id: CORE-001D2D
title: Historical Provider Row Normalization Boundary
status: done
priority: P2
effort: S
depends_on:
- CORE-001D2A
tags:
- core
- decimal
- provider
- backtesting
summary: Historical provider row and synthetic option quote normalization are now explicit boundary adapters with focused validation.
completed_notes:
- Added explicit daily-close row normalization in `app/services/backtesting/historical_provider.py`.
- Malformed row dates and non-finite close values are now rejected at the provider boundary instead of leaking into backtest paths.
- Synthetic option quotes now validate required string and numeric fields on construction.
- Added focused regression coverage in `tests/test_backtesting.py` for normalized rows and invalid quote payloads.
- Validated with focused pytest coverage and `make build` on local Docker.