Indicators
110 exported indicator functions and streaming classes: pure-NumPy batch indicators, pure-Python streaming variants (optional Numba on 3 batch kernels), and Pine Script conversion.
Part of FlintTrade: the open-source self-hosted trading software monorepo built with Python, React, TypeScript, and Rust.
Language: Python (optional Numba)
Public surface
src/flinttrade_indicators/trend.py: SMA, EMA, MACD, ADXsrc/flinttrade_indicators/momentum.py: RSI, Stochastic, ROC, MFIsrc/flinttrade_indicators/oscillators.py: CCI, Williams %R, TRIXsrc/flinttrade_indicators/volatility.py: ATR, Bollinger Bands, Keltner Channelssrc/flinttrade_indicators/volume.py: OBV, Chaikin, VWAP
(See the source for the full surface.)
Install
This package is part of the FlintTrade monorepo. Install via the workspace from the repo root:
uv pip install -e packages/core/indicatorsIf you only want to use the package in isolation, the package's pyproject.toml,
Cargo.toml, or package.json lists its dependencies. The supported path is the
root workspace.
Tests
python -m pytest packages/core/indicators/tests/ -v --import-mode=importlibFor the full test matrix, see the contributor guide at docs/DEVELOPER_GUIDE.md.
How this fits in
This package's role in the wider FlintTrade architecture is documented in docs/ARCHITECTURE.md. For the end-user features it provides, see docs/USER_GUIDE.md.
Contributing
Contributions are welcome. Read contributing.md at the repo root before opening a pull request.
License
AGPL-3.0. Same as the parent repository. See LICENSE for the full text.