ls증권 히스토리 구독 넣음
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user