From dceb159206e8336f855d768a83c2da6b9dd95982 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 2 Mar 2018 23:05:43 +0100 Subject: [PATCH] gnu: Add r-quantmod. * gnu/packages/cran.scm (r-quantmod): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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)))