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 05 Jun. 2026.
Previous versions and publish date:
1.1.1 (2015-02-23 08:09), 1.1.2 (2018-03-06 16:45), 1.1.3 (2018-05-08 22:47)
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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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