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

LegRefID <654>

Tag
654
Type
String
FIXML name
RefID
Pedigree
Added FIX 4.3 · Updated FIX 5.0SP2 EP131
Versions
FIX Latest ✓ · FIX 4.4 ✓ · Not in FIX 4.2

LegRefID <654> in plain English

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

LegRefID identifies a specific leg. The Orchestra file notes that FIX does not define its uniqueness, and that it can be used to refer to the value of LegID (1788).

Where it is used

InstrmtLegExecGrp (repeating group), LegOrdGrp (repeating group), LegQuotGrp (repeating group), MDFullGrp (repeating group), QuotReqLegsGrp (repeating group), TrdInstrmtLegGrp (repeating group), SideCrossLegGrp (repeating group), TrdInstrmtLegExecGrp (repeating group) . In all, 15 messages in FIX Latest can carry it. Full list.

Example message

8=FIXT.1.1|9=199|35=AB|49=BUYSIDE|56=SELLSIDE|34=215|52=20261116-08:30:00.000|11=ML-1|54=1|55=ES CAL|167=MLEG|555=2|600=ESZ6|623=1|624=1|654=L1|600=ESH7|623=1|624=2|654=L2|60=20261116-08:30:00.000|38=10|40=2|44=5.25|10=244

Illustrative example, not real orders or market data. A NewOrderMultileg (35=AB) 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.

Related tags: LegID <1788>

Description (from the Orchestra file)

Unique identifier for a specific leg (uniqueness not defined as part of the FIX specification). LegRefID(654) be used to reference the value from LegID(1788).

Used in

Components and repeating groups (8)

NameKindPresence
InstrmtLegExecGrpRepeating groupOptional
LegOrdGrpRepeating groupOptional
LegQuotGrpRepeating groupOptional
MDFullGrpRepeating groupOptional
QuotReqLegsGrpRepeating groupOptional
TrdInstrmtLegGrpRepeating groupOptional
SideCrossLegGrpRepeating groupOptional
TrdInstrmtLegExecGrpRepeating groupOptional
All 15 messages that can carry LegRefID, including through components and groups