Struct MeetingOisTemplate
pub struct MeetingOisTemplate {
pub name: String,
pub index: OvernightIndex,
pub central_bank: CentralBank,
pub fixed_day_count: DayCountFraction,
pub calendar: Arc<dyn Calendar>,
pub business_day_convention: BusinessDayConvention,
pub payment_lag_days: i32,
pub node: MeetingNode,
}Expand description
The conventions of a meeting-date OIS — a single-period overnight-indexed swap
spanning one inter-meeting window, bookable as a bet on one central-bank
decision. Carries the deciding CentralBank (selecting the seeded meeting
schedule at materialisation) plus the single accrual period’s conventions.
Fields§
§name: StringTemplate name (doubles as the registry code).
index: OvernightIndexThe overnight index of the floating leg.
central_bank: CentralBankThe deciding central bank whose seeded schedule supplies the meeting window.
fixed_day_count: DayCountFractionFixed-leg day-count for the single accrual period.
calendar: Arc<dyn Calendar>Schedule calendar.
business_day_convention: BusinessDayConventionBusiness-day convention.
payment_lag_days: i32Business days from the window end to the payment of both coupons, on the template’s calendar — the lag the currency’s OIS template pays with. The rung’s node is the window end regardless: the step’s knot is the decision, and a one-period par swap pins the same ratio whatever date its two coupons share.
node: MeetingNodeWhere a rung on this template puts its curve node: the window end (the default, where the decision’s rate takes effect) or the swap’s payment date (for reconciling to a curve noded on payment dates).
Implementations§
§impl MeetingOisTemplate
impl MeetingOisTemplate
pub fn with_node(self, node: MeetingNode) -> Self
pub fn with_node(self, node: MeetingNode) -> Self
This template with its rungs noded at node.
Trait Implementations§
§impl Clone for MeetingOisTemplate
impl Clone for MeetingOisTemplate
§fn clone(&self) -> MeetingOisTemplate
fn clone(&self) -> MeetingOisTemplate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more