pub struct PushGridOrderChanged {Show 15 fields
pub order_id: String,
pub status: String,
pub symbol: String,
pub suspend_reason: String,
pub submitted_base_price: String,
pub current_base_price: String,
pub upper_limit_price: String,
pub lower_limit_price: String,
pub trigger_price_type: i32,
pub trigger_quantity: String,
pub settlement_currency: String,
pub time_in_force: i32,
pub rth: i32,
pub grid_order_type_up: String,
pub grid_order_type_down: String,
}Expand description
Grid trading master-order changed message.
Delivered on the same private topic as regular order changes. Field set is
a skeleton to be confirmed against the test environment during integration;
unknown fields are ignored (#[serde(default)]).
Fields§
§order_id: StringGrid master order ID
status: StringOrder status
symbol: StringSecurity symbol (e.g. 700.HK)
suspend_reason: StringSuspend reason, if any
submitted_base_price: StringSubmitted base price
current_base_price: StringCurrent base price
upper_limit_price: StringUpper price bound
lower_limit_price: StringLower price bound
trigger_price_type: i32Trigger price type
trigger_quantity: StringQuantity per trigger
settlement_currency: StringSettlement currency
time_in_force: i32Time in force (0 = Day, 1 = GTC, 6 = GTD)
rth: i32Regular trading hours flag
grid_order_type_up: StringSell-side order type when depth is 0
grid_order_type_down: StringBuy-side order type when depth is 0
Trait Implementations§
Source§impl Debug for PushGridOrderChanged
impl Debug for PushGridOrderChanged
Source§impl Default for PushGridOrderChanged
impl Default for PushGridOrderChanged
Source§fn default() -> PushGridOrderChanged
fn default() -> PushGridOrderChanged
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushGridOrderChangedwhere
PushGridOrderChanged: Default,
impl<'de> Deserialize<'de> for PushGridOrderChangedwhere
PushGridOrderChanged: Default,
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 PushGridOrderChanged
impl RefUnwindSafe for PushGridOrderChanged
impl Send for PushGridOrderChanged
impl Sync for PushGridOrderChanged
impl Unpin for PushGridOrderChanged
impl UnsafeUnpin for PushGridOrderChanged
impl UnwindSafe for PushGridOrderChanged
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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