fnnc
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

FNNC

All in one financial calculation functions

👉🏻 Package Link

Functions List;

How to use?

First import a function that you want from the package

 import { EMA } from "fnnc";

And then use the function wherever you want.

let closingPrices = [ 12, 34, 56, 32, 54, 65];
let period = 12;
const exponentialMovingAverage = EMA(closingPrices, period);

console.log(exponentialMovingAverage) // 33.66031139827575

Package Sidebar

Install

npm i fnnc

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

32.2 kB

Total Files

6

Last publish

Collaborators

  • onurcelik