Closed ethanbsmith closed 2 years ago
Thanks for the report! Let me know what you think of the patch in the commit I just pushed.
just checked the tiingo docs and they do support those other sampling frequencies. is there a reason to disallow them? would seem to be a potential breaking change. returning a Date
index for those periodicities would match how getSymbols.yahoo
works
rest looks good
Good find regarding that argument! I didn't (and still couldn't) find that in the documentation. I added that functionality to the patch.
scratch that. i need to do some testing
https://github.com/joshuaulrich/quantmod/commit/71978df0a5b5c69b67f1ff3e4ab1acadd7c77f9c looks good. thx for this!
Description
getSymbols.tiingo
currently only return daily sampled date, but theindex
on the data isPOSIXct
tm.stamps <- as.POSIXct(stock.data[, "date"], ...)
Date
data type on the indexPOSIXct
data type on daily data exposes the consumer to time zone issuesExpected behavior
return the index as a
Date
data type