yfinHistory: Gather the historical data for a given ticker

Description Usage Arguments

View source: R/history.R

Description

Gather the historical data for a given ticker

Usage

1
2
3
4
5
6
7
8
yfinHistory(
  security,
  region = "US",
  start_date,
  end_date,
  interval = "1d",
  historyType = "price"
)

Arguments

security

The ticker for the security

region

Default: US; selects the stock exchanges to get security from.

start_date

Must be numeric in this format: YYYYMMDD

end_date

Must be numeric in this format: YYYYMMDD

interval
type

stevensolarz/rYahooFinance documentation built on Jan. 8, 2022, 7:44 p.m.