View source: R/fct_download_stock.R
download_stock | R Documentation |
Download price data of a stock
download_stock(symbol, source, period = 500)
symbol |
stock symbol such as "AAPL" |
source |
where is the data from, "yahoo" for Yahoo Finance or "tws" for for Interactive Brokers TWS. Need a account and data subscription for TWS. |
period |
number of days to look back |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.