pub struct VolumeSensitiveFillModel { /* private fields */ }Expand description
Fill model that adjusts liquidity based on recent trading volume. Uses 25% of recent volume at best price, unlimited one tick worse.
Implementations§
Trait Implementations§
Source§impl Clone for VolumeSensitiveFillModel
impl Clone for VolumeSensitiveFillModel
Source§impl Debug for VolumeSensitiveFillModel
impl Debug for VolumeSensitiveFillModel
Source§impl Default for VolumeSensitiveFillModel
impl Default for VolumeSensitiveFillModel
Source§impl FillModel for VolumeSensitiveFillModel
impl FillModel for VolumeSensitiveFillModel
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 VolumeSensitiveFillModel
impl RefUnwindSafe for VolumeSensitiveFillModel
impl Send for VolumeSensitiveFillModel
impl Sync for VolumeSensitiveFillModel
impl Unpin for VolumeSensitiveFillModel
impl UnsafeUnpin for VolumeSensitiveFillModel
impl UnwindSafe for VolumeSensitiveFillModel
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