is_conditional_order_data

Function is_conditional_order_data 

Source
pub fn is_conditional_order_data(
    trigger_px: Option<&str>,
    tpsl: Option<&str>,
) -> bool
Expand description

Determines if an order is a conditional/trigger order based on order data.

§Arguments

  • trigger_px - Optional trigger price
  • tpsl - Optional TP/SL indicator

§Returns

true if the order is a conditional order, false otherwise.