This function return PE Ratio of a stock.
var marketPrice = 148.9;
var eps = 3.91;
investor.peRatio( marketPrice , eps );
// => 38.08
This function return PB Ratio of a stock.
var marketPrice = 148.9;
var bookValue = 27.44;
investor.pbRatio(marketPrice, bookValue);
// => 5.43
This function return Earnings Per Share (EPS) of a stock.
var netIncome = 3120000000;
var preferredDividends = 200000000;
var commonShares = 283400000;
investor.EPS(netIncome, preferredDividends, commonShares);
// => 10.30
This function return Earnings Per Share growth (EPS) of a stock.
var currentYear = 3.4;
var priorYear = 3;
investor.epsGrowth(currentYear, priorYear);
// => 13.33%
This function return Net Profit Growth of a stock.
var currentPeriod = 130000000;
var priorPeriod = 100000000;
investor.netProfitGrowth(currentPeriod, priorPeriod);
// => 30%
This function return Sales Growth .
var currentPeriod = 100000;
var priorPeriod = 80000;
investor.salesGrowth(currentPeriod, priorPeriod);
// => 25%
This function return Profit Growth .
var currentPeriod = 500000;
var priorPeriod = 420000;
investor.profitGrowth(currentPeriod, priorPeriod);
// => 19.05%
This function return sales to cashflow per share.
var sales = 100000;
var cashflowPerShare = 65;
investor.salesToCashFlowPerShare(sales, cashflowPerShare);
// => 1538.46
This function return price to cashflow.
var sharePrice = 148;
var operatingCashFlowpershare = 8.8;
investor.priceToCashflow(sharePrice, operatingCashFlowpershare);
// => 16.82
This function return free cashflow per share.
var freeCashflow = 4000000;
var commonShares = 10000000;
investor.freeCashFlowPerShare(freeCashflow, commonShares);
// => 0.4
This function return cashflow per share.
var cashFlowFromOperations = 10000;
var dividendsPaid = 2000;
var outstandingShares = 1000;
investor.cashFlowPerShare(cashFlowFromOperations , dividendsPaid , outstandingShares);
// => 8
This function return interest cover ratio.
var EBIT = 29680;
var interestExpense = 3463;
investor.interestCoverRatio(EBIT , interestExpense );
// => 8.57
This function return market cap to sales.
var marketCap = 100000000;
var sales = 1000000;
investor.marketCaptoSales(marketCap , sales );
// => 100.00
This function return enterprise value to sales.
var enterpriseValue = 46111;
var sales = 21688;
investor.EVtoSALES(enterpriseValue , sales );
// => 2.13
This function return debt to assets ratio.
var Liabilities = 107219;
var Assets = 362357;
investor.debtToAssetRatio(Liabilities, Assets);
// => 29.59%
This function return casa ratio.
var casaDeposits = 23000;
var totalDeposits = 50000;
investor.casaRatio(casaDeposits, totalDeposits);
// => 46%
This function return interest income to total funds.
var netInterestIncome = 100000;
var totalDeposits = 1000000;
investor.interestIncomeToTotalFunds(netInterestIncome, totalDeposits);
// => 10%
This function return credit to deposit.
var totalAdvances = 88419;
var totalDeposits = 93000;
investor.creditToDeposit(totalAdvances, totalDeposits);
// => 95.07%
This function return operating income growth.
var operatingincomeCurrentYear = 2500000;
var operatingincomePreviousYear = 2000000;
investor.operatingIncomeGrowth(operatingincomeCurrentYear, operatingincomePreviousYear);
// => 25.00%
This function return operating income growth.
var currentPeriod = 500000;
var previousPeriod = 450000;
investor.advancesGrowth(currentPeriod, previousPeriod);
// => 11.11%
This function return dividend payout ratio.
var dividendPerShare = 5;
var EPS = 98;
investor.dividendPayoutRatio(dividendPerShare, EPS);
// => 5.10%
This function return dividend payout ratio.
var acquisitionCost = 1000;
var depreciation = 500;
investor.bookValue(acquisitionCost , depreciation);
// => 500.00
This function return book value per share.
var totalEquity = 10;
var preferredEquity = 3;
var outstandingShares = 3.5;
investor.bookValueperShare(totalEquity , preferredEquity , outstandingShares);
// => 2.00
This function return operating cost to assets ratio.
var operatingExpenses = 2769476;
var averageAssets = 129280571;
investor.operatingCostToAssetsRatio(operatingExpenses , averageAssets);
// => 2.14%
This function return cost of liablity.
var interestOnBorrowingsDeposits = 480000;
var totalBorrowingsDeposits = 11000000;
investor.costOfLiablity(interestOnBorrowingsDeposits, totalBorrowingsDeposits);
// => 4.36%
This function return net interest margin.
var interestEarned = 3;
var interestPaid = 1;
var totalAssets = 10;
investor.netInterestMargin(interestEarned, interestPaid, totalAssets);
// => 20.00%
This function return yield on advances.
var interestEarned = 11872;
var advances = 88419;
investor.yieldOnAdvances(interestEarned, advances);
// => 13.43%
This function return Return on Assets.
var netIncome = 2286;
var averageTotalAssets = 142898;
investor.ROA(netIncome, averageTotalAssets);
// => 1.60%
This function return enterprise value to revenue.
var enterpriseValue = 50000000;
var revenue = 1000000;
investor.EVREVENUE(enterpriseValue, revenue);
// => 50.00
This function return enterprise value to revenue.
var marketCap = 50000000;
var netDebt = 1000000;
investor.enterpriseValue(marketCap, netDebt);
// => 51000000
This function return Market Cap.
var marketPrice = 50;
var commonShares = 1000000;
investor.marketCap(marketPrice, commonShares);
// => 50000000
This function return enterprise value to EBIT.
var enterpriseValue = 20000;
var EBIT = 10000;
investor.EVEBIT(enterpriseValue, EBIT);
// => 2.00
This function return enterprise value to EBITDA.
var enterpriseValue = 20000;
var EBITDA = 10000;
investor.EVEBITDA(enterpriseValue, EBITDA);
// => 2.00
This function return operating cashflow ratio.
var operatingCashflow = 150000;
var totalLiablities = 120000;
investor.operatingCashFlowRatio(operatingCashflow , totalLiablities);
// => 1.25
This function return capex to operating cash ratio.
var capex = 1000;
var operatingCashflow = 2000;
investor.CAPEXToOperatingCashRatio(capex , operatingCashflow);
// => 0.50
This function return timesInterestEarnedRatio.
var EBIT = 500000;
var interestExpense = 50000;
investor.timesInterestEarnedRatio(EBIT , interestExpense);
// => 10.00
This function return assets to turnover ratio.
var netSales = 100000;
var totalAssets = 1200000;
investor.assetTurnoverRatio(netSales , totalAssets);
// => 8.33%
This function return debt ratio.
var totalLiablities = 4000;
var totalAssets = 15036;
investor.debtRatio(totalLiablities , totalAssets);
// => 26.60%
This function return equity ratio.
var shareholdersEquity = 65000;
var totalAssets = 100000;
investor.equityRatio(shareholdersEquity , totalAssets);
// => 65.00%
This function return debt to equity ratio.
var totalDebt = 107219;
var shareholdersEquity = 182055;
investor.debtToEquityRatio(totalDebt , shareholdersEquity);
// => .59
This function return net profit margin.
var netProfit = 30;
var revenue = 500;
investor.netProfitMargin(netProfit, revenue);
// => 6.00%
This function return operating profit margin.
var operatingProfit = 170000;
var revenue = 510000;
investor.operatingProfitMargin(operatingProfit, revenue);
// => 33.33%
This function return gross margin ratio.
var totalRevenue = 102007;
var COGS = 39023;
investor.grossMarginRatio(totalRevenue, COGS);
// => 61.74%
This function return capital employed.
var totalAssets = 102007;
var currentLiablities = 39023;
investor.capitalEmployed(totalAssets, currentLiablities);
// => 400000.00
This function return the return on capital employed.
var Ebit = 30000;
var capitalEmployed = 200000;
investor.ROCE(ebit, capitalEmployed);
// => 15.00%
This function return the return on invested capital.
var netIncome = 3521 ;
var investedCapital = 541;
investor.ROIC(netIncome, investedCapital);
// => 650.83%
This function return the return on invested capital.
var netIncome = 80000;
var shareholdersEquity = 80400;
investor.ROE(netIncome, shareholdersEquity);
// => 99.50%