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 16 Jul. 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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