|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.ojalgo.finance.portfolio.FinancePortfolio
public abstract class FinancePortfolio
Classes in this package relate to modelling of financial investment portfolios, and Modern Portfolio Theory.
| Method Summary | |
|---|---|
GeometricBrownianMotion |
forecast()
|
abstract double |
getMeanReturn()
The mean/expected return of this instrument. |
double |
getReturnVariance()
The instrument's return variance. |
double |
getSharpeRatio(Number aRiskFreeReturn)
|
double |
getValueAtRisk(Number aConfidenceLevel,
Number aTimePeriod)
Value at Risk (VaR) is the maximum loss not exceeded with a given probability defined as the confidence level, over a given period of time. |
double |
getVolatility()
Volatility refers to the standard deviation of the change in value of an asset with a specific time horizon. |
abstract List<BigDecimal> |
getWeights()
This method returns a list of the weights of the Portfolio's contained assets. |
FinancePortfolio |
normalise()
Normalised weights Portfolio |
FinancePortfolio |
shift(Number aReturnShift)
Deprecated. v32 You'll have to "shift" manually... |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final GeometricBrownianMotion forecast()
public abstract double getMeanReturn()
public double getReturnVariance()
public final double getSharpeRatio(Number aRiskFreeReturn)
public final double getValueAtRisk(Number aConfidenceLevel,
Number aTimePeriod)
public double getVolatility()
public abstract List<BigDecimal> getWeights()
public final FinancePortfolio normalise()
@Deprecated public FinancePortfolio shift(Number aReturnShift)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||