/oss · 2 merged

jealous/stockstats

A Python library that adds stock indicators to pandas tables.

the project on GitHub (opens in a new tab)
  1. 9 Nov 2026

    KAMA squares its smoothing constant

    What was broken
    The adaptive moving average doubled its smoothing constant instead of squaring it, so the line could overshoot the price.
    What I changed
    The constant is now squared, as in the published formula.
    Why it matters
    The indicator follows prices the way its author designed, instead of running ahead of them.

    see the code, #221 (opens in a new tab)

  2. 9 Nov 2026

    The linear regression average reads the current bar

    What was broken
    The linear regression average drew its line one bar too early, so every value lagged behind the standard TA-Lib result.
    What I changed
    It now reads the line at the current bar and matches TA-Lib, and the inertia indicator built on it moved with it.
    Why it matters
    Traders comparing this indicator with other tools get the same numbers.

    see the code, #220 (opens in a new tab)

← every project