ls증권 히스토리 구독 넣음
This commit is contained in:
@@ -135,6 +135,10 @@ def run_range_break_backtest_web_aligned(
|
||||
start_key = str(meta_out.get("start_key") or "")
|
||||
end_key = str(meta_out.get("end_key") or "")
|
||||
db = meta_out.get("db")
|
||||
if db is None and start_key and end_key:
|
||||
from kis_trader.backtest.backtest_portfolio_common import ensure_meta_db
|
||||
|
||||
db = ensure_meta_db(meta_out)
|
||||
if db and start_key and end_key:
|
||||
loaded_ticks, tick_rows = load_breakout_ticks_by_code(
|
||||
db, start_key, end_key, set(candles_by_code.keys()),
|
||||
|
||||
Reference in New Issue
Block a user