Gather the historical data for a given ticker
1 2 3 4 5 6 7 8 | yfinHistory(
security,
region = "US",
start_date,
end_date,
interval = "1d",
historyType = "price"
)
|
security |
The ticker for the security |
region |
Default: US; selects the stock exchanges to get security from. |
start_date |
Must be numeric in this format: YYYYMMDD |
end_date |
Must be numeric in this format: YYYYMMDD |
interval |
|
type |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.