Friday, 20 November 2026 · Free. No paywall. No subscription.
Search The MidPoint News

Search articles, videos and sections. Press / to open, Esc to close.

FIX Latest · EP313Field

TradingSessionID <336>

Tag
336
Type
String · also accepts Reserved100Plus · code set TradingSessionIDCodeSet
FIXML name
SesID
Pedigree
Added FIX 4.2 · Updated FIX 5.0SP2 EP190
Versions
FIX Latest ✓ · FIX 4.4 ✓ · FIX 4.2 ✓

TradingSessionID <336> in plain English

Summary by The MidPoint News, based on the description in the Orchestra file (quoted in full below).

TradingSessionID identifies a trading session. A session can run for an extended period; use is set by the market or the counterparties.

Common values

ValueNameMeaning (from the Orchestra file)
336=1DayDay
336=2HalfDayHalfDay
336=3MorningMorning
336=4AfternoonAfternoon
336=5EveningEvening
336=6AfterHoursAfter-hoursAfter-hours

A selection. The full list of values is in the table further down.

Where it is used

ExecutionReport (35=8), Quote (35=S), AllocationInstruction (35=J), Advertisement (35=7), QuoteCancel (35=Z), QuoteStatusRequest (35=a), SecurityDefinitionRequest (35=c), SecurityStatusRequest (35=e) and 41 more. In all, 66 messages in FIX Latest can carry it. Full list.

Example message

8=FIXT.1.1|9=165|35=D|49=BUYSIDE|56=SELLSIDE|34=215|52=20261116-08:30:00.000|11=ORD-1001|1=ACCT-01|21=1|55=AAPL|54=1|60=20261116-08:30:00.000|38=1000|40=2|44=190.50|59=0|386=1|336=1|10=238

Illustrative example, not real orders or market data. A NewOrderSingle (35=D) in FIX Latest, shown with BeginString FIXT.1.1. Instrument identifiers (such as AAPL, ISIN US0378331005, ESZ6, XNAS, XCME) are real public codes used for illustration. Order and execution IDs, accounts, prices, quantities and times are made up. Fields are separated by | here; on the wire the separator is the SOH character (ASCII 1). BodyLength (9) and CheckSum (10) are calculated for this example. Every tag and value in it is checked against the FIX Latest dictionary, but it is not a complete specification of the message.

Description (from the Orchestra file)

Identifier for a trading session. A trading session spans an extended period of time that can also be expressed informally in terms of the trading day. Usage is determined by market or counterparties. To specify good for session where session spans more than one calendar day, use TimeInForce = 0 (Day) in conjunction with TradingSessionID(336). Bilaterally agreed values of data type "String" that start with a character can be used for backward compatibility.

Values (7)

ValueNameDescriptionPedigreeIn 4.4In 4.2
1 Day Day Added FIX 5.0 EP58 ––
2 HalfDay HalfDay Added FIX 5.0 EP58 ––
3 Morning Morning Added FIX 5.0 EP58 ––
4 Afternoon Afternoon Added FIX 5.0 EP58 ––
5 Evening Evening Added FIX 5.0 EP58 ––
6 AfterHoursAfter-hours After-hours Added FIX 5.0 EP58 ––
7 Holiday Holiday Added FIX 5.0SP2 EP190 ––

Same code set also used by TriggerTradingSessionID <1113>.

Used in

Messages (34)

Components and repeating groups (15)

NameKindPresence
MDStatisticParametersComponentOptional
BidCompReqGrpRepeating groupOptional
BidCompRspGrpRepeating groupOptional
MDFullGrpRepeating groupOptional
MDIncGrpRepeating groupOptional
QuotEntryAckGrpRepeating groupOptional
QuotEntryGrpRepeating groupOptional
QuotReqGrpRepeating groupOptional
QuotReqRjctGrpRepeating groupOptional
RFQReqGrpRepeating groupOptional
TrdCapRptSideGrpRepeating groupOptional
TrdgSesGrpRepeating groupOptional
TrdCapRptAckSideGrpRepeating groupOptional
TrdSessLstGrpRepeating groupRequired
TradingSessionRulesGrpRepeating groupOptional
All 66 messages that can carry TradingSessionID, including through components and groups