Skip to main content

time_in_force_to_derive

Function time_in_force_to_derive 

Source
pub fn time_in_force_to_derive(
    tif: TimeInForce,
    post_only: bool,
) -> Result<DeriveTimeInForce>
Expand description

Maps a Nautilus time-in-force flag to the Derive TIF.

ยงErrors

Returns an error for time-in-force flags Derive does not accept.