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 seconds The higher the velocity the faster the candle has been created
Trait Implementations§
source§impl CandleComponent<f64> for TimeVelocity
impl CandleComponent<f64> for TimeVelocity
source§impl<T: TakerTrade> CandleComponentUpdate<T> for TimeVelocity
impl<T: TakerTrade> CandleComponentUpdate<T> for TimeVelocity
source§impl Clone for TimeVelocity
impl Clone for TimeVelocity
source§fn clone(&self) -> TimeVelocity
fn clone(&self) -> TimeVelocity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeVelocity
impl Debug for TimeVelocity
Auto Trait Implementations§
impl Freeze for TimeVelocity
impl RefUnwindSafe for TimeVelocity
impl Send for TimeVelocity
impl Sync for TimeVelocity
impl Unpin for TimeVelocity
impl UnwindSafe for TimeVelocity
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