- Add an environment variable to control whether to run tests that import
from Yahoo Finance.
getDividends()
tests were failing because Yahoo Finance wasn't returning all dividend history for "CF". - Write one message the first time
quantmod::as.zoo.data.frame()
is called. This method was added years beforezoo::as.zoo.data.frame()
existed, but it should be deprecated in favor of the zoo version. The package that owns the class should also own the methods.
- Fix
getSymbols.tiingo()
so the Open and Close columns aren't swapped. Thanks to Steve Bronder for the report and PR. #233 #234 - Fix
getQuote.yahoo()
for quotes in multiple timezones. Thanks to Philippe Verspeelt for the report and PR. #246 #248 - Update
getDividends()
because Yahoo Finance now provides raw dividends instead of split-adjusted dividends. Thanks to Douglas Barnard for the report. #253 - Fix
futures.expiry()
. Thanks to @pjheink for the report. #257 - Fix
getSymbols.tiingo()
to return correct columns for ticker "LOW". Thanks to @srtg4we5gsetrgwhreyt the report. #259 - Fix
getSymbols.yahooj()
to avoid infinite loop when the requested symbol doesn't have data. Thanks to Wouter Thielen for the review. #63 - Update
getSplits()
because Yahoo Finance now provides the actual split adjustment ratio, instead of the inverse (e.g. now 1/2 instead of 2/1). #265
- Extend
getQuote()
to support Tiingo. Thanks to Ethan Smith for the feature request and PR. #247 #250 - Extend
getSymbols()
to catch errors for individual ticker symbols and continue processing any remaining ticker symbols, instead of throwing an error. More useful error messages are also provided. Thanks to @helgasoft for testing and feedback. #135
- Fix
getQuote.yahoo()
when a field has no data for all requested tickers. #208 - Expose weekly and monthly adjusted prices from Alpha Vantage's API. #212
- Fix
saveChart()
(it actually saves a chart now!). #154 - Update Oanda URL, which fixes
getSymbols.oanda()
andgetFX()
. #225
- Add
getQuote.alphavantage()
, thanks to Ethan Smith for the PR. #213 #223 - Add
getSymbols.tiingo()
to import data from Tiingo. Thanks to Steve Bronder for the PR. #220
- Google Finance no longer provides data for historical prices or financial statements, so all Google data sources are defunct. #221
chartSeries()
now honorsshow.grid
argument. Thanks to Ethan Smith. #200getQuote.yahoo()
uses the new JSON API. #197getSymbols.yahoo()
is more careful about converting UNIX timestamps to character when creating the query URL. #202
getSymbols.yahoo()
getSymbols.av()
can download data from Alpha Vantage. Thanks to Paul Teetor for the contribution. #176
getSymbols.yahoo()
getSymbols()
no longer warns if called with namespace (i.e.quantmod::getSymbols()
). #134as.zoo.data.frame()
now ignoresrow.date
argument if called withorder.by
. #168
getSymbols.yahoo()
uses the new API. #157getOptionChain.yahoo()
returnsNULL
when there are no calls/puts instead oflist()
. #155
getSymbols.yahoo()
gains aperiodicity
argument, for use bytseries::get.hist.quote()
. #162
getSymbols.google()
:- Honor all arguments set via
setSymbolLookup()
. - Correctly parse dates in non-English locales.
- Honor all arguments set via
- Fix
getSymbols.oanda()
. - Fix
add_TA()
when called from a function. - Remove 'its' package references (it was archived).
- Update Yahoo Finance URLs to HTTPS to avoid redirect.
- Update FRED URL to avoid redirect.
- Add
split.adjust
argument togetDividends()
. - Add readme, contributing, and issue template files for GitHub.
- Let
jsonlite::fromJSON()
manage connections ingetOptionChain.yahoo()
. - Update omegahat URL at CRAN's request.
- Remove unused
unsetSymbolLookup()
. - Add documentation for
getPrice()
. - Fix subsetting in
addTRIX()
. - Fix
getSymbols.oanda()
to use https. - Fix
getOptionChain.yahoo()
to download JSON instead of scrape HTML.
- Ensure
add*MA()
functions use Close column by default. - Correct
Delt()
docs (type argument default value was wrong). - Ensure tempfiles are always removed.
- In
getSymbols.csv()
:- Fix format argument handling.
- Ensure date column is character before calling
as.Date()
. - Add
col.names
argument.
- Fix
dbConnect()
call (changed inRMySQL_0.10
) ingetSymbols.MySQL()
. - Automatically detect OHLC vs OHLCVA in
getSymbols.yahooj()
. - Handle long vectors in
setDefaults()
. - Fix `getSymbols.FRED() for https.
- Fix `getOptionChain.yahoo() for spaces in table headers.
- Add
importFrom
for all non-base packages.
- Added
getSymbols.yahooj()
to pull data from Yahoo Finance Japan (Thanks to Wouter Thielen for the contribution. #14). - Fixed
getOptionChain.yahoo()
to handle the new options page layout. #27 - Fixed
getSymbols.oanda()
to handle the new URL structure and CSV format. #36
-
Change maintainer from Jeffrey Ryan to Joshua Ulrich
-
Copy required functionality from the (archived) Defaults package into quantmod and remove dependency on Defaults.
-
Incorporate several bug fixes and patches.
-
getSymbols now uses parent.frame() when auto.assign=TRUE. This will cause slightly different behavior than previous versions using .GlobalEnv, but is more functional in design.
-
getSymbols now allows for env=NULL, which will behave as if auto.assign=FALSE is set.
-
Upcoming changes for version 0.5-0 will include deprecating auto assignment from within getSymbols calls. This will instead be moved to the loadSymbols function, to better match get/load behaviors in base R. For the transition, auto.assign will be available to force pre 0.5-0 behaviors, but will be discouraged. The env= arg will be used for multiple symbol assigns.
-
addTA now handles logical vectors or logical xtsible objects by drawing bands on chart window
-
addTA can now draw on or under any window via 'on=' arg
-
chartSeries now cleanly handles series without volume automatically
-
addVo has new log.scale option
- Delt (and functions that call) now defaults to 'arithmetic' (discrete) calculations vs. the previous behavior of 'log' (continuous) calculation. This is more inline with expected behavior
- addTA and newTA allow for dynamic indicator additions with little coding
-
matched broken TTR calls, aligned arguments between packages
-
'name' of chart was being evaluated somewhere in the process, resulting in the object becoming a string. Fixed in this release.
-
continuing the move of time-series functionality to the 'xts' package
-
added new TTR functions to addTA.
-
added underlay charting to main area (BBands) as well as much more advanced shading and labeling.
-
chartSeries converts incoming 'x' argument to xts object for more universal handling. Not fully sorted out - but better than before.
-
new subset argument to allow for xts-style subsetting
- new TTR functions - ATR, CCI, CMF, CMO, DPO, Lines, Momentum, TRIX
-
new depends - on CRAN and R-Forge package xts for time-series handling internally
-
options.expiry and futures.expiry now use universal %w to check weekdays
-
Rmetrics change resulted in as.timeSeries moving to fSeries. New suggest and assoc. changes
- Added ability to plot series with missing values (like those in a 'ts' series) Volume with missing obs. is still broken - to be fixed in 0.3-2
-
Fixed factor bug in getSymbols.FRED. Thanks to Josh Ulrich
-
Fixed bug in [.quantmod.OHLC method when i/j was missing, also now returns quantmod.OHLC object consistently
-
Added high frequency data handling - to.minutes, to.hourly, to.daily. Additional work done to accomodate within rest of framework
-
getSymbols downloads now to temp file - instead of directly to memory. Fixed R issue in certain Windows installations
-
getSymbols now returns a character array of symbol names written to environment.
-
getSymbols includes new arg - auto.assign. If set to FALSE will behave like standard R functions and simply return loaded object. Requires user assignment via '<-'
-
Better handling of timeSeries, ts, its within entire package
-
chartSeries rewrite. Now manages charting with S4 objects stored quietly in memory. Allowing for dynamic redraws used in applying technical indicators and overlays
-
addTA functions. New charting tools to add technicals to charts dynamically. More on the way
-
listTA, setTA, unsetTA to handle default TA args
-
chartTheme function to customize chart 'look'
-
last/first functions now take character strings to describe in words the subsetting to do. Also negative value support for opposite behavior. Additional keep arg will assign removed data to an attribute keep with the object
-
getSymbols.SQLite support. Still very clunky - though that is SQLite.
-
getFX and getMetals for direct download of those types
-
getQuote downloads Last,Change,Open,High,Low,Volume from Yahoo
-
added documentation and fixed documentation