A modular and extensible library for computing technical and statistical features from OHLCV candlestick data, tailored for crypto markets.
- Decorator-based feature registry (
@feature) - Built-in indicators:
- Log returns & volatility
- RSI, ATR, OBV
- Time-based cyclic features
- FFT peaks (price & volume)
- Swing points
- Reversal candles (pin-bar, engulfing)
- Order-flow detection blocks
- Volume imbalance
- Hilbert Transform (real/imaginary components)
predfeatures/
βββ __init__.py
βββ features.py # All registered feature functions
βββ hilbert_ht.py # Hilbert transform backend
βββ registry.py # Feature registry via decorators
βββ utils.py # Misc helpers