pub struct Execution<'a> {Show 26 fields
pub category: &'a str,
pub symbol: &'a str,
pub is_leverage: &'a str,
pub order_id: &'a str,
pub order_link_id: &'a str,
pub side: &'a str,
pub order_price: &'a str,
pub order_qty: &'a str,
pub leaves_qty: &'a str,
pub order_type: &'a str,
pub stop_order_type: &'a str,
pub exec_fee: &'a str,
pub exec_id: &'a str,
pub exec_price: &'a str,
pub exec_qty: &'a str,
pub exec_type: &'a str,
pub exec_value: &'a str,
pub exec_time: &'a str,
pub is_maker: bool,
pub fee_rate: &'a str,
pub trade_iv: &'a str,
pub mark_iv: &'a str,
pub mark_price: &'a str,
pub index_price: &'a str,
pub underlying_price: &'a str,
pub block_trade_id: &'a str,
}Expand description
The execution data.
You may have multiple executions for one order in a single message.
Fields§
§category: &'a strProduct type.
- Unified account:
spot,linear,option. - Normal account:
linear,inverse.
symbol: &'a strSymbol name.
is_leverage: &'a strWhether to borrow. Valid for spot only.
- 0 (default): false.
- 1: true.
order_id: &'a strOrder ID.
order_link_id: &'a strUser customized order ID.
side: &'a strSide. Buy, Sell.
order_price: &'a strOrder price.
order_qty: &'a strOrder qty.
leaves_qty: &'a strThe remaining qty not executed.
order_type: &'a strOrder type. Market, Limit.
stop_order_type: &'a strStop order type. If the order is not stop order, any type is not returned.
exec_fee: &'a strExecuted trading fee.
exec_id: &'a strExecution ID.
exec_price: &'a strExecution price.
exec_qty: &'a strExecution qty.
exec_type: &'a strExecuted type.
exec_value: &'a strExecuted order value.
exec_time: &'a strExecuted timestamp (ms).
is_maker: boolIs maker order. true: maker, false: taker.
fee_rate: &'a strTrading fee rate.
trade_iv: &'a strImplied volatility. Valid for option.
mark_iv: &'a strImplied volatility of mark price. Valid for option.
mark_price: &'a strThe mark price of the symbol when executing.
index_price: &'a strThe index price of the symbol when executing.
underlying_price: &'a strThe underlying price of the symbol when executing. Valid for option.
block_trade_id: &'a strParadigm block trade ID.