You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Buffer lists and stream hubs disagree with Series at non-default parameters #2326
The library requires Series, buffer list and stream hub results to be identical. A sweep that runs every catalog listing at its default parameters, and at each integer parameter's catalog minimum plus 0, 1 and 2, finds these disagreements with Series on the standard test bars. The per-style tests use default parameters, which is why they pass.
Indicator
Style
Parameters
Difference from Series
Ichimoku
Buffer list
kijunPeriods 1–3
ChikouSpan differs on every row. ToIchimoku(t, k, b) sets both offsets to kijunPeriods, while ToIchimokuList(t, k, b) keeps them at 26, so the same call gives different results.
Keltner
Stream hub
emaPeriods 2–4 (with atrPeriods 10)
Centerline differs from index 9 for 28–58 rows: the hub's EMA starts at a different bar.
Rolling Pivots
Stream hub
offsetPeriods 1–2
All pivot levels differ from the first value onward (240–317 rows).
RSI
Stream hub
lookbackPeriods 1
Null at 4 rows where Series gives 100.
Stochastic
Buffer list
lookbackPeriods 1–3
Oscillator null at 2–4 early rows where Series has a value.
StochRSI
Stream hub
rsiPeriods 1
StochRsi null at 8 rows where Series gives 100.
StochRSI
Buffer list
stochPeriods 1–3
Signal null at 1–3 early rows where Series has a value.
Another case, found while checking STC: a NaN input mid-series. ToEma re-seeds after the gap, but EmaList carries NaN forward on every later row. With one NaN close at index 150 of the standard test bars, ToEmaList(12) differs from ToEma(12) on 352 rows (Series gives 243.65 at index 200; the list gives NaN). MacdList, and so StcList, inherit it: ToStcList(5, 12, 26) differs from ToStc on 320 rows.
Activity
DaveSkender commentedon Oct 12, 2026
Another case, found while checking STC: a NaN input mid-series.
ToEmare-seeds after the gap, butEmaListcarries NaN forward on every later row. With one NaN close at index 150 of the standard test bars,ToEmaList(12)differs fromToEma(12)on 352 rows (Series gives 243.65 at index 200; the list gives NaN).MacdList, and soStcList, inherit it:ToStcList(5, 12, 26)differs fromToStcon 320 rows.fix: Start StochList smoothing at the bar Series does
fix: Run StochRsiList's Stoch over every row like Series
fix: Lag RollingPivotsHub's high-low window by the offset
fix: Score STC's window extremes exactly in the list and hub
fix: Offset IchimokuList spans by kijunPeriods like Series
fix: Score a later zero-change RSI average as 100 in RsiHub
fix: Carry KeltnerHub's EMA through the band warmup like Series
fix: Sum KVO's signal seed in Series order in the list and hub
fix: Start StochList smoothing at the bar Series does
fix: Run StochRsiList's Stoch over every row like Series
fix: Lag RollingPivotsHub's high-low window by the offset
fix: Score STC's window extremes exactly in the list and hub