Definition at line 20 of file OptionPayoff.cs.
◆ GetIntrinsicValue()
static decimal QuantConnect.Util.OptionPayoff.GetIntrinsicValue |
( |
decimal |
underlyingPrice, |
|
|
decimal |
strike, |
|
|
OptionRight |
right |
|
) |
| |
|
static |
Intrinsic value function of the option
- Parameters
-
underlyingPrice | The price of the underlying |
strike | The strike price of the option |
right | The option right of the option, call or put |
- Returns
- The intrinsic value remains for the option at expiry
Definition at line 29 of file OptionPayoff.cs.
◆ GetPayOff()
static decimal QuantConnect.Util.OptionPayoff.GetPayOff |
( |
decimal |
underlyingPrice, |
|
|
decimal |
strike, |
|
|
OptionRight |
right |
|
) |
| |
|
static |
Option payoff function at expiration time
- Parameters
-
underlyingPrice | The price of the underlying |
strike | The strike price of the option |
right | The option right of the option, call or put |
- Returns
Definition at line 41 of file OptionPayoff.cs.
The documentation for this class was generated from the following file: