[−][src]Struct tdb_core::postprocessing::event::Events
Data structure for storing events. Each is a map from time to list of updates happened at or near that discrete time
Fields
cancelled: BTreeMap<u64, Vec<Update>>
cancelled orders
trades: BTreeMap<u64, Vec<Update>>
trade events
created: BTreeMap<u64, Vec<Update>>
created orders
Methods
impl Events
[src]
pub fn filter_size(
&self,
event_type: EventType,
from_size: f32,
to_size: f32
) -> Vec<Update>
[src]
&self,
event_type: EventType,
from_size: f32,
to_size: f32
) -> Vec<Update>
Filter order events based on size
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,