pub struct BestPriceFillModel { /* private fields */ }Expand description
Fill model that executes all orders at the best available price with unlimited liquidity.
Implementations§
Trait Implementations§
Source§impl Clone for BestPriceFillModel
impl Clone for BestPriceFillModel
Source§impl Debug for BestPriceFillModel
impl Debug for BestPriceFillModel
Source§impl Default for BestPriceFillModel
impl Default for BestPriceFillModel
Source§impl FillModel for BestPriceFillModel
impl FillModel for BestPriceFillModel
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 BestPriceFillModel
impl RefUnwindSafe for BestPriceFillModel
impl Send for BestPriceFillModel
impl Sync for BestPriceFillModel
impl Unpin for BestPriceFillModel
impl UnsafeUnpin for BestPriceFillModel
impl UnwindSafe for BestPriceFillModel
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