feat(DATA-DB-001): add Databento historical price source for backtesting

- Add DatabentoHistoricalPriceSource implementing HistoricalPriceSource protocol
- Smart caching with Parquet storage and metadata tracking
- Auto symbol-to-dataset resolution (GLD→XNAS.BASIC, GC=F→GLBX.MDP3)
- Cache management with age threshold invalidation
- Cost estimation via metadata.get_cost()
- Add databento>=0.30.0 to requirements.txt
- Add DATABENTO_API_KEY to .env.example
- Full test coverage with 16 tests
This commit is contained in:
Bu5hm4nn
2026-03-29 09:58:02 +02:00
parent c02159481d
commit bf13ab5b46
5 changed files with 677 additions and 0 deletions

View File

@@ -8,4 +8,5 @@ pandas>=2.0.0
pydantic>=2.5.0
pyyaml>=6.0
redis>=5.0.0
databento>=0.30.0
# QuantLib>=1.31 is optional - installed separately if needed