pub struct ExecutionRecord {
pub exec_id: String,
pub order_id: String,
pub order_link_id: String,
pub symbol: String,
pub side: String,
pub exec_price: Decimal,
pub exec_qty: Decimal,
pub exec_fee: Decimal,
pub exec_type: String,
pub exec_time: i64,
pub category: String,
}Expand description
A fill (/v5/execution/list, and the execution stream).
Fields§
§exec_id: StringThe id of the fill.
order_id: StringThe number of the order.
order_link_id: StringThe client id of the order.
symbol: StringThe symbol.
side: StringBuy or Sell.
exec_price: DecimalThe price of the fill.
exec_qty: DecimalThe quantity of the fill.
exec_fee: DecimalThe fee. Negative is a rebate.
exec_type: StringThe kind: Trade, AdlTrade, Funding, BustTrade, Delivery, …
exec_time: i64When the fill happened, milliseconds.
category: StringThe product category (the stream carries it).
Trait Implementations§
Source§impl Clone for ExecutionRecord
impl Clone for ExecutionRecord
Source§fn clone(&self) -> ExecutionRecord
fn clone(&self) -> ExecutionRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionRecord
impl Debug for ExecutionRecord
Source§impl<'de> Deserialize<'de> for ExecutionRecord
impl<'de> Deserialize<'de> for ExecutionRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionRecord
impl RefUnwindSafe for ExecutionRecord
impl Send for ExecutionRecord
impl Sync for ExecutionRecord
impl Unpin for ExecutionRecord
impl UnsafeUnpin for ExecutionRecord
impl UnwindSafe for ExecutionRecord
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