[][src]Struct lobster::Trade

pub struct Trade {
    pub total_qty: u64,
    pub avg_price: f64,
    pub last_price: u64,
    pub last_qty: u64,
}

A trade that happened as part of the matching process.

Fields

total_qty: u64

The total quantity transacted as part of this trade.

avg_price: f64

The volume-weighted average price computed from all the order fills within this trade.

last_price: u64

The price of the last fill that was part of this trade.

last_qty: u64

The quantity of the last fill that was part of this trade.

Trait Implementations

impl Clone for Trade[src]

impl Copy for Trade[src]

impl Debug for Trade[src]

Auto Trait Implementations

impl RefUnwindSafe for Trade

impl Send for Trade

impl Sync for Trade

impl Unpin for Trade

impl UnwindSafe for Trade

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.