Other packages > Find by keyword >

stocks  

Stock Market Analysis
View on CRAN: Click here


Download and install stocks package within the R console
Install from CRAN:
install.packages("stocks")

Install from Github:
library("remotes")
install_github("cran/stocks")

Install by package version:
library("remotes")
install_version("stocks", "1.1.4")



Attach the package and use:
library("stocks")
Maintained by
Dane R. Van Domelen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-02-23
Latest Update: 2018-08-31
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.
How to cite:
Dane R. Van Domelen (2015). stocks: Stock Market Analysis. R package version 1.1.4, https://cran.r-project.org/web/packages/stocks. Accessed 30 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:09), 1.1.1 (2015-02-23 08:09), 1.1.2 (2018-03-06 16:45), 1.1.3 (2018-05-08 22:47), 1.1.4 (2018-08-31 06:30)
Other packages that cited stocks R package
View stocks citation profile
Other R packages that stocks depends, imports, suggests or enhances
Complete documentation for stocks
Functions, R codes and Examples using the stocks R package
Some associated functions: beta_trailing50 . contango_hedged . contango_simple . convert_gain . daily_yearly . diffs . gains_graph . gains_prices . gains_rate . growth_graph . highyield_etfs . largest_etfs . load_gains . load_prices . mdd . metrics . onemetric_graph . onemetric_overtime_graph . pchanges . pdiffs . prices_gains . prices_rate . ratios . rrr . sector_spdr_etfs . sharpe . sortino . stocks . targetall . targetbeta_twofunds . threefunds_graph . ticker_dates . twofunds_graph . twometrics_graph . vanguard_balanced_funds . vanguard_bond_etfs . vanguard_bond_funds . vanguard_etfs . vanguard_funds . vanguard_igrade_etfs . vanguard_igrade_funds . vanguard_international_etfs . vanguard_international_funds . vanguard_largecap_etfs . vanguard_largecap_funds . vanguard_midcap_etfs . vanguard_midcap_funds . vanguard_sector_etfs . vanguard_sector_funds . vanguard_smallcap_etfs . vanguard_smallcap_funds . vanguard_stock_etfs . vanguard_stock_funds . vanguard_targetdate_funds . vanguard_targetrisk_funds . vanguard_taxexempt_bond_funds . vanguard_traditional_funds . vanguard_treasury_etfs . vanguard_treasury_funds . 
Some associated R codes: RcppExports.R . beta_trailing50.R . contango_hedged.R . contango_simple.R . convert_gain.R . daily_yearly.R . gains_graph.R . gains_prices.R . gains_rate.R . growth_graph.R . load_gains.R . load_prices.R . mdd.R . metrics.R . onemetric_graph.R . onemetric_overtime_graph.R . prices_gains.R . prices_rate.R . rrr.R . sharpe.R . sortino.R . stocks-data.R . stocks.R . targetall.R . targetbeta_twofunds.R . threefunds_graph.R . ticker_dates.R . twofunds_graph.R . twometrics_graph.R .  Full stocks package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

GLMsData  
Generalized Linear Model Data Sets
Data sets from the book Generalized Linear Models with Examples in R by Dunn and Smyth. ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
CVrisk  
Compute Risk Scores for Cardiovascular Diseases
Calculate various cardiovascular disease risk scores from the Framingham Heart Study (FHS), the Ame ...
Download / Learn more Package Citations See dependency  
RiemBase  
Functions and C++ Header Files for Computation on Manifolds
We provide a number of algorithms to estimate fundamental statistics including Fr ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA