R/solarOption-internals.R
solarOption_discount.Rd
Discount factor of a Solar Option
solarOption_discount(tau, P = 1, Gamma_h = 0, r = 0.03/365)
Numeric, time to maturity in days.
Numeric, price of the contract.
Numeric, hedged payoff.
Numeric, daily risk-free rate.
The discount factor reads: $$B(\tau, P, \Gamma^h, r) = e^{-r \tau} + \frac{\Gamma^h}{P} (1 - e^{-r \tau})$$
Version 1.0.0.