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 4.2Field

OpenClose <77>

Tag
77
Type
char · code set OpenCloseCodeSet
Pedigree
Added FIX 2.7
Versions
FIX Latest ✓ · FIX 4.4 ✓ · FIX 4.2 ✓

This page shows OpenClose <77> as defined in FIX 4.2. For the current standard, see tag 77 PositionEffect in FIX Latest.

OpenClose <77> in plain English

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

PositionEffect says whether the position after a trade should be an opening or a closing position. It is used where accounts are held gross rather than netted.

Common values

ValueNameMeaning (from the Orchestra file)
77=OOpenOpen
77=CCloseClose

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

Where it is used

NewOrderSingle (35=D), ExecutionReport (35=8), OrderCancelReplaceRequest (35=G), Allocation (35=J), ListOrdGrp (repeating group) . In all, 5 messages in FIX 4.2 can carry it. Full list.

Example message

8=FIX.4.2|9=158|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|77=O|10=128

Illustrative example, not real orders or market data. A NewOrderSingle (35=D) in FIX 4.2, shown with BeginString FIX.4.2. 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 4.2 dictionary, but it is not a complete specification of the message.

Description (from the Orchestra file)

Indicates whether the resulting position after a trade should be an opening position or closing position. Used for omnibus accounting - where accounts are held on a gross basis instead of being netted together.

Values (2)

ValueNameDescriptionPedigreeIn LatestIn 4.4
C Close Close Added FIX 4.1 ✓✓
O Open Open Added FIX 4.1 ✓✓

Used in

Messages (4)

MessageMsgTypePresence
ExecutionReport8Optional
NewOrderSingleDOptional
OrderCancelReplaceRequestGOptional
AllocationJOptional

Components and repeating groups (1)

NameKindPresence
ListOrdGrpRepeating groupOptional
All 5 messages that can carry OpenClose, including through components and groups