OrderDurationType

Duration of an order, which defines the time-in-force during which the oder remains active before it is either executed or expired/cancelled. Note: certain asset types only support a subset of available order durations.

  • Name Description
    DayOrder Day Order. Orders with this duration will be kept in-force until the end of the trading session during which the order is either filled or cancelled by the user.
    FillOrKill Fill or Kill order.
    GoodTillCancel Good 'Til Canceled (GTC). Orders with this duration will be kept in-force indefinitely until the order is either filled or cancelled by the user.
    GoodTillDate Good 'Til Date (GTD). Orders with this duration will be kept in-force until a pre-specified date (and optional time) during which the order is either filled or cancelled by the user. See ExpirationDateTime.
    ImmediateOrCancel Immediate or Cancel (IOC). Orders with this duration are either instantaneously (partially) filled, or cancelled outright. Typically used in combination with a Limit order to provide 'Quick Trade' functionality for FX and certain CFD products.