Skip to main content

trigger_direction

Function trigger_direction 

pub fn trigger_direction(kind: StopOrderKind, side: Side) -> i64
Expand description

The trigger direction of the API: 1 when the order fires as the price rises to the trigger price, 2 when it falls to it.