@thacash/cash_finance
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]
//=> }