optim.TargetReturn

0th

Percentile

Optimize portfolio weights given target returns

Optimizes portfolio weights by minimizing the variance for a given target return

Usage
optim.TargetReturn(
  asset.names,
  increment = 100,
  rf = 0,
  tgt.ret,
  period = c("months", "weeks", "quarters", "years")
)
Arguments
asset.names

Vector of ticker of securities

increment

Number of portfolio to be generated, Default: 100

rf

Risk-free rate of return, Default: 0

tgt.ret

Target return for given funds

period

Period for which the returns are calculated, Default: c("months", "weeks", "quarters", "years")

Details

Minimizes the variance using the method of lagrange multiplier to calculate the portfolio weights with minimized variance for given target return.

Value

Returns a dataframe of the portfolios with different portfolio weights and different target returns and target standard deviation. Using this an investor can choose between range of portfolio to allocate funds.

Aliases
  • optim.TargetReturn
Examples
# NOT RUN {
optim.TargetReturn(c('FXAIX', 'TIBFX'), period = 'weeks', tgt.ret = 0.0021)
# }
Documentation reproduced from package PortfolioAnalysis, version 1.0.6, License: GPL-3

Community examples

Looks like there are no examples yet.