aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:05:43 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:05:43 +0100
commitdceb159206e8336f855d768a83c2da6b9dd95982 (patch)
treec42a9b1b7a3298b3545cccea260638f1022b205c /gnu
parent0be7effefa4aaa39a2312b9b57d8bed5811e4069 (diff)
downloadpatches-dceb159206e8336f855d768a83c2da6b9dd95982.tar
patches-dceb159206e8336f855d768a83c2da6b9dd95982.tar.gz
gnu: Add r-quantmod.
* gnu/packages/cran.scm (r-quantmod): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1f76dac57c..8c811269f3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2399,3 +2399,27 @@ sapa R packages.")
Analysis for Physical Applications, Donald B. Percival and Andrew T. Walden,
Cambridge University Press, 1993.")
(license license:gpl2)))
+
+(define-public r-quantmod
+ (package
+ (name "r-quantmod")
+ (version "0.4-12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "quantmod" version))
+ (sha256
+ (base32
+ "0y7gh0k1s10vdsfch8777avbhf99mc9crikvx7ahqrw0j631vmhq"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-curl" ,r-curl)
+ ("r-ttr" ,r-ttr)
+ ("r-xts" ,r-xts)
+ ("r-zoo" ,r-zoo)))
+ (home-page "http://cran.r-project.org/web/packages/quantmod/")
+ (synopsis "Quantitative financial modelling framework")
+ (description "This package provides a quantitative financial modelling
+framework to allow users to specify, build, trade, and analyse quantitative
+financial trading strategies.")
+ (license license:gpl3)))