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:
@@ -232,12 +232,9 @@ def breakout_backtest_universe_scan_at_enabled(params: Optional[Dict[str, Any]]
|
||||
|
||||
def breakout_universe_exit_debounce_sec() -> int:
|
||||
"""실매 ``CONDITION_EXIT_GRACE_SEC`` 정합 — 스냅샷 축소 시 N초 유지."""
|
||||
from kis_trader.backtest.universe_timeline import resolve_universe_exit_debounce_sec
|
||||
from kis_trader.backtest.universe_timeline import universe_exit_debounce_sec_for_strategy
|
||||
|
||||
return resolve_universe_exit_debounce_sec(
|
||||
strategy_env_key="BREAKOUT_UNIVERSE_EXIT_DEBOUNCE_SEC",
|
||||
default_when_no_grace=0,
|
||||
)
|
||||
return universe_exit_debounce_sec_for_strategy("BREAKOUT")
|
||||
|
||||
|
||||
def breakout_backtest_candle_warmup_bars() -> int:
|
||||
@@ -322,6 +319,7 @@ def resolve_breakout_universe(
|
||||
strategy_id=strategy_id,
|
||||
start_ymd=start_ymd,
|
||||
end_ymd=end_ymd,
|
||||
exit_debounce_sec=breakout_universe_exit_debounce_sec(),
|
||||
)
|
||||
if history:
|
||||
return history, "history", len(history), 1
|
||||
|
||||
Reference in New Issue
Block a user