-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add periodicity argument to getSymbols.yahoo()
Kurt Hornik expressed an interest in using getSymbols.yahoo() as a drop-in replacement for tseries::get.hist.quote(), because that would create a single point of failure for any future changes to Yahoo Finance. But tseries::get.hist.quote() has a has a 'compression' argument that allows users to pull daily, weekly, or monthly data as provided by Yahoo. Add the periodicity argument to getSymbols.yahoo(), so get.hist.quote() can maintain functionality for its 'compression' argument. Fixes #162.
- Loading branch information
1 parent
aa19272
commit a39d6b5
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters