using System; using System.ComponentModel; namespace Krs.Ats.IBNet { /// /// Order Time in Force Values /// [Serializable()] public enum TimeInForce { /// /// Day /// [Description("DAY")] Day, /// /// Good Till Cancel /// [Description("GTC")] GoodTillCancel, /// /// You can set the time in force for MARKET or LIMIT orders as IOC. This dictates that any portion of the order not executed immediately after it becomes available on the market will be cancelled. /// [Description("IOC")] ImmediateOrCancel, /// /// Setting FOK as the time in force dictates that the entire order must execute immediately or be canceled. /// [Description("FOK")] FillOrKill, /// /// Good Till Date /// [Description("GTD")] GoodTillDate, /// /// Market On Open /// [Description("OPG")] MarketOnOpen, /// /// Undefined /// [Description("")] Undefined } }