What are the boundary conditions for the Forward contract PDE?
Posted: Tue Sep 29, 2020 11:15 pm
EUROPEAN CALL
When solving the PDE for the value [img]/User%20Files/14765/Latex-Equation-14804.gif[/img] of a European call option under the Black-Scholes model using a finite difference scheme, we have that
* Initial/terminal condition. [img]/User%20Files/14765/Latex-Equation-14805.gif[/img] (initial since the scheme is solved backward, terminal since it holds at the final time $T$)
* Left end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14806.gif[/img] then [img]/User%20Files/14765/Latex-Equation-14807.gif[/img] for all t and the option will surely be out of the money with payoff [img]/User%20Files/14765/Latex-Equation-14808.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14809.gif[/img] for all t
* Right end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14810.gif[/img] is large enough (w.r.t. to K) then [img]/User%20Files/14765/Latex-Equation-14811.gif[/img] for all t and the option will end up in the money with payoff [img]/User%20Files/14765/Latex-Equation-14812.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14813.gif[/img] for all t
FORWARD CONTRACT
How to deduce the boundary conditions in a similar manner when solving the PDE for the value of a forward contract whose underlying follows the Schwartz mean reverting model? What I understand until now about forwards is
* There is no money exchanged when signing a forward contract so, using the notation below, I think that the value of the forward at time 0 is [img]/User%20Files/14765/Latex-Equation-14814.gif[/img]
* The payoff (of the option equivalent to this forward contract) is [img]/User%20Files/14765/Latex-Equation-14815.gif[/img] since the holder is obliged to buy the underlying at expiry
The Schwartz model is [img]/User%20Files/14765/Latex-Equation-14816.gif[/img] with alpha = speed of mean reversion. From this eq it is possible to derive the PDE for the value of the forward
(1) [img]/User%20Files/14765/Latex-Equation-14817.gif[/img]
whose solution is, letting [img]/User%20Files/14765/Latex-Equation-14818.gif[/img]
(2) [img]/User%20Files/14765/Latex-Equation-14819.gif[/img]
* Initial/terminal condition. Plugging [img]/User%20Files/14765/Latex-Equation-14820.gif[/img] (ie t=T) in (2) we get [img]/User%20Files/14765/Latex-Equation-14821.gif[/img]. This value appears also in the original paper by Schwartz (https://sci-hub.st/10.1111/j.1540-6261.1997.tb02721.x at page 5), so it is correct.
* Left end boundary condition. As in the European call case, if [img]/User%20Files/14765/Latex-Equation-14822.gif[/img] then [img]/User%20Files/14765/Latex-Equation-14823.gif[/img] for all t and from (1) we get [img]/User%20Files/14765/Latex-Equation-14824.gif[/img] ie F does not change in time, and since as said before [img]/User%20Files/14765/Latex-Equation-14825.gif[/img] (not sure though) it follows [img]/User%20Files/14765/Latex-Equation-14826.gif[/img] for all t. But this means that the payoff of the option would be 0-K that is negative, since prices cannot be negative how to deal with this fact?
* Right end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14827.gif[/img] is large enough (w.r.t. to K) then [img]/User%20Files/14765/Latex-Equation-14828.gif[/img] for all t and the payoff of the option will be [img]/User%20Files/14765/Latex-Equation-14829.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14830.gif[/img] for all t, but what can we say about the value of [img]/User%20Files/14765/Latex-Equation-14831.gif[/img]?
At the end of the finite difference scheme, to obtain the value of the option at time 0 we compute [img]/User%20Files/14765/Latex-Equation-14832.gif[/img] which in general is not 0, in contrast with what I said above about $F$ being 0 at time 0. What is wrong in the reasoning?
CODE
What follows is the Matlab code that computes the exact value of the option at time 0 (V_exact in the code) and the value approximated by the Euler explicit finite difference scheme (V_euler). The initial/terminal condition is applied at line 26 (F = ST), the next two lines are for the left end condition (F(1) = 0) and the right end condition (I don't know what to put here).
Moreover, I'm not sure that V_exact is computed correctly, should be [img]/User%20Files/14765/Latex-Equation-14834.gif[/img] or [img]/User%20Files/14765/Latex-Equation-14835.gif[/img]?
[url=/User%20Files/14765/boundary_cond.zip]Attached File: boundary_cond.zip[/url]
When solving the PDE for the value [img]/User%20Files/14765/Latex-Equation-14804.gif[/img] of a European call option under the Black-Scholes model using a finite difference scheme, we have that
* Initial/terminal condition. [img]/User%20Files/14765/Latex-Equation-14805.gif[/img] (initial since the scheme is solved backward, terminal since it holds at the final time $T$)
* Left end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14806.gif[/img] then [img]/User%20Files/14765/Latex-Equation-14807.gif[/img] for all t and the option will surely be out of the money with payoff [img]/User%20Files/14765/Latex-Equation-14808.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14809.gif[/img] for all t
* Right end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14810.gif[/img] is large enough (w.r.t. to K) then [img]/User%20Files/14765/Latex-Equation-14811.gif[/img] for all t and the option will end up in the money with payoff [img]/User%20Files/14765/Latex-Equation-14812.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14813.gif[/img] for all t
FORWARD CONTRACT
How to deduce the boundary conditions in a similar manner when solving the PDE for the value of a forward contract whose underlying follows the Schwartz mean reverting model? What I understand until now about forwards is
* There is no money exchanged when signing a forward contract so, using the notation below, I think that the value of the forward at time 0 is [img]/User%20Files/14765/Latex-Equation-14814.gif[/img]
* The payoff (of the option equivalent to this forward contract) is [img]/User%20Files/14765/Latex-Equation-14815.gif[/img] since the holder is obliged to buy the underlying at expiry
The Schwartz model is [img]/User%20Files/14765/Latex-Equation-14816.gif[/img] with alpha = speed of mean reversion. From this eq it is possible to derive the PDE for the value of the forward
(1) [img]/User%20Files/14765/Latex-Equation-14817.gif[/img]
whose solution is, letting [img]/User%20Files/14765/Latex-Equation-14818.gif[/img]
(2) [img]/User%20Files/14765/Latex-Equation-14819.gif[/img]
* Initial/terminal condition. Plugging [img]/User%20Files/14765/Latex-Equation-14820.gif[/img] (ie t=T) in (2) we get [img]/User%20Files/14765/Latex-Equation-14821.gif[/img]. This value appears also in the original paper by Schwartz (https://sci-hub.st/10.1111/j.1540-6261.1997.tb02721.x at page 5), so it is correct.
* Left end boundary condition. As in the European call case, if [img]/User%20Files/14765/Latex-Equation-14822.gif[/img] then [img]/User%20Files/14765/Latex-Equation-14823.gif[/img] for all t and from (1) we get [img]/User%20Files/14765/Latex-Equation-14824.gif[/img] ie F does not change in time, and since as said before [img]/User%20Files/14765/Latex-Equation-14825.gif[/img] (not sure though) it follows [img]/User%20Files/14765/Latex-Equation-14826.gif[/img] for all t. But this means that the payoff of the option would be 0-K that is negative, since prices cannot be negative how to deal with this fact?
* Right end boundary condition. If [img]/User%20Files/14765/Latex-Equation-14827.gif[/img] is large enough (w.r.t. to K) then [img]/User%20Files/14765/Latex-Equation-14828.gif[/img] for all t and the payoff of the option will be [img]/User%20Files/14765/Latex-Equation-14829.gif[/img] and [img]/User%20Files/14765/Latex-Equation-14830.gif[/img] for all t, but what can we say about the value of [img]/User%20Files/14765/Latex-Equation-14831.gif[/img]?
At the end of the finite difference scheme, to obtain the value of the option at time 0 we compute [img]/User%20Files/14765/Latex-Equation-14832.gif[/img] which in general is not 0, in contrast with what I said above about $F$ being 0 at time 0. What is wrong in the reasoning?
CODE
What follows is the Matlab code that computes the exact value of the option at time 0 (V_exact in the code) and the value approximated by the Euler explicit finite difference scheme (V_euler). The initial/terminal condition is applied at line 26 (F = ST), the next two lines are for the left end condition (F(1) = 0) and the right end condition (I don't know what to put here).
Moreover, I'm not sure that V_exact is computed correctly, should be [img]/User%20Files/14765/Latex-Equation-14834.gif[/img] or [img]/User%20Files/14765/Latex-Equation-14835.gif[/img]?
[url=/User%20Files/14765/boundary_cond.zip]Attached File: boundary_cond.zip[/url]