pub enum Frequency {
All,
OncePerBar,
OncePerBarClose,
}Expand description
How often an alert(...) call re-fires within a bar / across bars.
Variants§
All
Every time the call is reached (alert.freq_all).
OncePerBar
Once per realtime bar (alert.freq_once_per_bar).
OncePerBarClose
Once per bar, on the bar’s close (alert.freq_once_per_bar_close).
Implementations§
Trait Implementations§
impl Copy for Frequency
impl Eq for Frequency
impl StructuralPartialEq for Frequency
Auto Trait Implementations§
impl Freeze for Frequency
impl RefUnwindSafe for Frequency
impl Send for Frequency
impl Sync for Frequency
impl Unpin for Frequency
impl UnsafeUnpin for Frequency
impl UnwindSafe for Frequency
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