Function build
pub fn build(
req: &PlaceStopOrderRequest,
symbol: &str,
category: &str,
cid: Uuid,
) -> Result<CreateOrderRequest, Error>Expand description
The request for a stop order.
§Errors
[Error::Rejected] with code missing_price for a stop-limit without limit_price, and with code
unsupported_expiry when the expiry is not good-till-cancel: the exchange keeps a conditional order until it fires or
is cancelled, and has no time limit to give it.