get_news: Get news from polygon API

Description Usage Arguments Examples

View source: R/reference.R

Description

Get the most recent news articles relating to a stock ticker symbol, including a summary of the article and a link to the original source.

Usage

1
get_news(ticker, publish_date = Sys.Date() - 1, limit = 100)

Arguments

ticker

(string) Stock ticker symbol of interest.

publish_date

(Date) Publish date. Return articles publish at or after this date.

limit

(Integer) The maximum number of results returned.

Examples

1
2
3
4
## Not run: 
get_news('AAPL')

## End(Not run)

eokodie/polygon documentation built on June 18, 2021, 10:19 p.m.