Struct trade_aggregation::candle_components::TimeVelocity
source · [−]pub struct TimeVelocity { /* private fields */ }
Expand description
Measures the velocity of candle creation based on the formula: 1.0 / t , where t is measured in minutes The higher the velocity the faster the candle has been created Assumes trade timestamps in milliseconds
Trait Implementations
sourceimpl CandleComponent for TimeVelocity
impl CandleComponent for TimeVelocity
sourceimpl Clone for TimeVelocity
impl Clone for TimeVelocity
sourcefn clone(&self) -> TimeVelocity
fn clone(&self) -> TimeVelocity
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 TimeVelocity
impl Debug for TimeVelocity
Auto Trait Implementations
impl RefUnwindSafe for TimeVelocity
impl Send for TimeVelocity
impl Sync for TimeVelocity
impl Unpin for TimeVelocity
impl UnwindSafe for TimeVelocity
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