@thacash/cash_finance

1.1.8 • Public • Published

@thacash/cash_finance

npm (scoped)

Tools for options sellers.

Install

$ npm install @thacash/cash_finance

Usage

const cashfinance = require("@thacash/cash_finance");

cashfinance.getContractIncomePercent(contractPrice, stockPrice);
//=> 28.79

Methods

See the available methods by logging the package.

const cashfinance = require("@thacash/cash_finance");

console.log(cashfinance);

//=> {
//=>   getContractPrice: [Function: getContractPrice],
//=>   getContractIncomePercent: [Function: getContractIncomePercent],
//=>   getStockPrice: [Function: getStockPrice],
//=>   getContractDays: [Function: getContractDays],
//=>   getContractDaysLeft: [Function: getContractDaysLeft],
//=>   getAnnualizedReturn: [Function: getAnnualizedReturn],
//=>   getStockIncreasePercent: [Function: getStockIncreasePercent],
//=>   getSellerGenerates: [Function: getSellerGenerates],
//=>   getOriginalStockValue: [Function: getOriginalStockValue],
//=>   getNewStockValueITM: [Function: getNewStockValueITM],
//=>   getSellerNetGainITM: [Function: getSellerNetGainITM]
//=> }

Package Sidebar

Install

npm i @thacash/cash_finance

Homepage

thacash.com

Weekly Downloads

4

Version

1.1.8

License

MIT

Unpacked Size

5 kB

Total Files

4

Last publish

Collaborators

  • jonegrossman