feat(옵투나): score·min_trades·후처리 재탐색 및 웹 job 개선
PnL/(MDD+ADD) score·legacy 정렬·거래일×min_trades 게이트를 공통화한다. 후처리 ob_modes·study store·4전략 TPE 순차 스크립트와 문서를 갱신한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -695,6 +695,11 @@ def finalize_optuna_export(
|
||||
out_data["optuna_study_trials"] = target
|
||||
out_data["optuna_n_complete"] = n_c
|
||||
out_data["optuna_n_finished"] = n_f
|
||||
try:
|
||||
from kis_trader.backtest.optuna_common import annotate_optuna_period_daily_avg
|
||||
annotate_optuna_period_daily_avg(out_data)
|
||||
except Exception:
|
||||
pass
|
||||
row = load_row(name) or {}
|
||||
if str(row.get("pp_status") or "") == "done" and row.get("payload_json") and int(row.get("pp_for_n") or 0) >= target:
|
||||
lg.info("📌 후처리 이미 완료 (pp_for_n=%s, 목표=%s) — 스킵", row.get("pp_for_n"), target)
|
||||
|
||||
Reference in New Issue
Block a user