MinvarWeight: Calculate assets weights for minimum variance portfolio given...

Description Usage Arguments Author(s)

Description

Compute the minumum variance portfolio given target return based on Quadratic Programming. Short sale constraint could be used. Lower and upper bound could not be implemented by this function

Usage

1
MinvarWeight(ret, covmat, target, short = TRUE, freq)

Arguments

ret

a vector stores mean return of assets (N x 1). A vector should store daily, monthly or quarterly return.

covmat

a matrix stores covariance matrix of asset returns. A matrix should be scaled by daily, monthly or quarterly return alligned with 'ret' vector.

short

a boolean stores TRUE for short sale constraint or FALSE for no constraint

freq
rf

a scalar store annualized risk free rate

Author(s)

Thanh Nguyen Minh


thanhuwe8/quantport documentation built on June 10, 2019, 5:53 a.m.