fix: GT 중복 인덱스 Series 오류 수정 및 파이프라인 산출물 갱신
봉 데이터 갱신 후 02~04 재실행. BB 저점 수집 시 _row_at_ts로 스칼라 추출. hybrid Go/No-Go 및 matched_rules·fire_outcomes 동기화. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -511,8 +511,9 @@ def _collect_buy_troughs(
|
||||
loc = bb_seg["Low"].astype(float).idxmin()
|
||||
idx = _bar_index(df, loc)
|
||||
if all(abs(idx - p.idx) >= min_bars for p in out):
|
||||
row_bb = _row_at_ts(bb_seg, loc)
|
||||
out.append(
|
||||
Pivot(idx, loc, "trough", float(bb_seg.loc[loc, "Low"]))
|
||||
Pivot(idx, loc, "trough", float(row_bb["Low"]))
|
||||
)
|
||||
|
||||
out.sort(key=lambda x: x.ts)
|
||||
|
||||
Reference in New Issue
Block a user