Description Usage Arguments Value Examples
Wrapper function around get_prices function that returns current prices. Adds timestamp of date pulled
1 2 | get_current_prices(symbols, dividends = FALSE, error_handling = "pass",
warning = FALSE)
|
symbols |
vector of stock symbol characters. can be 1 or more |
dividends |
logical option to add current annual dividend amount to output |
error_handling |
option to handle errors within foreach loop. options are 'pass', 'remove', or 'stop' |
warning |
logical argument to print getSymbol warnings to console |
tibble with 1 record per symbol with current adjusted close price
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.