Description Usage Arguments Details Value Examples
Wrapper function around get_ochlav function that returns historical securtity prices
1 2 | get_prices(symbols, start_date = "1990-01-01", end_date = Sys.Date(),
error_handling = "pass", warning = FALSE)
|
symbols |
vector of stock symbol characters. can be 1 or more |
start_date |
starting date for historical prices. default is '1990-01-01'. Y-m-d format required |
end_date |
ending date for historical prices. default is current date. Y-m-d format required |
error_handling |
option to handle errors within foreach loop. options are 'pass', 'remove', or 'stop' |
warning |
logical argument to print getSymbol warnings to console |
Prices are set to adjusted close
single tibble with symbol price history row bounded in long format
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.