pub struct GuaranteedStopLossDetails {
pub price: Option<Decimal>,
pub distance: Option<Decimal>,
pub time_in_force: Option<TimeInForce>,
pub gtd_time: Option<Timestamp>,
pub client_extensions: Option<ClientExtensions>,
}Expand description
GuaranteedStopLossDetails specifies the details of a Guaranteed Stop Loss Order to be created on behalf of a client. This may happen when an Order is filled that opens a Trade requiring a Guaranteed Stop Loss, or when a Trade’s dependent Guaranteed Stop Loss Order is modified directly through the Trade.
Fields§
§price: Option<Decimal>The price that the Guaranteed Stop Loss Order will be triggered at. Only one of the price and distance fields may be specified.
distance: Option<Decimal>Specifies the distance (in price units) from the Trade’s open price to use as the Guaranteed Stop Loss Order price. Only one of the distance and price fields may be specified.
time_in_force: Option<TimeInForce>The time in force for the created Guaranteed Stop Loss Order. This may only be GTC, GTD or GFD.
gtd_time: Option<Timestamp>The date when the Guaranteed Stop Loss Order will be cancelled on if timeInForce is GTD.
client_extensions: Option<ClientExtensions>The Client Extensions to add to the Guaranteed Stop Loss Order when created.