Other packages > Find by keyword >

portfolioBacktest  

Automated Backtesting of Portfolios over Multiple Datasets
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("portfolioBacktest", "0.4.1")



Attach the package and use:
library("portfolioBacktest")
Maintained by
Daniel P. Palomar
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-06-19
Latest Update: 2022-04-22
Description:
Automated backtesting of multiple portfolios over multiple datasets of stock prices in a rolling-window fashion. Intended for researchers and practitioners to backtest a set of different portfolios, as well as by a course instructor to assess the students in their portfolio design in a fully automated and convenient manner, with results conveniently formatted in tables and plots. Each portfolio design is easily defined as a function that takes as input a window of the stock prices and outputs the portfolio weights. Multiple portfolios can be easily specified as a list of functions or as files in a folder. Multiple datasets can be conveniently extracted randomly from different markets, different time periods, and different subsets of the stock universe. The results can be later assessed and ranked with tables based on a number of performance criteria (e.g., expected return, volatility, Sharpe ratio, drawdown, turnover rate, return on investment, computational time, etc.), as well as plotted in a number of ways with nice barplots and boxplots.
How to cite:
Daniel P. Palomar (2019). portfolioBacktest: Automated Backtesting of Portfolios over Multiple Datasets. R package version 0.4.1, https://cran.r-project.org/web/packages/portfolioBacktest. Accessed 05 Jun. 2026.
Previous versions and publish date:
0.1.0 (2019-06-19 13:40), 0.1.1 (2019-07-06 00:10), 0.2.0 (2019-08-23 15:00), 0.2.1 (2019-10-07 17:20), 0.2.2 (2020-08-03 12:50), 0.2.3 (2021-01-12 09:50), 0.3.0 (2021-09-21 15:10), 0.3.1 (2021-10-17 22:00), 0.4.1 (2022-04-22 10:30)
Other packages that cited portfolioBacktest R package
View portfolioBacktest citation profile
Other R packages that portfolioBacktest depends, imports, suggests or enhances
Complete documentation for portfolioBacktest
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

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  
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  
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  
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  

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