Skip to main content

TernarySnowballOption

Type Alias TernarySnowballOption 

Source
pub type TernarySnowballOption = AutocallableNote<TernarySnowballTerms>;
Expand description

Owns a ternary snowball with separate maturity coupon rates before and after knock-in.

Pays principal plus the accrued observation coupon on knock-out, otherwise principal plus the accrued maturity or minimum coupon according to knock-in. See Self::new for construction.

Aliased Type§

pub struct TernarySnowballOption(/* private fields */);

Implementations§

Source§

impl TernarySnowballOption

Source

pub fn replace(&self, changes: TernarySnowballOptionChanges) -> Result<Self>

Returns a validated copy with the supplied terms applied.

Calendar compatibility is validated here; valuation-relative history checks occur at pricing time. See TernarySnowballOption::new for construction examples.

§Errors

Reuses constructor validation for the resulting contract.