Skip to content

stocks

Stock Market Analysis

v1.1.4 · Aug 30, 2018 · GPL-3

Description

Functions for analyzing stocks or other investments. Main features are loading and aligning historical data for ticker symbols, calculating performance metrics for individual funds or portfolios (e.g. annualized growth, maximum drawdown, Sharpe/Sortino ratio), and creating graphs. C++ code is used to improve processing speed where possible.

Downloads

212

Last 30 days

15573rd

212

Last 90 days

212

Last year

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Dane R. Van Domelen <vandomed@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Dane", "R."),
                    family = "Van Domelen",
                    role = c("aut", "cre"),
                    email = "vandomed@gmail.com")
as necessary.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘stocks.Rd’:
    https://doi.org/10.7287/peerj.preprints.3188v1
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Dane R. Van Domelen <vandomed@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Dane", "R."),
                    family = "Van Domelen",
                    role = c("aut", "cre"),
                    email = "vandomed@gmail.com")
as necessary.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘stocks.Rd’:
    https://doi.org/10.7287/peerj.preprints.3188v1
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Dane R. Van Domelen <vandomed@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Dane", "R."),
                    family = "Van Domelen",
                    role = c("aut", "cre"),
                    email = "vandomed@gmail.com")
as necessary.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘stocks.Rd’:
    https://doi.org/10.7287/peerj.preprints.3188v1
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Dane R. Van Domelen <vandomed@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Dane", "R."),
                    family = "Van Domelen",
                    role = c("aut", "cre"),
                    email = "vandomed@gmail.com")
as necessary.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘stocks.Rd’:
    https://doi.org/10.7287/peerj.preprints.3188v1

Dependency Network

Dependencies Reverse dependencies rbenchmark quantmod dvmisc Hmisc lubridate RColorBrewer Rcpp TTR zoo stocks

Version History

new 1.1.4 Mar 9, 2026