[][src]Function twsapi::examples::order_samples::stop_limit

pub fn stop_limit(
    action: &str,
    quantity: f64,
    limit_price: f64,
    stop_price: f64
) -> Order

A stop-Limit order is an instruction to submit a buy or sell limit order when the user-specified stop trigger price is attained or penetrated. The order has two basic components: the stop price and the limit price. When a trade has occurred at or through the stop price, the order becomes executable and enters the market as a limit order, which is an order to buy or sell at a specified price or better. Products: CFD, CASH, FUT, FOP, OPT, STK, WAR