pub struct AddOrderParams {Show 25 fields
pub order_type: OrderType,
pub side: BuySell,
pub symbol: String,
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 expire_time: Option<String>,
pub deadline: Option<String>,
pub effective_time: Option<String>,
pub client_order_id: 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 validate: Option<bool>,
pub sender_sub_id: Option<String>,
pub token: Token,
}
Fields§
§order_type: OrderType
§side: BuySell
§symbol: String
§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>
§expire_time: Option<String>
§deadline: Option<String>
§effective_time: Option<String>
§client_order_id: 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>
§validate: Option<bool>
§sender_sub_id: Option<String>
§token: Token
Trait Implementations§
Source§impl Debug for AddOrderParams
impl Debug for AddOrderParams
Source§impl<'de> Deserialize<'de> for AddOrderParams
impl<'de> Deserialize<'de> for AddOrderParams
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 AddOrderParams
impl RefUnwindSafe for AddOrderParams
impl Send for AddOrderParams
impl Sync for AddOrderParams
impl Unpin for AddOrderParams
impl UnwindSafe for AddOrderParams
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