Learn R Programming

fmpcloudr (version 0.1.5)

fmpc_security_news: Get current news

Description

Provides current and historical News. Can enter securities to pull news for specific securities

Usage

fmpc_security_news(symbols = NULL, limit = 100)

Arguments

symbols

one or more symbols. Use NULL for general latest news

limit

limit results for each ticker

Value

data frame of news for tickers

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# For multiple symbols, set a valid API Token
fmpc_set_token('FMPAPIKEY')
fmpc_security_news(c('AAPL','MSFT','SPY'))
fmpc_security_news()

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab