pub struct PythonFillModel { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for PythonFillModel
impl Debug for PythonFillModel
Source§impl FillModel for PythonFillModel
impl FillModel for PythonFillModel
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 !RefUnwindSafe for PythonFillModel
impl Freeze for PythonFillModel
impl Send for PythonFillModel
impl Sync for PythonFillModel
impl Unpin for PythonFillModel
impl UnsafeUnpin for PythonFillModel
impl UnwindSafe for PythonFillModel
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