chore: 작업 중 발생한 부수적 변경 사항 및 누락된 파일 전체 커밋
- 프론트엔드 UI 업데이트 (backtest.html, backtest.js) 엔진 라디오 버튼 통합 관련 반영 - Rust 플러그인(kis_rust_core) 및 컴파일 소스코드 추가 - CLI 백테스트 스크립트 수정 및 최신화 - 기타 스크래치 테스트 스크립트, 로그 요약 마크다운(.md) 등 누락 파일 일괄 반영 - 추가적으로 아직 발견되지 않은 엣지 케이스나 렌더링 오류가 포함되어 있을 가능성이 있음
This commit is contained in:
18
scratch/optuna_check.py
Normal file
18
scratch/optuna_check.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import sys
|
||||
import optuna
|
||||
import json
|
||||
import os
|
||||
|
||||
sys.path.append("/home/hoon/kis_bot")
|
||||
from kis_trader.backtest.optuna_common import resolve_optuna_storage_url
|
||||
|
||||
storage = resolve_optuna_storage_url()
|
||||
study_name = "scalp_tpe_refine2_20260904_20260904_20260905_014427"
|
||||
try:
|
||||
study = optuna.load_study(study_name=study_name, storage=storage)
|
||||
trial = study.trials[160]
|
||||
print(f"Trial #160 State: {trial.state}")
|
||||
print(f"Trial #160 Value: {trial.value}")
|
||||
print(f"Trial #160 Params: {json.dumps(trial.params, indent=2)}")
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
Reference in New Issue
Block a user