Struct lfest::NoAccountTracker
source · [−]pub struct NoAccountTracker;
Expand description
Performs no tracking of account performance
Trait Implementations
sourceimpl AccountTracker for NoAccountTracker
impl AccountTracker for NoAccountTracker
sourcefn update(&mut self, _timestamp: u64, _price: f64, _upnl: f64)
fn update(&mut self, _timestamp: u64, _price: f64, _upnl: f64)
Update with each tick, using data provided in update_state method of Exchange # Arguments timestamp: timestamp of latest tick price: price of latest tick upnl: unrealized profit and loss of account in current tick Read more
sourcefn log_limit_order_submission(&mut self)
fn log_limit_order_submission(&mut self)
Log a limit order submission event
sourcefn log_limit_order_cancellation(&mut self)
fn log_limit_order_cancellation(&mut self)
Log a limit order cancellation event
sourcefn log_limit_order_fill(&mut self)
fn log_limit_order_fill(&mut self)
Log a limit order fill event
sourceimpl Clone for NoAccountTracker
impl Clone for NoAccountTracker
sourcefn clone(&self) -> NoAccountTracker
fn clone(&self) -> NoAccountTracker
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NoAccountTracker
impl Debug for NoAccountTracker
sourceimpl Default for NoAccountTracker
impl Default for NoAccountTracker
sourcefn default() -> NoAccountTracker
fn default() -> NoAccountTracker
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoAccountTracker
impl Send for NoAccountTracker
impl Sync for NoAccountTracker
impl Unpin for NoAccountTracker
impl UnwindSafe for NoAccountTracker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more