@thi.ng/transducers-stats
Version:
Transducers for statistical / technical analysis
12 lines • 438 B
TypeScript
import type { Transducer } from "@thi.ng/transducers";
/**
* https://en.wikipedia.org/wiki/Relative_strength_index
*
* Note: the number of results will be `period` less than the number of
* processed inputs.
*
* @param period -
*/
export declare function rsi(period: number): Transducer<number, number>;
export declare function rsi(period: number, src: Iterable<number>): IterableIterator<number>;
//# sourceMappingURL=rsi.d.ts.map