PricingResult#
A container for the results of a pricing operation.
Attributes:
Name | Type | Description |
---|---|---|
price |
float
|
The calculated price of the instrument. |
greeks |
(dict[str, float], optional)
|
A dictionary containing calculated Greek values (e.g., 'delta', 'gamma'). |
implied_vol |
(float, optional)
|
The calculated Black-Scholes implied volatility. |