Description Usage Arguments Value Examples
View source: R/GetNewsHeadlines.R
Returns news articles based on symbol and dates. Requires API keys (in specific order). See help for more info.
1 | GetNewsHeadlines(APIKeys, symbol, maxhits, enddate)
|
APIKeys |
A vector containing API keys (order: cKey, cSecret, oKey, oSecret). |
symbol |
A ticker |
maxhits |
The number of hits to display |
endDate |
The end date, passed as two-digit month and two digit day, separated by a '/' (mm/dd) |
A tibble containing news headlines from today's date to enddate
1 2 3 4 | ## Not run:
GetNewsHeadlines(APIKeys, "aapl", "10", "02/27")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.