|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.finance.portfolio.FinancePortfolio org.ojalgo.finance.portfolio.EquilibriumModel
public abstract class EquilibriumModel
Method Summary | |
---|---|
Scalar<?> |
calculatePortfolioReturn(FinancePortfolio aWeightsPortfolio)
|
Scalar<?> |
calculatePortfolioVariance(FinancePortfolio aWeightsPortfolio)
|
BasicMatrix |
getAssetReturns()
|
BasicMatrix |
getAssetWeights()
|
BasicMatrix |
getCovariances()
|
BigDecimal |
getImpliedRiskAversion(BasicMatrix aWeightsVctr,
BasicMatrix aReturnsVctr)
Deprecated. v32 Use #calculateImpliedRiskAversion(BasicMatrix,BasicMatrix) instead |
MarketEquilibrium |
getMarketEquilibrium()
|
double |
getMeanReturn()
The mean/expected return of this instrument. |
double |
getReturnVariance()
The instrument's return variance. |
Scalar<?> |
getRiskAppetite()
|
Scalar<?> |
getRiskAversion()
|
String[] |
getSymbols()
|
List<BigDecimal> |
getWeights()
This method returns a list of the weights of the Portfolio's contained assets. |
void |
setRiskAversion(Number aFactor)
|
Array2D<Double> |
toCorrelations()
|
List<SimpleAsset> |
toSimpleAssets()
|
SimplePortfolio |
toSimplePortfolio()
|
Methods inherited from class org.ojalgo.finance.portfolio.FinancePortfolio |
---|
forecast, getConformance, getMeanReturn, getReturnVariance, getSharpeRatio, getValueAtRisk, getVolatility, getVolatility, normalise, shift, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final Scalar<?> calculatePortfolioReturn(FinancePortfolio aWeightsPortfolio)
public final Scalar<?> calculatePortfolioVariance(FinancePortfolio aWeightsPortfolio)
public final BasicMatrix getAssetReturns()
public final BasicMatrix getAssetWeights()
public final BasicMatrix getCovariances()
@Deprecated public final BigDecimal getImpliedRiskAversion(BasicMatrix aWeightsVctr, BasicMatrix aReturnsVctr)
#calculateImpliedRiskAversion(BasicMatrix,BasicMatrix)
instead
public final MarketEquilibrium getMarketEquilibrium()
public final double getMeanReturn()
FinancePortfolio
getMeanReturn
in class FinancePortfolio
public final double getReturnVariance()
FinancePortfolio
getReturnVariance
in class FinancePortfolio
public final Scalar<?> getRiskAppetite()
public final Scalar<?> getRiskAversion()
public final String[] getSymbols()
public final List<BigDecimal> getWeights()
FinancePortfolio
getWeights
in class FinancePortfolio
public final void setRiskAversion(Number aFactor)
public final Array2D<Double> toCorrelations()
public final List<SimpleAsset> toSimpleAssets()
public final SimplePortfolio toSimplePortfolio()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |