Struct barter::execution::fill::FillEvent [−][src]
pub struct FillEvent {
pub event_type: &'static str,
pub trace_id: Uuid,
pub timestamp: DateTime<Utc>,
pub exchange: String,
pub symbol: String,
pub market_meta: MarketMeta,
pub decision: Decision,
pub quantity: f64,
pub fill_value_gross: f64,
pub fees: Fees,
}
Expand description
Fills are journals of work done by an execution handler. These are sent back to the portfolio so it can apply updates.
Fields
event_type: &'static str
trace_id: Uuid
timestamp: DateTime<Utc>
exchange: String
symbol: String
market_meta: MarketMeta
decision: Decision
quantity: f64
fill_value_gross: f64
fees: Fees
Implementations
Returns a FillEventBuilder instance.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more