refactor: enhance Optuna backtesting framework, optimize orderbook filtering, and update database management utilities.

This commit is contained in:
Your Name
2026-08-12 10:19:19 +09:00
parent cb7e5037a0
commit c6bd62a25f
218 changed files with 31613 additions and 759 deletions

View File

@@ -769,6 +769,21 @@ def main() -> None:
help="이력 테이블: kiwoom=target_candidates_history, ls=ls_candidates_history "
"(기본 env BACKTEST_UNIVERSE_HISTORY_SOURCE 또는 kiwoom)",
)
parser.add_argument(
"--candle-source", default="", choices=["", "kis", "kiwoom"],
dest="candle_source",
help="캔들 소스 필터 (기본 빈문자열 = kis)",
)
parser.add_argument(
"--tick-source", default="", choices=["", "kis", "kiwoom"],
dest="tick_source",
help="틱 소스 필터 (기본 빈문자열 = 전체 검색)",
)
parser.add_argument(
"--ob-source", default="", choices=["", "kis", "kiwoom", "kiwoom_0d"],
dest="ob_source",
help="호가 소스 필터 (기본 빈문자열 = 전체 검색)",
)
parser.add_argument(
"--orderbook-filter", default="off", choices=["off", "on", "auto"],
dest="orderbook_filter",