ls증권 히스토리 구독 넣음

This commit is contained in:
Your Name
2026-07-30 18:05:07 +09:00
parent 61bec4bd1d
commit 67eab24603
1593 changed files with 135733 additions and 1232 deletions

View File

@@ -585,7 +585,12 @@ def resolve_momentum_sell_for_bar(
except Exception:
pass
if momentum_backtest_tick_fallback_ohlc(params):
# 절대규칙: 틱 청산 ON 이면 OHLC 봉 폴백으로 숫자 변조 금지
# (FALLBACK_OHLC 체크 ON 이어도 무시. 벽시계 last-price 는 OHLC intrabar 가 아님)
if (
not momentum_backtest_use_tick_exit(params)
and momentum_backtest_tick_fallback_ohlc(params)
):
res = check_sell_signal_momentum_backtest_bar(position, bar, params, is_eod=is_eod)
if res:
reason, exit_price = res