Builds an xts containing prices downloaded from Yahoo! Finance.
1 2 | get_prices_yahoo(yahoo_id, column = "Adjusted", from = "2007-01-01",
to = Sys.Date(), ..., periodicity = "daily")
|
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") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.