Struct trade_aggregation::RelativePriceRule
source · pub struct RelativePriceRule { /* private fields */ }
Expand description
Creates Candles once the price changed by a give relative absolute price delta
Implementations§
Trait Implementations§
source§impl<C, T> AggregationRule<C, T> for RelativePriceRulewhere
C: ModularCandle<T>,
T: TakerTrade,
impl<C, T> AggregationRule<C, T> for RelativePriceRulewhere
C: ModularCandle<T>,
T: TakerTrade,
source§impl Clone for RelativePriceRule
impl Clone for RelativePriceRule
source§fn clone(&self) -> RelativePriceRule
fn clone(&self) -> RelativePriceRule
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 moreAuto Trait Implementations§
impl Freeze for RelativePriceRule
impl RefUnwindSafe for RelativePriceRule
impl Send for RelativePriceRule
impl Sync for RelativePriceRule
impl Unpin for RelativePriceRule
impl UnwindSafe for RelativePriceRule
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