View source: R/securityMetrics.R
fmpc_security_sector | R Documentation |
For each day, the return for a sector will be pulled
fmpc_security_sector(days = 25)
days |
number of trading days to pull returns from current day. For example, 20 will pull the last 20 trading days, about one month of data. |
data frame of sectors and daily returns
## Not run:
fmpc_set_token('FMPAPIKEY')
allSymbs = fmpc_security_sector(30)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.