vwap-fast

Quickly calculate moving volume-weighted average prices [aka VWAP or MVWAP] from a stream of OHLCV candles. Uses prefix sums and static 'rolling' arrays for efficiency.

fibonacci-fit

find best-fit fibonacci price retracement levels [or arbitrary levels] for an array of prices