feat: Add DART strategy and related configurations

ㅇ
Changes:
- Introduced the DART strategy to the trading system, including its configuration and integration into the existing framework.
- Updated the database schema to include DART-specific tables for disclosures and watchlists.
- Enhanced the backtesting and parameter search functionalities to support the DART strategy.
- Implemented new rules for browser verification and API interactions to ensure compliance with the updated DART strategy.

Impact:
- These additions expand the trading capabilities of the system, allowing for more comprehensive analysis and execution of DART-related strategies, while maintaining system integrity and performance.
This commit is contained in:
Your Name
2026-07-21 07:50:24 +09:00
parent 74db49149f
commit 61bec4bd1d
86 changed files with 4811 additions and 297 deletions

View File

@@ -73,6 +73,10 @@ class RangeBreakStrategy(BaseStrategy):
need_n = rbe.range_break_min_bars_required(self._engine_params or {})
candles_raw = self.ws.get_candles(code, self.candle_tf, n=need_n + 10)
if len(candles_raw) < need_n - 2:
try:
self.ws.fill_gap([code], force=True)
except Exception:
pass
return None
candles = [self._norm_candle(c) for c in candles_raw]