pub fn intrinsic_value(
option_type: OptionType,
strike: Decimal,
reference_price: Decimal,
) -> DecimalExpand description
Compute the intrinsic value of an option at expiry.
Returns max(spot - strike, 0) for calls, max(strike - spot, 0) for puts.
The result is always non-negative.