Enum TickRule
#[non_exhaustive]pub enum TickRule {
CmeFourMonthWindow {
near: f64,
far: f64,
},
FrontFromMonthBefore {
near: f64,
far: f64,
},
CmeMonthly {
near: f64,
far: f64,
},
AllMonths {
tick: f64,
},
Unstated,
}Expand description
A listed rate future’s minimum price fluctuation, in index points.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CmeFourMonthWindow
CME SR3: near within four months of the last trading day — from
the business day after the Friday before the third Wednesday of the
fourth month preceding the month trading terminates — far before.
FrontFromMonthBefore
ICE 3M SONIA, 1M SONIA and 1M SOFR: near for the front contract from
the first business day of the calendar month before its last trading
day, far before.
CmeMonthly
CME SR1 and CBOT ZQ: near from the first trading day of the delivery
month, far before.
AllMonths
ICE 1M SOFR: the same tick every month.
Unstated
Not sourced from the exchange, so not stated.
Trait Implementations§
impl Copy for TickRule
impl StructuralPartialEq for TickRule
Auto Trait Implementations§
impl Freeze for TickRule
impl RefUnwindSafe for TickRule
impl Send for TickRule
impl Sync for TickRule
impl Unpin for TickRule
impl UnsafeUnpin for TickRule
impl UnwindSafe for TickRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more