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]
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 29 Apr. 2025.
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)
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
03/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/28Downloads for portfolioBacktest0102030405060708090100TrendBars

Today's Hot Picks in Authors and Packages

bigGP  
Distributed Gaussian Process Calculations
Distributes Gaussian process calculations across nodes in a distributed memory setting, using Rmpi. ...
Download / Learn more Package Citations See dependency  
phecodemap  
Visualization for PheCode Mapping with ICD-9 and ICD-10-CM Codes
To build a shiny app for visualization of the hierarchy of PheCode Mapping with International Classi ...
Download / Learn more Package Citations See dependency  
PCAmatchR  
Match Cases to Controls Based on Genotype Principal Components
Matches cases to controls based on genotype principal components (PC). In order to produce better r ...
Download / Learn more Package Citations See dependency  
knockoff  
The Knockoff Filter for Controlled Variable Selection
The knockoff filter is a general procedure for controlling the false discovery rate (FDR) when perf ...
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  
NBBDesigns  
Neighbour Balanced Block Designs (NBBDesigns)
Neighbour-balanced designs ensure that no treatment is disadvantaged unfairly by its surroundings. T ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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