The payout of the spread option is
max(S1_T - S2_T - K, 0) where S1_T and S2_T are the
prices at expiry T of assets 1 and 2 respectively and K is
the strike price.
Arguments
- strike
(vector of) strike price
- spot1
(vector of) spot price of asset 1
- spot2
(vector of) spot price of asset 2
- texp
(vector of) time to expiry
- sigma1
(vector of) Bachelier volatility of asset 1
- sigma2
(vector of) Bachelier volatility of asset 2
- corr
correlation
- intr
interest rate
- divr1
dividend rate of asset 1
- divr2
dividend rate of asset 2
- cp
call/put sign.
1for call,-1for put.- forward1
forward price of asset 1. If given, overrides
spot1- forward2
forward price of asset 2. If given, overrides
spot2- df
discount factor. If given,
dfoverridesintr