|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.finance.portfolio.EquilibriumReturnsPortfolio
public final class EquilibriumReturnsPortfolio
Constructor Summary | |
---|---|
EquilibriumReturnsPortfolio(org.ojalgo.finance.portfolio.CovarianceBasedModel aCovarianceBasedModel,
BasicMatrix aReturns)
|
|
EquilibriumReturnsPortfolio(MarketEquilibrium aMarketEquilibrium,
BasicMatrix aReturns)
|
Method Summary | |
---|---|
void |
calibrate(BasicMatrix aWeightsVctr)
|
void |
calibrate(FinancePortfolio aPortfolio)
|
void |
calibrate(List<BigDecimal> aWeightsList)
|
BasicMatrix |
getAssetReturns()
|
BasicMatrix |
getAssetWeights()
|
BasicMatrix |
getCovariances()
|
BigDecimal |
getImpliedRiskAversion(BasicMatrix aWeightsVctr,
BasicMatrix aReturnsVctr)
|
BigDecimal |
getMeanReturn()
The mean/expected return of this instrument. |
BigDecimal |
getReturnVariance()
Subclasses must override either getReturnVariance() or getVolatility(). |
BigDecimal |
getRiskAversion()
|
String[] |
getSymbols()
|
BigDecimal |
getVolatility()
Subclasses must override either getReturnVariance() or getVolatility(). |
List<BigDecimal> |
getWeights()
This method returns a list of the weights of the Portfolio's contained assets. |
void |
setRiskAversion(BigDecimal aFactor)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EquilibriumReturnsPortfolio(org.ojalgo.finance.portfolio.CovarianceBasedModel aCovarianceBasedModel, BasicMatrix aReturns)
public EquilibriumReturnsPortfolio(MarketEquilibrium aMarketEquilibrium, BasicMatrix aReturns)
Method Detail |
---|
public void calibrate(BasicMatrix aWeightsVctr)
public void calibrate(FinancePortfolio aPortfolio)
public void calibrate(List<BigDecimal> aWeightsList)
public final BasicMatrix getAssetReturns()
public final BasicMatrix getAssetWeights()
public final BasicMatrix getCovariances()
public final BigDecimal getImpliedRiskAversion(BasicMatrix aWeightsVctr, BasicMatrix aReturnsVctr)
public final BigDecimal getMeanReturn()
FinancePortfolio
public final BigDecimal getReturnVariance()
getReturnVariance
in interface FinancePortfolio
public final BigDecimal getRiskAversion()
public final String[] getSymbols()
public final List<BigDecimal> getWeights()
FinancePortfolio
public final void setRiskAversion(BigDecimal aFactor)
public BigDecimal getVolatility()
getVolatility
in interface FinancePortfolio
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |