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:
@@ -91,6 +91,8 @@ class SyntheticBacktestEngine:
|
||||
BacktestDailyPoint(
|
||||
date=day.date,
|
||||
spot_close=day.close,
|
||||
spot_low=day.low if day.low is not None else day.close,
|
||||
spot_high=day.high if day.high is not None else day.close,
|
||||
underlying_value=underlying_value_close,
|
||||
option_market_value=option_market_value,
|
||||
premium_cashflow=premium_cashflow,
|
||||
|
||||
Reference in New Issue
Block a user