bs american analytic
financepy.models.bs_american_analytic
Types
BlackScholesAlgorithmTypes
No description available.
Members
DEFAULT = 0ANALYTICAL = 1CRR_TREE = 2BARONE_ADESI_WHALEY = 3LSMC = 4BJERKSUND_STENSLAND_1993 = 5BJERKSUND_STENSLAND_2002 = 6FINITE_DIFFERENCE = 7CRR_RICHARDSON = 8LEISEN_REIMER = 9Functions
american_value
american_value(
spot_price: float,
time_to_expiry: float,
strike_price: float,
risk_free_rate: float,
dividend_rate: float,
volatility: float,
opt_type: OptionTypes,
algo_type: BlackScholesAlgorithmTypes = <BlackScholesAlgorithmTypes.DEFAULT: 0>,
**params,
) -> float
Compute an option value using the selected Black-Scholes algorithm.
Generated automatically from the FinancePy source code.
Do not edit this file manually.