feat: Add new files and enhance backtesting functionality

Changes:
- Introduced new files for strategy definitions and study names.
- Enhanced `backtest_web.py` with functions to handle integer display prices and trade data formatting.
- Updated backtesting logic to incorporate end-of-day (EOD) parameters for breakout and momentum strategies.
- Added EOD configuration options in the database and parameter search files.

Impact:
- These changes improve the modularity and usability of the backtesting framework, allowing for better integration of EOD strategies and clearer trade data presentation.
This commit is contained in:
2026-07-06 19:11:34 +09:00
parent 336d637b72
commit 78edb75e01
33 changed files with 1479 additions and 303 deletions

View File

@@ -94,6 +94,8 @@ MOMENTUM_CONFIG_KEYS = frozenset({
"MOMENTUM_BACKTEST_CANDLE_WARMUP_BARS",
"MOMENTUM_UNIVERSE_EXIT_DEBOUNCE_SEC",
"MOMENTUM_LIVE_SIGNAL_LOOKBACK_BARS",
"MOMENTUM_EOD_ENABLED",
"MOMENTUM_EOD_HM",
"MOMENTUM_FORCE_EOD_EXIT",
})