get_e10: Get E10

View source: R/get_e10.R

get_e10R Documentation

Get E10

Description

Wrapper function for fetching data from gurufocus.com.

Usage

get_e10(df)

Arguments

df

data.frame. Data frame with column 'symbol' containing at least one valid stock ticker symbol.

Details

E10 is a main component used to calculate Shiller PE Ratio. If the month end stock price for this stock is zero, result may not be accurate due to the exchange rate between different shares and the data will not be stored into our database. Selected historical data showed in the calculation section below is only for demonstration purpose. E10 is a concept invented by Prof. Robert Shiller, who uses E10 for his Shiller P/E calculation. E10 is the average of the inflation adjusted earnings of a company over the past 10 years

Value

Input data.frame supplemented by the company's available E10 data.

Examples

df <- data.frame('symbol' = 'AAPL')
res <- get_e10(df)


OliverHennhoefer/quant documentation built on Sept. 18, 2022, 5:50 p.m.