pub struct NewOrderResponseResult {Show 26 fields
pub symbol: String,
pub order_id: i64,
pub order_list_id: i64,
pub client_order_id: String,
pub transact_time: Timestamp,
pub price: Decimal,
pub orig_qty: Decimal,
pub executed_qty: Decimal,
pub orig_quote_order_qty: Decimal,
pub cummulative_quote_qty: Decimal,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub working_time: Timestamp,
pub self_trade_prevention_mode: STPMode,
pub iceberg_qty: Option<Decimal>,
pub prevented_match_id: Option<i64>,
pub prevented_quantity: Option<Decimal>,
pub stop_price: Option<Decimal>,
pub strategy_id: Option<i64>,
pub strategy_type: Option<i64>,
pub trailing_delta: Option<i64>,
pub trailing_time: Option<i64>,
pub used_sor: Option<bool>,
pub working_floor: Option<WorkingFloor>,
}Fields§
§symbol: String§order_id: i64§order_list_id: i64Unless it’s part of an order list, value will be -1
client_order_id: String§transact_time: Timestamp§price: Decimal§orig_qty: Decimal§executed_qty: Decimal§orig_quote_order_qty: Decimal§cummulative_quote_qty: Decimal§status: OrderStatus§time_in_force: TimeInForce§order_type: OrderType§side: OrderSide§working_time: Timestamp§self_trade_prevention_mode: STPMode§iceberg_qty: Option<Decimal>Quantity for the iceberg order Appears only if the parameter icebergQty was sent in the request.
prevented_match_id: Option<i64>When used in combination with symbol, can be used to query a prevented match. Appears only if the order expired due to STP.
prevented_quantity: Option<Decimal>Order quantity that expired due to STP Appears only if the order expired due to STP.
stop_price: Option<Decimal>Price when the algorithmic order will be triggered Appears for STOP_LOSS. TAKE_PROFIT, STOP_LOSS_LIMIT and TAKE_PROFIT_LIMIT orders.
strategy_id: Option<i64>Can be used to label an order that’s part of an order strategy. Appears if the parameter was populated in the request.
strategy_type: Option<i64>Can be used to label an order that is using an order strategy. Appears if the parameter was populated in the request.
trailing_delta: Option<i64>Delta price change required before order activation Appears for Trailing Stop Orders.
trailing_time: Option<i64>Time when the trailing order is now active and tracking price changes Appears only for Trailing Stop Orders.
used_sor: Option<bool>Field that determines whether order used SOR Appears when placing orders using SOR
working_floor: Option<WorkingFloor>Field that determines whether the order is being filled by the SOR or by the order book the order was submitted to. Appears when placing orders using SOR
Trait Implementations§
Source§impl Debug for NewOrderResponseResult
impl Debug for NewOrderResponseResult
Source§impl<'de> Deserialize<'de> for NewOrderResponseResult
impl<'de> Deserialize<'de> for NewOrderResponseResult
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>,
Source§impl PartialEq for NewOrderResponseResult
impl PartialEq for NewOrderResponseResult
Source§fn eq(&self, other: &NewOrderResponseResult) -> bool
fn eq(&self, other: &NewOrderResponseResult) -> bool
self and other values to be equal, and is used by ==.