(finance/R-quantmod) Updated 0.4.20 to 0.4.22
### Changes in 0.4.22 (2023-04-05) 1. Move jsonlite from Suggests to Imports so it doesn't cause a problem when a package that doesn't also Suggest jsonlite uses getSymbols(). Thanks to Kurt Hornik for the report and fix! [#380](https://github.com/joshuaulrich/quantmod/issues/380) ### Changes in 0.4.21 (2023-03-29) 1. Fix S3 method issues. R-devel (83995-ish) added a check for possible S3 method issues. Register methods it found that were not registered: `str.replot()`, `seriesHi.timeSeries()`, and `seriesLo.timeSeries()`. It was also confused by `range.bars()` and `unique.formula.names()`. Remove `unique.formula.names()` because it wasn't exported or used internally. Rename `range.bars()` to `rangeBars()`, which isn't exported. Thanks to Kurt Hornik for the report! [#375](https://github.com/joshuaulrich/quantmod/issues/375) 1. Remove "^" prefix from `getSymbols()` return value. When the 'Symbols' argument has a "^" prefix and `auto.assign = TRUE`: * `getSymbols()` removes the "^" from the object it creates, but * returns the 'Symbols' argument unchanged, and * removes the "^" from the column names of the object it creates. The example below will create an object named `IXIC` but the value of `sym` will be "^IXIC". sym <- getSymbols("^IXIC") That means `x <- get(sym)` will not work because an object named `^IXIC` doesn't exist. [#371](https://github.com/joshuaulrich/quantmod/issues/371) 1. Add 'from' and 'to' arguments to `getSymbols.FRED()`. Users expect to be able to set the 'from' and 'to' arguments for FRED data like they can for Yahoo data. Those values were ignored and the entire series was always returned. [#368](https://github.com/joshuaulrich/quantmod/issues/368) 1. Change interval to 1d for `getDividends()` and `getSplits()`. The "3mo" setting caused some dividends to be missing for companies that issued monthly dividends. Note that the response to this request also includes all the OHLCV data. But it's small (less than 1MB for 60+ years of daily data). [#372](https://github.com/joshuaulrich/quantmod/issues/372) 1. Handle errors in `getSplits()` and `getDividends()`. `getDividends()` didn't handle cases where the download failed, or when dividends needed to be split-adjusted but there were no splits. It also tried to set colnames on the empty xts object that's returned when there are no dividends. `getSplits()` had the same colnames issue. Check for no splits by testing for `NULL` because that's more explicit. Thanks to Chris Cheung for the report! [#366](https://github.com/joshuaulrich/quantmod/issues/366) 1. Export `HL()`, `is.HL()`, and `has.HL()` functions and add documentation. These were added in 0.4.18 but not exported or included in the documentation. 1. Use Yahoo Finance v8 JSON endpoint and remove the v7 CSV endpoint. There seems to be a rate limit for the number of tickers you can request via the CSV endpoint. The [yfinance python library](https://github.com/ranaroussi/yfinance) uses the JSON endpoint and doesn't seem to have rate limit issues. [#360](https://github.com/joshuaulrich/quantmod/issues/360) [#362](https://github.com/joshuaulrich/quantmod/issues/362) [#364](https://github.com/joshuaulrich/quantmod/issues/364)
This commit is contained in:
parent
cafc19f488
commit
3ebe91f50a
2 changed files with 8 additions and 7 deletions
|
@ -1,17 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/05/29 00:04:50 wen Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/06/11 23:10:03 mef Exp $
|
||||
|
||||
R_PKGNAME= quantmod
|
||||
R_PKGVER= 0.4.20
|
||||
R_PKGVER= 0.4.22
|
||||
CATEGORIES= finance
|
||||
|
||||
MAINTAINER= minskim@NetBSD.org
|
||||
COMMENT= Quantitative financial modelling framework
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
DEPENDS+= R-curl>=4.0:../../www/R-curl
|
||||
DEPENDS+= R-jsonlite-[0-9]*:../../textproc/R-jsonlite
|
||||
DEPENDS+= R-TTR>=0.2:../../finance/R-TTR
|
||||
DEPENDS+= R-xts>=0.9.0:../../math/R-xts
|
||||
DEPENDS+= R-zoo>=1.8.6:../../math/R-zoo
|
||||
DEPENDS+= R-curl>=4.0:../../www/R-curl
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.5 2022/05/29 00:04:50 wen Exp $
|
||||
$NetBSD: distinfo,v 1.6 2023/06/11 23:10:03 mef Exp $
|
||||
|
||||
BLAKE2s (R/quantmod_0.4.20.tar.gz) = d13d955fb0b5f1014fc92bf5cd776e0a0c137e231c6ffe7a250a99fe2be6362e
|
||||
SHA512 (R/quantmod_0.4.20.tar.gz) = 27b0c31eb42a82c79be2a32b0bf59e3ce3c8c0463eca3709e3a82b8dbde500f58d5b21babe2116ab5b44df0ab41c2addfa709c4732e5e84671d94e16804794f7
|
||||
Size (R/quantmod_0.4.20.tar.gz) = 156640 bytes
|
||||
BLAKE2s (R/quantmod_0.4.22.tar.gz) = 81b726acd9c87a4b0c96eeecbf838a71b88c0b79245fdbf93de0ddebc6fb41ab
|
||||
SHA512 (R/quantmod_0.4.22.tar.gz) = efdb8bef6fd978ef7da30ed0b7541c0fca9785ce448ec21788f1e46f69a80ecb7d2bdf7d030c46796f9ebeba2893ec310898cc705e2e7e4d95b000b6b1bed4f3
|
||||
Size (R/quantmod_0.4.22.tar.gz) = 157912 bytes
|
||||
|
|
Loading…
Reference in a new issue