Financial Derivatives Toolbox    

Self-Financing Hedges (hedgeslf)

Figure 3-1 and Figure 3-2 indicate that there is no benefit to be gained because the funds available for hedging exceed $23,055.90, the point of maximum expense required to obtain simultaneous delta, gamma, and vega neutrality. You can also find this point of delta, gamma, and vega neutrality using hedgeslf.

Similar to hedgeopt, hedgeslf returns the portfolio dollar sensitivities and instrument quantities (the rebalanced holdings). However, in contrast, the second output parameter of hedgeslf is the value of the rebalanced portfolio, from which you can calculate the rebalancing cost by subtraction.

In our example, the portfolio is clearly not self-financing, so hedgeslf finds the best possible solution required to obtain zero sensitivities.

There is, in fact, a third calling syntax available for hedgeopt directly related to the results shown above for hedgeslf. Suppose, instead of directly specifying the funds available for rebalancing (the most money you are willing to spend), you want to simply specify the number of points along the cost frontier. This call to hedgeopt samples the cost frontier at 10 equally spaced points between the point of minimum cost (and potentially maximum exposure) and the point of minimum exposure (and maximum cost).

Now plot this data.

Figure 3-3: Rebalancing Cost

In this calling form, hedgeopt calls hedgeslf internally to determine the maximum cost needed to minimize the portfolio sensitivities ($23,055.90), and evenly samples the cost frontier between $0 and $23,055.90.

Note that both hedgeopt and hedgeslf cast the optimization problem as a constrained linear least squares problem. Depending upon the instruments and constraints, neither function is guaranteed to converge to a solution. In some cases, the problem space may be unbounded, and additional instrument equality constraints, or user-specified constraints, may be necessary for convergence. See Hedging with Constrained Portfolios for additional information.


  Hedging with hedgeopt Specifying Constraints with ConSet