UNPKG

fixparser

Version:

FIX.Latest / 5.0 SP2 Parser / AI Agent Trading

51 lines (50 loc) 2.93 kB
/** * Specifies how long the order remains in effect. Absence of this field is interpreted as DAY. NOTE not applicable to CIV Orders. * - Tag: 59 * - FIX Specification type: char * - Mapped type: string * @readonly * @public */ export declare const TimeInForce: Readonly<{ /** Day (or session) A buy or sell order that, if not executed expires at the end of the trading day on which it was entered. */ readonly Day: "0"; /** Good Till Cancel (GTC) An order to buy or sell that remains in effect until it is either executed or canceled; sometimes called an “open order”. */ readonly GoodTillCancel: "1"; /** At the Opening (OPG) A market or limit-price order to be executed at the opening of the stock or not at all; all or part of any order not executed at the opening is treated as canceled. */ readonly AtTheOpening: "2"; /** Immediate Or Cancel (IOC) A market or limit-price order that is to be executed in whole or in part as soon as it is available in the market; any portion not so executed is to be canceled. */ readonly ImmediateOrCancel: "3"; /** Fill Or Kill (FOK) A market or limit-price order that is to be executed in its entirety as soon as it is available in the market; if not so executed, the order is to be canceled. */ readonly FillOrKill: "4"; /** Good Till Crossing (GTX) An order to buy or sell that is canceled prior to the market entering into an auction or crossing phase. */ readonly GoodTillCrossing: "5"; /** Good Till Date (GTD) An order to buy or sell that remains in effect until it expires, defined by ExpireDate(432) or ExpireTime(126). */ readonly GoodTillDate: "6"; /** At the Close Indicated price is to be around the closing price, however, not held to the closing price. */ readonly AtTheClose: "7"; /** Good Through Crossing An order that is valid up till and including a crossing phase.] */ readonly GoodThroughCrossing: "8"; /** At Crossing An order that is valid only during crossing (auction) phases. The order is valid during the day or up to and including a specified trading (sub) session. */ readonly AtCrossing: "9"; /** Good for Time (GFT) An order that is valid for a pre-defined time period expressed with ExposureDuration(1629) and (optionally) ExposureDurationUnit(1916). */ readonly GoodForTime: "A"; /** Good for Auction (GFA) An order that is valid for an auction initiated by a trading firm (see AuctionType(1803) for examples. */ readonly GoodForAuction: "B"; /** Good for this Month (GFM) An order that is valid until the end of the current month, i.e. from the time of order submission until the end of the last trading day of the current month. */ readonly GoodForMonth: "C"; }>; export type TimeInForce = (typeof TimeInForce)[keyof typeof TimeInForce];