feat: default to March 2026 dates and show Low/High/Close in results
- Change default backtest date range to 2026-03-02 through 2026-03-25 - Add spot_low and spot_high to BacktestDailyPoint for intraday range - Update engine to populate low/high from DailyClosePoint - Update daily results table to show Low, High, Close columns instead of just Spot - Update job serialization to include spot_low and spot_high
This commit is contained in:
@@ -97,6 +97,9 @@ class BacktestDailyPoint:
|
||||
ltv_hedged: float
|
||||
margin_call_unhedged: bool
|
||||
margin_call_hedged: bool
|
||||
# Optional OHLC fields for worst-case margin call evaluation
|
||||
spot_low: float | None = None # Day's low for margin call evaluation
|
||||
spot_high: float | None = None # Day's high
|
||||
active_position_ids: tuple[str, ...] = field(default_factory=tuple)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user