pub struct BatchOrder {Show 20 fields
pub order_type: OrderType,
pub side: BuySell,
pub limit_price: Option<Decimal>,
pub limit_price_type: Option<PriceType>,
pub triggers: Option<TriggerParams>,
pub time_in_force: Option<TimeInForceV2>,
pub order_quantity: Decimal,
pub margin: Option<bool>,
pub post_only: Option<bool>,
pub reduce_only: Option<bool>,
pub effective_time: Option<String>,
pub expire_time: Option<String>,
pub order_user_ref: Option<i64>,
pub conditional: Option<ConditionalParams>,
pub display_quantity: Option<Decimal>,
pub fee_preference: Option<FeePreference>,
pub no_market_price_protection: Option<bool>,
pub stp_type: Option<SelfTradePrevention>,
pub cash_order_quantity: Option<Decimal>,
pub client_order_id: Option<String>,
}
Fields§
§order_type: OrderType
§side: BuySell
§limit_price: Option<Decimal>
§limit_price_type: Option<PriceType>
§triggers: Option<TriggerParams>
§time_in_force: Option<TimeInForceV2>
§order_quantity: Decimal
§margin: Option<bool>
§post_only: Option<bool>
§reduce_only: Option<bool>
§effective_time: Option<String>
§expire_time: Option<String>
§order_user_ref: Option<i64>
§conditional: Option<ConditionalParams>
§display_quantity: Option<Decimal>
§fee_preference: Option<FeePreference>
§no_market_price_protection: Option<bool>
§stp_type: Option<SelfTradePrevention>
§cash_order_quantity: Option<Decimal>
§client_order_id: Option<String>
Trait Implementations§
Source§impl Debug for BatchOrder
impl Debug for BatchOrder
Source§impl<'de> Deserialize<'de> for BatchOrder
impl<'de> Deserialize<'de> for BatchOrder
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 BatchOrder
impl RefUnwindSafe for BatchOrder
impl Send for BatchOrder
impl Sync for BatchOrder
impl Unpin for BatchOrder
impl UnwindSafe for BatchOrder
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