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

pub fn limit_order_for_combo_with_leg_prices(
    action: &str,
    quantity: f64,
    leg_prices: Vec<f64>,
    non_guaranteed: bool
) -> Order

Create combination orders that include options, stock and futures legs (stock legs can be included if the order is routed through SmartRouting). Although a combination/spread order is constructed of separate legs, it is executed as a single transaction if it is routed directly to an exchange. For combination orders that are SmartRouted, each leg may be executed separately to ensure best execution. Products: OPT, STK, FUT