Trade Indicators

Trade Indicators written in pure functional Typescript.
Results will be
Either<Error, ReadonlyArray<number> | Readonly<Record<string, ReadonlyArray<number>>>>
depending on what is returned using these amazing libraries:
🚀 fp-ts
🌟 big.js

Ideas

Calculation of common indicators used for stock market trading, commodity trading and many more.
trade-indicators shall fail early and never throw Errors. Instead it provides the Error or Result wrapped in Either. To achieve this goal, trade-indicators uses fp-ts.
For convenience use, it provides the possibility to unwrap to Promise, still enforcing an Error-Handling.

Besides that the maximum possible precision of results shall be delivered.
JavaScript Ecosystem uses Number, which has some unprecise effects. To mitigate these, trade-indicators uses big.js internally.