pub struct ThreeTierFillModel { /* private fields */ }Expand description
Fill model with three tiers: 50 at best, 30 at +1 tick, 20 at +2 ticks.
Implementations§
Trait Implementations§
Source§impl Clone for ThreeTierFillModel
impl Clone for ThreeTierFillModel
Source§impl Debug for ThreeTierFillModel
impl Debug for ThreeTierFillModel
Source§impl Default for ThreeTierFillModel
impl Default for ThreeTierFillModel
Source§impl FillModel for ThreeTierFillModel
impl FillModel for ThreeTierFillModel
Source§fn is_limit_filled(&mut self) -> Result<bool>
fn is_limit_filled(&mut self) -> Result<bool>
Returns
true if a limit order should be filled based on the model. Read moreSource§fn is_slipped(&mut self) -> Result<bool>
fn is_slipped(&mut self) -> Result<bool>
Returns
true if an order fill should slip by one tick. Read moreAuto Trait Implementations§
impl Freeze for ThreeTierFillModel
impl RefUnwindSafe for ThreeTierFillModel
impl Send for ThreeTierFillModel
impl Sync for ThreeTierFillModel
impl Unpin for ThreeTierFillModel
impl UnsafeUnpin for ThreeTierFillModel
impl UnwindSafe for ThreeTierFillModel
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