feat(UI/Core): DB 디버거 팝업 리스트화, Optuna 적용 연동 및 Rust tail 코어 안정화
This commit is contained in:
@@ -629,7 +629,7 @@ def run_tail_backtest_web_aligned(
|
||||
meta_out: Optional[Dict[str, Any]] = None,
|
||||
) -> List[Dict]:
|
||||
"""엔진 1회 + 웹과 동일 손익 부착 (ws_ticks 리플레이 옵션)."""
|
||||
from kis_trader.engine.tail_tick_replay import tail_backtest_wants_tick_replay
|
||||
from kis_trader.engine.tail_tick_replay import tail_backtest_wants_tick_replay, tail_backtest_use_spill_fallback
|
||||
from kis_trader.backtest.tail_tick_loader import load_tail_ticks_by_code, tick_coverage_stats
|
||||
|
||||
engine_params = dict(params)
|
||||
@@ -761,6 +761,7 @@ def run_tail_backtest_web_aligned(
|
||||
if db and start_key and end_key:
|
||||
loaded_ticks, tick_rows = load_tail_ticks_by_code(
|
||||
db, start_key, end_key, set(candles_by_code.keys()),
|
||||
use_spill_fallback=tail_backtest_use_spill_fallback(engine_params),
|
||||
)
|
||||
tick_meta = tick_coverage_stats(candles_by_code, loaded_ticks)
|
||||
tick_meta["ws_tick_rows_loaded"] = tick_rows
|
||||
|
||||
Reference in New Issue
Block a user