Skip to main content

trigger_direction

Function trigger_direction 

Source
pub fn trigger_direction(
    order_type: OrderType,
    order_side: OrderSide,
    is_stop_order: bool,
) -> Option<BybitTriggerDirection>
Expand description

Returns the trigger direction for stop and MIT orders.