Description Usage Arguments Value Examples
View source: R/securityMetrics.R
For each day, the return for a sector will be pulled
1 | 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
1 2 3 4 5 6 7 | ## 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.