-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getSymbols.tiingo
should return a Date
index
#350
Milestone
Comments
joshuaulrich
added a commit
that referenced
this issue
Dec 11, 2021
We were using a POSIXct index for the results, while other getSymbols methods use a Date index for daily data. And tiingo only provides daily end of day data anyway. We could convert to weekly, monthly, or yearly. But that functionality doesn't exist now, so no one could be using it. And users can convert to higher periodicity after the call to getSymbols(). Fixes #350.
Thanks for the report! Let me know what you think of the patch in the commit I just pushed. |
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 |
71978df looks good. thx for this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 typeThe text was updated successfully, but these errors were encountered: