Struct questrade::AccountOrder [−][src]
pub struct AccountOrder {Show 41 fields
pub id: u32,
pub symbol: String,
pub symbol_id: u32,
pub total_quantity: Number,
pub open_quantity: Number,
pub filled_quantity: Number,
pub canceled_quantity: Number,
pub side: OrderSide,
pub order_type: OrderType,
pub limit_price: Option<Number>,
pub stop_price: Option<Number>,
pub is_all_or_none: bool,
pub is_anonymous: bool,
pub iceberg_quantity: Option<Number>,
pub min_quantity: Option<Number>,
pub avg_execution_price: Option<Number>,
pub last_execution_price: Option<Number>,
pub source: String,
pub time_in_force: OrderTimeInForce,
pub good_till_date: Option<DateTime<Utc>>,
pub state: OrderState,
pub rejection_reason: Option<String>,
pub chain_id: u32,
pub creation_time: DateTime<Utc>,
pub update_time: DateTime<Utc>,
pub notes: Option<String>,
pub primary_route: String,
pub secondary_route: Option<String>,
pub order_route: String,
pub venue_holding_order: Option<String>,
pub commission_charged: Number,
pub exchange_order_id: String,
pub is_significant_shareholder: bool,
pub is_insider: bool,
pub is_limit_offset_in_dollars: bool,
pub user_id: u32,
pub placement_commission: Number,
pub strategy_type: String,
pub trigger_stop_price: Option<Number>,
pub order_group_id: u32,
pub order_class: Option<String>,
}
Fields
id: u32
Internal order identifier.
symbol: String
Symbol that follows Questrade symbology (e.g., “TD.TO”).
symbol_id: u32
Internal symbol identifier.
total_quantity: Number
Total quantity of the order.
open_quantity: Number
Unfilled portion of the order quantity.
filled_quantity: Number
Filled portion of the order quantity.
canceled_quantity: Number
Unfilled portion of the order quantity after cancellation.
side: OrderSide
Client view of the order side (e.g., “Buy-To-Open”).
order_type: OrderType
Order price type (e.g., “Market”).
limit_price: Option<Number>
Limit price.
stop_price: Option<Number>
Stop price.
is_all_or_none: bool
Specifies all-or-none special instruction.
is_anonymous: bool
Specifies Anonymous special instruction.
iceberg_quantity: Option<Number>
Specifies Iceberg special instruction.
min_quantity: Option<Number>
Specifies Minimum special instruction.
avg_execution_price: Option<Number>
Average price of all executions received for this order.
last_execution_price: Option<Number>
Price of the last execution received for the order in question.
source: String
Identifies the software / gateway where the order originated
time_in_force: OrderTimeInForce
good_till_date: Option<DateTime<Utc>>
Good-Till-Date marker and date parameter
state: OrderState
Current order state
rejection_reason: Option<String>
Human readable order rejection reason message.
chain_id: u32
Internal identifier of a chain to which the order belongs.
creation_time: DateTime<Utc>
Order creation time.
update_time: DateTime<Utc>
Time of the last update.
notes: Option<String>
Notes that may have been manually added by Questrade staff.
primary_route: String
secondary_route: Option<String>
order_route: String
Order route name.
venue_holding_order: Option<String>
Venue where non-marketable portion of the order was booked.
commission_charged: Number
Total commission amount charged for this order.
exchange_order_id: String
Identifier assigned to this order by exchange where it was routed.
Whether user that placed the order is a significant shareholder.
is_insider: bool
Whether user that placed the order is an insider.
is_limit_offset_in_dollars: bool
Whether limit offset is specified in dollars (vs. percent).
user_id: u32
Internal identifier of user that placed the order.
placement_commission: Number
Commission for placing the order via the Trade Desk over the phone.
strategy_type: String
Multi-leg strategy to which the order belongs.
trigger_stop_price: Option<Number>
Stop price at which order was triggered.
order_group_id: u32
Internal identifier of the order group.
order_class: Option<String>
Bracket Order class. Primary, Profit or Loss.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AccountOrder
impl Send for AccountOrder
impl Sync for AccountOrder
impl Unpin for AccountOrder
impl UnwindSafe for AccountOrder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more