Analyst details for one or more securities includes earnings estimates, earnings surprises, stock grade, analyst recommendations, and company press releases
fmpc_analyst_outlook( symbols = c("AAPL"), outlook = c("surprise", "grade", "estimate", "recommend", "press"), limit = 100 )
symbols | one or more symbols from the FMP available list that can be
found using |
---|---|
outlook | can be one of: 'surprise' for earnings surprise, 'grade' for stock grade', 'estimateAnnl' for analysts annual estimates, 'estimateQtr' for analysts quarterly estimate, 'recommend' for analyst recommendations, and 'press' for company press releases |
limit | limit results for each ticker |
data frame of ratings data
if (FALSE) { # Demo can pull AAPL fmpc_set_token() fmpc_analyst_outlook('AAPL') # For multiple symbols, set a valid API Token fmpc_set_token('FMPAPIKEY') fmpc_analyst_outlook(c('AAPL','MSFT','SPY')) }