Skip to main content

limen.indicators

Provide the lower-level technical indicator library that manifests and custom prep functions build on.

Canonical docs

What this package owns

Owns the public indicator function library, including moving averages, oscillators, volatility measures, price transforms, and candlestick-pattern helpers. Does not own higher-level feature engineering, target creation, or model training.

Key entry points

Entry pointUse caseNotes
limen.indicators.* exportsIndicators in a manifest or custom prep pipelineThe package root re-exports the public indicator surface
sma, ema, wilder_rsi, atrCommon directional and volatility baselinesFrequently used in foundational SFDs
bbands, bollinger_bands, bollinger_positionBand-based regime or position signalsInputs for higher-level feature construction
macd, ppo, roc, stoch, stochrsiMomentum and oscillator familiesMost emit multiple columns or parameterized output names
Candlestick helpers like cdldojiPattern flags aligned with TA-Lib semanticsExported at the package root alongside the rest of the library

Adjacent modules

  • limen.features consumes indicator columns and turns them into more opinionated model inputs.
  • limen.experiment.Manifest wires indicators into the prep pipeline through .add_indicator(roc).
  • limen.data supplies the OHLCV frames that most indicators expect.

Quick orientation

indicators/
├── ma, sma, ema, wma, tema, trima, t3 # Moving averages and trend baselines
├── rsi, wilder_rsi, cmo, willr, ultosc # Momentum and oscillator families
├── atr, natr, trange, stddev, var # Volatility and range measures
├── bbands, bollinger_bands, midpoint # Band and price-position helpers
├── macd, macdfix, macdext, ppo # Multi-column momentum helpers
└── cdl*.py # Candlestick pattern detections

Things to know

  • Indicator functions accept a pl.LazyFrame and return that frame with one or more appended columns.
  • Leading null rows are expected for rolling calculations. Manifest-driven prep drops them after the feature and indicator stage.
  • The public reference should be treated as the canonical list of exported helpers and output-column conventions.
  • TA-Lib-aligned indicators keep naming and behavior close to that surface where applicable.