pub struct OpenOrdersGetResponseElement {Show 18 fields
pub symbol: String,
pub order_id: i64,
pub order_list_id: i64,
pub client_order_id: String,
pub price: Decimal,
pub orig_qty: Decimal,
pub executed_qty: Decimal,
pub cummulative_quote_qty: Decimal,
pub status: OrderStatus,
pub time_in_force: OrderTimeInForce,
pub type: OrderType,
pub side: OrderSide,
pub stop_price: Decimal,
pub iceberg_qty: Decimal,
pub time: i64,
pub update_time: i64,
pub is_working: bool,
pub orig_quote_order_qty: Decimal,
}Expand description
A single open order element.
Fields§
§symbol: StringThe symbol name.
order_id: i64The server-side order ID.
order_list_id: i64The server-side order list ID.
client_order_id: StringThe client-side order ID.
price: DecimalThe order price.
orig_qty: DecimalThe initial order quantity.
executed_qty: DecimalThe order quantity executed so far.
cummulative_quote_qty: DecimalUsually the same as executed_qty.
status: OrderStatusThe order status.
time_in_force: OrderTimeInForceThe order time-in-force.
type: OrderTypeThe order type.
side: OrderSideThe order side.
stop_price: DecimalUsed with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
iceberg_qty: DecimalThe iceberg order quantity.
time: i64The order time in milliseconds.
update_time: i64Usually the same as time.
is_working: boolUnknown value.
orig_quote_order_qty: DecimalUsually the same as orig_qty.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenOrder
impl<'de> Deserialize<'de> for OpenOrder
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 OpenOrder
impl RefUnwindSafe for OpenOrder
impl Send for OpenOrder
impl Sync for OpenOrder
impl Unpin for OpenOrder
impl UnwindSafe for OpenOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more