get_prices_yahoo: get_prices_yahoo

Description Usage Arguments

View source: R/optimist.R

Description

Builds an xts containing prices downloaded from Yahoo! Finance.

Usage

1
2
get_prices_yahoo(yahoo_id, column = "Adjusted", from = "2007-01-01",
  to = Sys.Date(), ..., periodicity = "daily")

Arguments

yahoo_id

character array containining yahoo ids.

column

indicating which column should be returned: "Open", "High", "Low", "Close", "Volume", ("Adjusted")

from

start date. Retrieve data no earlier than this date. (2007-01-01).

to

end date. (Sys.Date())

...

additional parameters

periodicity

periodicity of data to query and return. Must be one of "daily", "weekly", "monthly", ("daily")


audiracmichelle/optimist documentation built on Aug. 21, 2019, 7:55 p.m.