Description Usage Arguments Value Examples
This function retrieves all available historic prices of a given company. This company is specified using the 'symbol' argument. All available symbols can be found using 'get_symbols_list()'
1  | get_prices(symbol, from = "1970-01-01", to = Sys.Date())
 | 
symbol | 
 String that specifies the ticker/symbol of the company we want to download its prices.  | 
from | 
 Minimum date to get data from.  | 
to | 
 Maximum date to get data of.  | 
Returns a tibble.
1  | prices <- get_prices('MSFT', from = '2010-04-05', to = '2011-03-02')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.