|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--webcab.lib.finance.futures.FuturesHedging
Within this class we consider the use of futures contracts for the hedging of risks within stock, commodity, bond and currency markets.
| Constructor Summary | |
FuturesHedging()
Creates a new instance. |
|
| Method Summary | |
double |
betaHedge(double portfolio,
double indexSize,
double beta)
Returns the number of index futures to short (negative returned value) or buy (positive returned value) in order to hedge the risk from a well diversified stock portfolio. |
double |
betaModify(double portfolio,
double indexSize,
double originalBeta,
double requiredBeta)
Returns the number of index futures to short (negative returned value) or buy (positive returned value) in order to modify the beta of a well diversified stock portfolio to any desired value. |
double |
closestHedge(double hedgeRatio,
double physicalPosition,
double contractSize)
This method returns the number of futures contracts which provide the closest the a perfect hedge for a physical position. |
double |
hedgeRatio(double correlation,
double underlyingDeviation,
double deviationFuture)
This method returns the Optimal Hedge ratio of a futures contract. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FuturesHedging()
| Method Detail |
public double hedgeRatio(double correlation,
double underlyingDeviation,
double deviationFuture)
throws FuturesHedgingDemoException
correlation - the correlation coefficient between the spot price and the futures priceunderlyingDeviation - the standard deviation of the underlying assets pricedeviationFuture - the standard deviation of the futures price
FuturesHedgingDemoException
public double closestHedge(double hedgeRatio,
double physicalPosition,
double contractSize)
throws FuturesHedgingDemoException
hedgeRatio - the optimal hedge ratio of the physical positionphysicalPosition - the size of the absolute physical positioncontractSize - the contract size of each futures position
FuturesHedgingDemoException
public double betaHedge(double portfolio,
double indexSize,
double beta)
throws FuturesHedgingDemoException
portfolio - the value of the portfolioindexSize - the value of the assets underlying one index futures contractbeta - the beta of the portfolio according to the capital asset pricing model
FuturesHedgingDemoException
public double betaModify(double portfolio,
double indexSize,
double originalBeta,
double requiredBeta)
throws FuturesHedgingDemoException
portfolio - the value of the portfolioindexSize - the value of the assets underlying one index futures contractoriginalBeta - the beta of the starting portfolio according to the capital asset pricing modelrequiredBeta - the beta which we desire for the modified portfolio of stocks and futures
FuturesHedgingDemoException
|
WebCab Options and Futures Demo v2.5 (J2SE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||