SecurityTradingStatus (FIX tag 326)
SecurityTradingStatus (tag 326) is an int field defined in FIX 4.4 and FIX 4.2. It appears in 1 message type, always optionally. It is an enumerated field with 22 defined values.
At a glance
- Tag
- 326
- Name
- SecurityTradingStatus
- Datatype
- int
- Dialects
- FIX 4.4 and FIX 4.2
- Messages
- 1
- Valid values
- 22
What the specification says
FIX 4.4
Identifies the trading status applicable to the transaction
FIX 4.2
Identifies the trading status applicable to the transaction.
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 326
| Tag | Field | Wire value | Meaning |
|---|---|---|---|
| 8 | BeginString | FIX.4.4 | |
| 9 | BodyLength | 69 | |
| 35 | MsgType | f | Security Status |
| 49 | SenderCompID | BOARTEAM | |
| 56 | TargetCompID | COUNTERPARTY | |
| 34 | MsgSeqNum | 2 | |
| 52 | SendingTime | 20240101-12:00:00.000 | |
| 326 | SecurityTradingStatus | 1 | Opening Delay |
| 10 | CheckSum | 244 |
Shown with | separators for readability. On the wire FIX uses SOH (0x01), an invisible control byte — and because BodyLength and CheckSum are computed over the actual bytes, the two forms have different checksums. Both are valid and both decode here.
Generated from the FIX 4.4 dictionary and verified at build time: it parses and validates with no issues. Open the decoder to try your own message.
Valid values
A value outside this list is not a parse error — the message still decodes — but validate() reports it as validate/value-not-in-enum.
| Value | Meaning | Symbolic name | Dialects |
|---|---|---|---|
| 1 | Opening Delay | OPENING_DELAY / OpeningDelay | FIX 4.4, FIX 4.2 |
| 2 | Trading Halt | TRADING_HALT / TradingHalt | FIX 4.4, FIX 4.2 |
| 3 | Resume | RESUME / Resume | FIX 4.4, FIX 4.2 |
| 4 | No Open/No Resume | NO_OPEN_NO_RESUME / NoOpen | FIX 4.4, FIX 4.2 |
| 5 | Price Indication | PRICE_INDICATION / PriceIndication | FIX 4.4, FIX 4.2 |
| 6 | Trading Range Indication | TRADING_RANGE_INDICATION / TradingRangeIndication | FIX 4.4, FIX 4.2 |
| 7 | Market Imbalance Buy | MARKET_IMBALANCE_BUY / MarketImbalanceBuy | FIX 4.4, FIX 4.2 |
| 8 | Market Imbalance Sell | MARKET_IMBALANCE_SELL / MarketImbalanceSell | FIX 4.4, FIX 4.2 |
| 9 | Market On Close Imbalance Buy | MARKET_ON_CLOSE_IMBALANCE_BUY / MarketOnCloseImbalanceBuy | FIX 4.4, FIX 4.2 |
| 10 | Market On Close Imbalance Sell | MARKET_ON_CLOSE_IMBALANCE_SELL / MarketOnCloseImbalanceSell | FIX 4.4, FIX 4.2 |
| 12 | No Market Imbalance | NO_MARKET_IMBALANCE / NoMarketImbalance | FIX 4.4, FIX 4.2 |
| 13 | No Market On Close Imbalance | NO_MARKET_ON_CLOSE_IMBALANCE / NoMarketOnCloseImbalance | FIX 4.4, FIX 4.2 |
| 14 | ITS Pre-Opening | ITS_PRE_OPENING / ITSPreOpening | FIX 4.4, FIX 4.2 |
| 15 | New Price Indication | NEW_PRICE_INDICATION / NewPriceIndication | FIX 4.4, FIX 4.2 |
| 16 | Trade Dissemination Time | TRADE_DISSEMINATION_TIME / TradeDisseminationTime | FIX 4.4, FIX 4.2 |
| 17 | Ready to trade (start of session) | READY_TO_TRADE / ReadyToTrade | FIX 4.4, FIX 4.2 |
| 18 | Not Available for trading (end of session) | NOT_AVAILABLE_FOR_TRADING / NotAvailableForTrading | FIX 4.4, FIX 4.2 |
| 19 | Not Traded on this Market | NOT_TRADED_ON_THIS_MARKET / NotTradedOnThisMarket | FIX 4.4, FIX 4.2 |
| 20 | Unknown or Invalid | UNKNOWN_OR_INVALID / UnknownOrInvalid | FIX 4.4, FIX 4.2 |
| 21 | Pre-Open | PRE_OPEN | FIX 4.4 |
| 22 | Opening Rotation | OPENING_ROTATION | FIX 4.4 |
| 23 | Fast Market | FAST_MARKET | FIX 4.4 |
Where tag 326 appears
Requiredness is a property of the message, not of the field: the same tag can be optional in one message and conditionally required in another.
| Message | MsgType | FIX 4.4 | FIX 4.2 | Where in the message |
|---|---|---|---|---|
| SecurityStatus | f | Optional | Optional | directly on the message body |
Wire format
A whole number, optionally signed. Leading zeros are legal on the wire and are preserved in the raw value. @boarteam/fix parses the value as a number and reports parse/invalid-int when it does not lex as one; the raw string is kept either way.
Read tag 326 in TypeScript
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix44";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);const securityTradingStatus = message.fields[326]?.raw;// e.g. "1" — Opening Delay// The dictionary also carries the labels:const label = fix.dictionary .fieldByTag(326) ?.enumValues?.find((e) => e.value === securityTradingStatus) ?.description;Other int fields
- 323SecurityResponseType
- 321SecurityRequestType
- 334Adjustment
- 315UnderlyingPutOrCall
- 338TradSesMethod
- 339TradSesMode
- 340TradSesStatus
- 346NumberOfOrders
- 304TotNoQuoteEntries
- 303QuoteRequestType
- 301QuoteResponseLevel
- 300QuoteRejectReason
- 298QuoteCancelType
- 297QuoteStatus
- 290MDEntryPositionNo
- 287SellerDays
- 368QuoteEntryRejectReason
- 371RefTagID
- 373SessionRejectReason
- 378ExecRestatementReason
- 380BusinessRejectReason
- 265MDUpdateType
- 264MarketDepth
- 393TotNoRelatedSym
Decode this in your own code
The same engine that produced the decoded example above is an Apache-2.0 npm package with zero runtime dependencies. It runs in Node and in the browser, and parse() returns problems as data instead of throwing.
npm i @boarteam/fix @boarteam/fix-dict-fix44