pub struct AmendOrderRequest {
pub category: Category,
pub symbol: String,
pub order_id: Option<String>,
pub order_link_id: Option<String>,
pub qty: Option<String>,
pub price: Option<String>,
pub take_profit: Option<String>,
pub stop_loss: Option<String>,
pub tp_limit_price: Option<String>,
pub sl_limit_price: Option<String>,
}Expand description
Request for amending an existing order.
Fields§
§category: CategoryProduct category.
symbol: StringTrading symbol.
order_id: Option<String>Order ID (required if orderLinkId not provided).
order_link_id: Option<String>User custom order ID (required if orderId not provided).
qty: Option<String>New quantity.
price: Option<String>New price.
take_profit: Option<String>New take profit.
stop_loss: Option<String>New stop loss.
tp_limit_price: Option<String>New TP trigger price.
sl_limit_price: Option<String>New SL trigger price.
Trait Implementations§
Source§impl Clone for AmendOrderRequest
impl Clone for AmendOrderRequest
Source§fn clone(&self) -> AmendOrderRequest
fn clone(&self) -> AmendOrderRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmendOrderRequest
impl Debug for AmendOrderRequest
Auto Trait Implementations§
impl Freeze for AmendOrderRequest
impl RefUnwindSafe for AmendOrderRequest
impl Send for AmendOrderRequest
impl Sync for AmendOrderRequest
impl Unpin for AmendOrderRequest
impl UnwindSafe for AmendOrderRequest
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