pub struct SorOrderParams<'a> {
pub symbol: &'a str,
pub side: &'a str,
pub order_type: &'a str,
pub quantity: &'a str,
pub price: Option<&'a str>,
pub time_in_force: Option<&'a str>,
pub client_order_id: Option<&'a str>,
pub strategy_id: Option<i64>,
pub strategy_type: Option<i32>,
}Expand description
Parameters for SOR (Smart Order Routing) orders
Fields§
§symbol: &'a strTrading symbol (e.g., “BTCUSDT”)
side: &'a strOrder side - “BUY” or “SELL”
order_type: &'a strOrder type - “LIMIT” or “MARKET”
quantity: &'a strOrder quantity as a string
price: Option<&'a str>Order price (required for LIMIT orders)
time_in_force: Option<&'a str>Time in force specification
client_order_id: Option<&'a str>Client-generated order ID for tracking
strategy_id: Option<i64>Strategy identifier for SOR routing
strategy_type: Option<i32>Strategy type for SOR routing
Auto Trait Implementations§
impl<'a> Freeze for SorOrderParams<'a>
impl<'a> RefUnwindSafe for SorOrderParams<'a>
impl<'a> Send for SorOrderParams<'a>
impl<'a> Sync for SorOrderParams<'a>
impl<'a> Unpin for SorOrderParams<'a>
impl<'a> UnwindSafe for SorOrderParams<'a>
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