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:
@@ -46,11 +46,15 @@ def resolve_range_break_universe(
|
||||
if use_saved_history and strategy_id:
|
||||
try:
|
||||
from kis_trader.database.db_manager import get_db as _get_ext_db
|
||||
from kis_trader.backtest.universe_timeline import (
|
||||
universe_exit_debounce_sec_for_strategy,
|
||||
)
|
||||
|
||||
history = _get_ext_db().get_universe_by_candle_time(
|
||||
strategy_id=strategy_id,
|
||||
start_ymd=start_ymd,
|
||||
end_ymd=end_ymd,
|
||||
exit_debounce_sec=universe_exit_debounce_sec_for_strategy(strategy_id),
|
||||
)
|
||||
if history:
|
||||
return history, "history", len(history), 1
|
||||
|
||||
Reference in New Issue
Block a user