Factors | R Documentation |
Function calculates factor often (and less often) used in asset pricing factor investing literature.
findata::DataAbstract
-> Factors
source
Data source for calculating factors.
fmp
Help field to hold FMP class.
import
Help field to hold Import class.
utilsdata
Help field to hold Import class.
sp500_symbols
Path to QuantConnect SPY file.
new()
Create a new Factors object.
Factors$new(sp500_symbols, source = "fmp", fredr_apikey = NULL)
sp500_symbols
Path to QuantConnect SPY file.
source
Data source for calculating factors.
fredr_apikey
FRED api key
A new 'Factors' object.
get_factors()
Main function that calculates factors.
Factors$get_factors(...)
...
Arguemnts of get_data_fmp method of Import class.
Data.table with factors.
clone()
The objects of this class are cloneable with this method.
Factors$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.