pub enum Finding {
RepeatedSize {
size: f64,
count: usize,
of: usize,
},
FewSizes {
sizes: Vec<f64>,
count: usize,
of: usize,
},
Metronome {
mean_gap_ms: f64,
cv: f64,
gaps: usize,
dominant_size: Option<f64>,
},
Cadence {
gap_ms: f64,
share: f64,
gaps: usize,
},
PingPong {
pairs: usize,
share: f64,
},
Ladder {
side: BookSide,
levels: usize,
shape: LadderShape,
size: f64,
last_size: f64,
step_pct: f64,
},
}Expand description
One signal that was found, with its evidence.
Variants§
RepeatedSize
count of of trades have the exact size size (base units).
FewSizes
count of of trades have one of the exact sizes sizes, most
common first.
Metronome
Gaps between trade events average mean_gap_ms, with a coefficient
of variation cv, over gaps gaps. dominant_size is set when the
cadence is that of the repeated-size trades only.
Cadence
share of gaps gaps between trade events are gap_ms apart
(within CADENCE_TOLERANCE).
PingPong
pairs buy/sell pairs of the same size, close in time and price,
cover share of the trades.
Ladder
levels consecutive side levels at steps of about step_pct
percent, from size at the first to last_size (base units),
shaped as shape.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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