pub struct StopOrderRecord {Show 19 fields
pub id: String,
pub exchange_order_id: Option<String>,
pub symbol: String,
pub board: Option<String>,
pub exchange: Option<String>,
pub portfolio: Option<String>,
pub comment: Option<String>,
pub kind: Option<String>,
pub side: Option<String>,
pub condition: Option<String>,
pub status: Option<String>,
pub trans_time: Option<String>,
pub end_time: Option<String>,
pub error: Option<String>,
pub qty_units: Option<Decimal>,
pub qty: Option<Decimal>,
pub price: Option<Decimal>,
pub stop_price: Option<Decimal>,
pub existing: Option<bool>,
}Expand description
A stop order of the portfolio: the item of GET /md/v2/Clients/{exchange}/{portfolio}/stoporders, the answer
of the call for one stop order and the message of the stop orders subscription.
Fields§
§id: StringThe number of the stop order. Text.
exchange_order_id: Option<String>The number of the order that the stop order made at the exchange when it triggered.
symbol: StringThe ticker.
board: Option<String>The trading mode.
exchange: Option<String>MOEX or SPBX.
portfolio: Option<String>The portfolio.
comment: Option<String>The comment (up to 100 characters). The connector keeps the client order id here.
kind: Option<String>stop (a market order on trigger) or stoplimit.
side: Option<String>buy or sell.
condition: Option<String>The trigger condition: more, less, moreorequal or lessorequal.
status: Option<String>working, filled, canceled or rejected.
trans_time: Option<String>When the stop order was placed, UTC text.
end_time: Option<String>When the stop order ends, UTC text.
error: Option<String>The reason, if the stop order was rejected.
qty_units: Option<Decimal>The ordered quantity in pieces.
qty: Option<Decimal>The ordered quantity in lots.
price: Option<Decimal>The limit price of a stop-limit order.
stop_price: Option<Decimal>The trigger price.
existing: Option<bool>true for data from the history, false for new events.
Trait Implementations§
Source§impl Clone for StopOrderRecord
impl Clone for StopOrderRecord
Source§fn clone(&self) -> StopOrderRecord
fn clone(&self) -> StopOrderRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more