docs: mark DATA-DB-004 as done, update roadmap

This commit is contained in:
Bu5hm4nn
2026-03-29 11:12:20 +02:00
parent 9a3b835c95
commit ace6d67482
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,50 @@
id: DATA-DB-004
title: Backtest Page UI Updates
status: backlog
priority: high
dependencies:
- DATA-DB-001
- DATA-DB-002
estimated_effort: 2 days
created: 2026-03-28
updated: 2026-03-28
description: |
Update backtest and event comparison pages to support Databento data source
and independent scenario configuration. Show estimated data cost and cache
status in the UI.
acceptance_criteria:
- Data source selector shows Databento and yFinance options
- Databento config shows dataset and resolution dropdowns
- Dataset selection updates cost estimate display
- Cache status shows age of cached data
- Independent start price input (0 = auto-derive)
- Independent underlying units and loan amount
- Event comparison page uses same data source config
- Settings persist across sessions
implementation_notes: |
Page changes:
Backtests page:
- Add "Data Source" section with Databento/yFinance toggle
- Add dataset selector (XNAS.BASIC for GLD, GLBX.MDP3 for GC=F)
- Add resolution selector (ohlcv-1d, ohlcv-1h)
- Show estimated cost with refresh button
- Show cache status (age, size)
- "Configure Scenario" section with independent start price/units
Event comparison page:
- Same data source configuration
- Preset scenarios show if data cached
- Cost estimate for missing data
State management:
- Use workspace-level BacktestSettings
- Load on page mount, save on change
- Invalidate cache when params change
dependencies_detail:
- DATA-DB-001: Need DatabentoHistoricalPriceSource
- DATA-DB-002: Need BacktestSettings model