Download historical time series from Google Finance
googleFinanceData(sym, current = TRUE, sy = 2005, sm = 1, sd = 1, ey,
em, ed)
A character string for a (tradeable) symbol
A logical switch to indicate whether the current time is the endtime
An integer value for the start year, default is 2005
An integer value for the start month, default is 1
An integer value for the start date, default is 1
An optional integer value for the end year, required if current
is false
An optional integer value for the end month, required if current
is false
An optional integer value for the end day, required if current
is false
A data.table
object with a key on date
The function uses an (unofficial) older CGI-style interface at Google to download historical data.
The post at https://chrisconlan.com/download-historical-stock-data-google-r-python/ provided the initial starting point