TTR_0.20-2 on CRAN

[This article was first published on FOSS Trading, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

An updated version of TTR is now on CRAN. It fixes a couple bugs and includes a couple handy tweaks. Here’s the full contents of the CHANGES file:

TTR version 0.20-2
Changes from version 0.20-1


NEW FEATURES:
  • Added VWAP and VWMA (thanks to Brian Peterson)
  • Added v-factor generalization to DEMA (thanks to John Gavin)

CHANGES:
  • Updated volatility() to handle univariate case of calc=’close’ (thanks to Cedrick Johnson)
  • Moved EMA, SAR, and wilderSum from .Fortran to .Call and used xts:::naCheck in lieu of TTR’s NA check mechanism
  • RSI up/down momentum now faster with xts (thanks to Jeff Ryan)
  • If ‘ratio’ is specified in EMA but ‘n’ is missing, the traditional value of ‘n’ is approximated and returned as the first non-NA value (thanks to Jeff Ryan)

BUG FIXES:
  • Fix to stoch() when maType is a list and ‘n’ is not set in the list’s 3rd element (thanks to Wind Me)
  • Fixed fastK in stoch() when smooth != 1
  • Fixed segfault caused by EMA when n < NROW(x) (thanks to Douglas Hobbs)
  • test.EMA.wilder failed under R-devel (thanks to Prof Brian Ripley)


To leave a comment for the author, please follow the link and comment on their blog: FOSS Trading.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)