pub fn stop_limit_sell_order<S, F>(
        &self,
        symbol: S,
        qty: F,
        price: f64,
        stop_price: f64,
        time_in_force: TimeInForce,
    ) -> Result<Transaction>
    where
        S: Into<String>,
        F: Into<f64>,
    {
        let sell: OrderRequest = OrderRequest {
            symbol: symbol.into(),
            qty: qty.into(),
            price,
            stop_price: Some(stop_price),
            order_side: OrderSide::Sell,
            order_type: OrderType::StopLossLimit,
            time_in_force,
        };
        let order = self.build_order(sell);
        let request = build_signed_request(order, self.recv_window)?;
        self.client.post_signed(API::Spot(Spot::Order), request)
    }
/// Place a stop limit sell order
Place a stop limit sell order
Place a stop limit sell order
pub fn stop_limit_sell_order<S, F>(
        &self,
        symbol: S,
        qty: F,
        price: f64,
        stop_price: f64,
        time_in_force: TimeInForce,
    ) -> Result<Transaction>
    where
        S: Into<String>,
        F: Into<f64>,
    {
        let sell: OrderRequest = OrderRequest {
            symbol: symbol.into(),
            qty: qty.into(),
            price,
            stop_price: Some(stop_price),
            order_side: OrderSide::Sell,
            order_type: OrderType::StopLossLimit,
            time_in_force,
        };
        let order = self.build_order(sell);
        let request = build_signed_request(order, self.recv_window)?;
        self.client.post_signed(API::Spot(Spot::Order), request)
    }
pub fn stop_limit_sell_order < S , F > ( & self , symbol : S , qty : F , price : f64 , stop_price : f64 , time_in_force : TimeInForce , ) -> Result < Transaction > where S : Into < String > , F : Into < f64 > , { let sell : OrderRequest = OrderRequest { symbol : symbol . into ( ) , qty : qty . into ( ) , price , stop_price : Some ( stop_price ) , order_side : OrderSide :: Sell , order_type : OrderType :: StopLossLimit , time_in_force , } ; let order = self . build_order ( sell ) ; let request = build_signed_request ( order , self . recv_window ) ? ; self . client . post_signed ( API :: Spot ( Spot :: Order ) , request ) }
Place a stop limit sell order
Place a stop limit sell order
&self
symbol
S
qty
F
price
f64
stop_price
f64
time_in_force
TimeInForce
&self
symbol
S
qty
F
price
f64
stop_price
f64
time_in_force
TimeInForce