View source: R/process_one_stock_ticker.R
Downloading and adding technical indicators to the historical data of a ticker
1 2 3 4 5 6 7 8 | stock_get_one_ticker(
ticker,
start_date = "2000-01-01",
end_date = Sys.Date(),
mas = c(50, 100, 200),
ad_local_text = F,
ad_percent_change = F
)
|
ticker |
The ticker of the company to download |
start_date |
The first date of the historical data |
end_date |
The last date of the data |
mas |
List of the simple moving averages to calculate |
ad_local_text |
if you want to calculate the local min max with 20 period |
ad_percent_change |
if you want to calculate the percent change from the first day |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.