Finance - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Finance : Lattice Methods : Finance/ImpliedTrinomialTree

Finance

  

ImpliedTrinomialTree

  

construct an implied trinomial tree

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

ImpliedTrinomialTree(S, r, d, v, G)

ImpliedTrinomialTree(S, r, d, v, T, N)

ImpliedTrinomialTree(S, r, d, p, c, G)

ImpliedTrinomialTree(S, r, d, p, c, T, N)

ImpliedTrinomialTree(S0, r, d, v, G)

ImpliedTrinomialTree(S0, r, d, v, T, N)

ImpliedTrinomialTree(S0, r, d, p, c, G)

ImpliedTrinomialTree(S0, r, d, p, c, T, N)

Parameters

S

-

vector or list; state space of the discretized process

r

-

non-negative constant; annual risk-free rate function for the underlying asset

d

-

non-negative constant; annual dividend rate function for the underlying asset

v

-

implied volatility term structure; implied volatility

G

-

time grid data structure; time grid

T

-

positive constant; time to maturity date (in years)

N

-

positive integer; number of steps

p

-

procedure; a procedure for calculating the price of a European put option

c

-

procedure; a procedure for calculating the price of a European call option

S0

-

positive constant; inital value of the underlying asset

Description

• 

The ImpliedTrinomialTree command constructs an implied trinomial tree based on the given an implied volatility term structure. This is an implementation of an algorithm proposed by E. Derman, I. Kani and N. Chriss in Implied Trinomial Trees of the Volatility Smile, in which the state space of the implied trinomial tree is decided by any method for building constant volatility trinomial trees (we use the method of combining two steps of a CRR binomial tree). Once we have already fixed the state space of the implied trinomial tree, we use induction to infer the transition probabilities, Arrow-Debreu prices, and local volatilities.

• 

The ImpliedTrinomialTree(S0, r, d, v, T, N) command is similar except that in this case a uniform time grid with time step TN is used.

• 

The ImpliedTrinomialTree(S0, r, d, v, p, c, G) and ImpliedTrinomialTree(S0, r, d, v, p, c, T, N) commands construct an implied trinomial tree given two pricing functions: p, which, given a strike price and time to maturity computes the price of a European put option for the underlying asset; and c, which computes the price of a European call option.

Examples

withFinance:

r is the risk-free interest rate, compounded annually:

r0.11

r:=0.11

(1)

d is the annual dividend rate:

d0.04

d:=0.04

(2)

The following implied volatility surface uses the volatility implied by the market price, computed using the Newton-Raphson method:

σImpliedVolatilitySurface0.11K1000.00110,t,K:

The implied binomial tree is then computed using time to maturity, 3, and number of steps, 7:

TImpliedTrinomialTree100,r,d,σ,3,7:

Here are two different views of the same tree. The first one uses the standard scale, the second one uses the logarithmic scale.

TreePlotT,thickness=2,axes=BOXED,gridlines=true

TreePlotT,thickness=2,axes=BOXED,gridlines=true,color=red..blue,scale=logarithmic

Inspect the tree.

GetProbabilitiesT,1,1

0.1746125989,0.3354287273,0.4899586738

(3)

GetProbabilitiesT,2,1

0.1872660575,0.3113469958,0.5013869467

(4)

GetProbabilitiesT,2,2

0.2093420029,0.2693326334,0.5213253636

(5)

GetUnderlyingT,2,3

110.7206538

(6)

GetLocalVolatilityT,2,3,0.01

0.1278295575

(7)

GetLocalVolatilityT,2,3,0.05

0.1188253679

(8)

Here is an implied binomial tree for the same process.

T2ImpliedBinomialTree100,r,d,σ,3,14:

plots[display]TreePlotT,thickness=2,color=red,TreePlotT2,thickness=2,color=blue,axes=BOXED,gridlines=true

Compare this tree with a simple trinomial tree based on joining two steps of the standard Cox-Ross-Rubinstein tree constructed for the volatility equal to sigma(0, 100).

T2BlackScholesTrinomialTree100,r,d,σ0,100,3,7:

P1TreePlotT,thickness=2,axes=BOXED,gridlines=true,color=blue:

P2TreePlotT2,thickness=2,axes=BOXED,gridlines=true,color=red:

plots[display]P1,P2

P3TreePlotT,thickness=2,axes=BOXED,gridlines=true,color=blue,scale=logarithmic:

P4TreePlotT2,thickness=2,axes=BOXED,gridlines=true,color=red,scale=logarithmic:

plots[display]P3,P4

References

  

Cizek, P., and Komorad, K., Implied Trinomial Trees, SFB 649 Economic Risk, Berlin, 2005-07.

  

Derman, E., and Kani, I., The Volatility Smile and Its Implied Tree, Goldman Sachs Quantitative Strategies Research Notes, January 1994.

  

Derman, E., Kani, I., Chriss, N., Implied Trinomial Trees of the Volatility Smile, Goldman Sachs Quantitative Strategies Research Notes, February 1996.

  

Glasserman, P., Monte Carlo Methods in Financial Engineering, New York: Springer-Verlag, 2004.

  

Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.

  

Jackwerth, J.C., Option-Implied Risk-Neutral Distributions and Implied Binomial Trees: A Literature Review, 1999.

  

Rubinstein, M., Implied binomial trees, J. Finance, 49 ,1994, pp. 771--818.

Compatibility

• 

The Finance[ImpliedTrinomialTree] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Finance[BinomialTree]

Finance[BlackScholesBinomialTree]

Finance[BlackScholesTrinomialTree]

Finance[GetDescendants]

Finance[GetProbabilities]

Finance[GetUnderlying]

Finance[ImpliedTrinomialTree]

Finance[LatticeMethods]

Finance[SetProbabilities]

Finance[SetUnderlying]

Finance[ShortRateTrinomialTree]

Finance[StochasticProcesses]

Finance[TreePlot]

Finance[TrinomialTree]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam