<kiyosi/pricing/settings/implied.hpp>
#include <kiyosi/pricing/settings/implied.hpp>CouponQuoteConvention
enum class CouponQuoteConventionDetermines whether a Snowball maturity coupon moves with its quoted knock-out coupon.
枚举值
shift_maturity_coupon— Shift the maturity coupon with the quoted knock-out coupon.preserve_maturity_coupon— Keep the maturity coupon fixed while solving.
kiyosi::ImpliedCouponSettings
struct kiyosi::ImpliedCouponSettingsBracketing bounds and convergence controls for the implied-coupon solver. Stops when either the price error or the parameter interval meets its own tolerance.
成员
lower_bound
double kiyosi::ImpliedCouponSettings::lower_boundFinite lower coupon bound.
upper_bound
double kiyosi::ImpliedCouponSettings::upper_boundFinite upper coupon bound, greater than the lower bound.
price_tolerance
double kiyosi::ImpliedCouponSettings::price_tolerancePositive absolute price-error tolerance.
parameter_tolerance
double kiyosi::ImpliedCouponSettings::parameter_tolerancePositive absolute coupon-interval tolerance.
max_iterations
int kiyosi::ImpliedCouponSettings::max_iterationsPositive maximum bisection iteration count.
kiyosi::ImpliedVolatilitySettings
struct kiyosi::ImpliedVolatilitySettingsBracketing bounds and convergence controls for the implied-volatility solver. Stops when either the price error or the parameter interval meets its own tolerance.
成员
lower_bound
double kiyosi::ImpliedVolatilitySettings::lower_boundPositive lower volatility bound.
upper_bound
double kiyosi::ImpliedVolatilitySettings::upper_boundUpper volatility bound, greater than the lower bound.
price_tolerance
double kiyosi::ImpliedVolatilitySettings::price_tolerancePositive absolute price-error tolerance.
parameter_tolerance
double kiyosi::ImpliedVolatilitySettings::parameter_tolerancePositive absolute volatility-interval tolerance.
max_iterations
int kiyosi::ImpliedVolatilitySettings::max_iterationsPositive maximum Brent iteration count, excluding endpoint prices.