optimpf: Calculate Sharpe ratio optimized PF weights

Description Usage Arguments Value Examples

View source: R/portfolio_construction.R

Description

The function can optimize a time series of prices in order to get portfolio weights that deliver the highest possible Sharpe ratio. As this function optimizes the Sharpe Ratio, which is calculated with a seperate function in this package, the sharpe function needs to be loaded as well.

Usage

1

Arguments

data

A data frame or matrix that contains the time series of prices.

Value

A data frame with containing time series of the portfolio performance.

Examples

1

MatthiasSpeicher/gryffindorrobo documentation built on Dec. 27, 2019, 2:15 a.m.