feat(옵투나·웹): 후처리 재탐색·ob_modes·적용감사·수집통계
- Optuna web jobs/TPE/apply snapshot·틱로더 정합, jobs limit·감사로그 - 백테 UI 호가모드·후보 적용 흐름, feed_collect_stats API/탭 - 가설검증·교차검증 룰, 4전략 스모크·OB slot41 진단 스크립트 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -46,7 +46,16 @@ def _include_stable() -> bool:
|
||||
|
||||
|
||||
def _run_ob_whipsaw_full() -> bool:
|
||||
"""Optuna 최종 저장 기본 ON. 웹 light 경로는 호출측에서 False."""
|
||||
"""사후 호가8방·휩쏘 TPE.
|
||||
|
||||
본 TPE에 호가축(OPTUNA_TPE_INCLUDE_ORDERBOOK)이 있으면 기본 OFF —
|
||||
성적 사기(사후필터) 방지. 강제 재실행만 OPTUNA_POST_FORCE_OB_WHIPSAW=true.
|
||||
"""
|
||||
from kis_trader.backtest.optuna_tpe_common import optuna_tpe_include_orderbook
|
||||
from kis_trader.utils.env import get_env_bool
|
||||
|
||||
if optuna_tpe_include_orderbook():
|
||||
return bool(get_env_bool("OPTUNA_POST_FORCE_OB_WHIPSAW", False))
|
||||
return bool(get_env_bool("OPTUNA_POST_RUN_OB_WHIPSAW", True))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user