<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fixr:repository xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:fixr="http://fixprotocol.io/2020/orchestra/repository" name="Nasdaq OUCH" version="5.0">
    <fixr:metadata>
        <dcterms:title>Nasdaq OUCH 5.0</dcterms:title>
        <dcterms:created>2024-05-01</dcterms:created>
        <dcterms:creator>The NASDAQ Group, Inc</dcterms:creator>
        <dcterms:conformsTo>[Orchestra v1.0](https://www.fixtrading.org/packages/fix-orchestra-technical-specification-v1-0/)</dcterms:conformsTo>
        <dcterms:rights>Copyright 2024 Atomic Wire Technology Limited</dcterms:rights>
        <dcterms:abstract>OUCH is a simple protocol that allows NASDAQ participants to enter, replace, and cancel orders and receive executions. It is intended to allow participants and their software developers to integrate NASDAQ into their proprietary trading systems or to build custom front ends.</dcterms:abstract>
        <dcterms:alternative>Order Entry Specification</dcterms:alternative>
        <dcterms:publisher>Atomic Wire Technology Limited</dcterms:publisher>
        <dcterms:subject>NASDAQ, OUCH, Order Entry</dcterms:subject>
        <dcterms:source>[NASDAQ OUCH 5.0 Order Entry Specification](https://www.nasdaqtrader.com/content/technicalsupport/specifications/TradingProducts/OUCH5.0.pdf)</dcterms:source>
    </fixr:metadata>
    <fixr:categories>
        <fixr:category name="AccountReporting" componentType="Message" section="PostTrade"/>
        <fixr:category name="OrderMassHandling" componentType="Message" section="Trade"/>
        <fixr:category name="SingleGeneralOrderHandling" componentType="Message" section="Trade"/>
    </fixr:categories>
    <fixr:sections>
        <fixr:section name="Infrastructure">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Infrastructure messages for application sequencing, business reject, network and user management.</fixr:documentation>
            </fixr:annotation>
        </fixr:section>
        <fixr:section name="PostTrade">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Post trade messages including trade reporting, allocation, collateral, confirmation, position maintenance, registration instruction, and settlement instructions.</fixr:documentation>
            </fixr:annotation>
        </fixr:section>
        <fixr:section name="PreTrade" updated="FIX.5.0SP2" updatedEP="249">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A description added to the PreTrade section.</fixr:documentation>
            </fixr:annotation>
        </fixr:section>
        <fixr:section name="Session">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Session level messages to establish and control a FIX session.</fixr:documentation>
            </fixr:annotation>
        </fixr:section>
        <fixr:section name="Trade">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Order handling and execution messages.</fixr:documentation>
            </fixr:annotation>
        </fixr:section>
    </fixr:sections>
    <fixr:datatypes>
        <fixr:datatype name="Alpha">
            <fixr:mappedDatatype standard="JSON" base="string">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Alpha fields may contain upper and lowercase characters. All fixed-width alpha fields are left-justified and padded on the right with spaces.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Alpha fields may contain upper and lowercase characters. All fixed-width alpha fields are left-justified and padded on the right with spaces.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Numeric">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">All Numeric fields are binary formatted, big-endian numbers. Sizes (shares quantities, field lengths) should be treated as unsigned values.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">All Numeric fields are binary formatted, big-endian numbers. Sizes (shares quantities, field lengths) should be treated as unsigned values.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Long">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (8 bytes).</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (8 bytes).</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Integer">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (4 bytes).</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (4 bytes).</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Short">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (2 bytes).</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (2 bytes).</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Byte">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (1 bytes).</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A numeric value (1 bytes).</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Price">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Prices are numeric fields with an implied 4 decimal places. Prices are to be treated as unsigned numeric fields, unless designated otherwise. The maximum price currently supported is $199,999.9900 (decimal, 7735939C hex). To flag an order as a market order for a cross, use the special price of $214,748.3647 (decimal, 7FFFFFFF hex). Orders entered with a price of $200,000.00 or the max integer value will also be treated as market orders.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Prices are numeric fields with an implied 4 decimal places. Prices are to be treated as unsigned numeric fields, unless designated otherwise. The maximum price currently supported is $199,999.9900 (decimal, 7735939C hex). To flag an order as a market order for a cross, use the special price of $214,748.3647 (decimal, 7FFFFFFF hex). Orders entered with a price of $200,000.00 or the max integer value will also be treated as market orders.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="SignedPrice">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A signed Price.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A signed Price.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="TagValue">
            <fixr:mappedDatatype standard="JSON" base="string">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An optional attribute on an order is communicated via a TagValue element.

The set of optional attributes are set on an order via an options appendage. Each of the individual options formatted as a TagValue element, and the options appendage is then constructed by concatenating together the selected set of options.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An optional attribute on an order is communicated via a TagValue element.

The set of optional attributes are set on an order via an options appendage. Each of the individual options formatted as a TagValue element, and the options appendage is then constructed by concatenating together the selected set of options.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="UserRefNum">
            <fixr:mappedDatatype standard="JSON" base="number">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A UserRefNum is an unsigned numeric. For a given OUCH port, the UserRefNum is used as a transaction identifier, and must be both unique and strictly increasing throughout the trading day. The system ignores new order requests identified with UserRefNums lower than the last one processed, assuming they are retransmissions. 

Client however has an option to multiplex their order flow via the use of an optional tag UserRefIdx. When this tag is present the UserRefNum is then assumed to be linked to an “order flow channel” specified by the UserRefIdx and the above rules regarding the use of UserRefNum are applied only within this “order flow channel” instead of the port globally.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A UserRefNum is an unsigned numeric. For a given OUCH port, the UserRefNum is used as a transaction identifier, and must be both unique and strictly increasing throughout the trading day. The system ignores new order requests identified with UserRefNums lower than the last one processed, assuming they are retransmissions. 

Client however has an option to multiplex their order flow via the use of an optional tag UserRefIdx. When this tag is present the UserRefNum is then assumed to be linked to an “order flow channel” specified by the UserRefIdx and the above rules regarding the use of UserRefNum are applied only within this “order flow channel” instead of the port globally.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Timestamp">
            <fixr:mappedDatatype standard="JSON" base="string">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Char">
            <fixr:mappedDatatype standard="JSON" base="string">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Char fields may contain upper and lowercase characters.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Char fields may contain upper and lowercase characters.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
        <fixr:datatype name="Alphanumeric">
            <fixr:mappedDatatype standard="JSON" base="string">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">All letters and numbers are allowed, as well as spaces.</fixr:documentation>
                </fixr:annotation>
            </fixr:mappedDatatype>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">All letters and numbers are allowed, as well as spaces.</fixr:documentation>
            </fixr:annotation>
        </fixr:datatype>
    </fixr:datatypes>
    <fixr:codeSets>
        <fixr:codeSet type="Alpha" id="3" name="BBOWeightIndicatorCodeSet">
            <fixr:code value="0" sort="1" id="3001" name="GreaterThanZeroPercentAndLessThanPointTwoPercent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">0-0.2%</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="1" sort="2" id="3002" name="GreaterThanPointTwoPercentAndLessThanOnePercent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">0.2%-1%</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="2" sort="3" id="3003" name="GreaterThanOnePercentAndLessThanTwoPercent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">1%-2%</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="3" sort="4" id="3004" name="GreaterThanTwoPercent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Greater than 2%</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="space" sort="5" id="3005" name="Unspecified">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">**Presence = Optional**

Unspecified (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="6" id="3006" name="SetsQBBOWhileJoiningNBBO">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Sets the QBBO while joining the NBBO</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="7" id="3007" name="ImprovesNBBOOnEntry">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Improves the NBBO upon entry</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="4" name="BrokenTradeReasonCodeSet">
            <fixr:code value="E" sort="1" id="4201" name="Erroneous">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Trade deemed clearly erroneous.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="C" sort="2" id="4202" name="Consent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Both parties agreed to break the trade.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="3" id="4203" name="Supervisory">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Manually broken by supervisory.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="X" sort="4" id="4204" name="External">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Trade broken by an external third party.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicates the reason a trade was broken.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="5" name="CapacityCodeSet">
            <fixr:code value="A" sort="1" id="5001" name="Agency">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Agency</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="P" sort="2" id="5002" name="Principal">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Principal</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="3" id="5003" name="Riskless">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Riskless</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="O" sort="4" id="5004" name="Other">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Other</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The capacity specified on the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="7" name="CrossTypeCodeSet">
            <fixr:code value="N" sort="1" id="7001" name="ContinuousMarket">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Continuous market</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="O" sort="2" id="7002" name="OpeningCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Opening cross</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="C" sort="3" id="7003" name="ClosingCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Closing cross</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="H" sort="4" id="7004" name="HaltIPO">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Halt/IPO</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="5" id="7005" name="Supplemental">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Supplemental</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="6" id="7006" name="Retail">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">BX only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="7" id="7007" name="ExtendedLife">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Extended life</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="A" sort="8" id="7008" name="AfterHoursClose">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">After hours close</fixr:documentation>
                    <fixr:documentation purpose="ELABORATION" contentType="text/markdown">Nasdaq only</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The cross type specified on the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Char" id="8" name="CustomerTypeCodeSet">
            <fixr:code value="R" sort="1" id="7001" name="RetailDesignatedOrder">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail Designated Order</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="7002" name="NotRetailDesignated">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Not Retail Designated (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="12" name="DiscretionPriceTypeCodeSet">
            <fixr:code value="L" sort="1" id="12001" name="Limit">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Limit (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="P" sort="2" id="12002" name="MarketPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Market peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="M" sort="3" id="12003" name="MidpointPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Midpoint peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="4" id="12004" name="PrimaryPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Primary peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="13" name="DisplayCodeSet">
            <fixr:code value="Y" sort="1" id="13001" name="Visible">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Visible</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="13002" name="Hidden">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Hidden</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="A" sort="3" id="13003" name="Attributable">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Attributable</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Y" sort="4" id="13004" name="Anonymous">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Price to Comply</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Z" sort="5" id="13005" name="Conformant">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Conformant</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The accepted display type for the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="16" name="EventCodeCodeSet">
            <fixr:code value="S" sort="1" id="16001" name="StartOfDay">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicating that exchange is open and is ready to accept orders.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="2" id="16002" name="EndOfDay">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicating that the exchange is closed and will no longer accept new orders. Note that it is still possible to receive breaks and cancels after this event.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="21" name="HandleInstCodeSet">
            <fixr:code value="I" sort="1" id="21001" name="ImbalanceOnly">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Imbalance only (CrossType O and C)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="O" sort="2" id="21002" name="RetailOrderType1">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail order type 1 (CrossType R)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="T" sort="3" id="21003" name="RetailOrderType2">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail order type 2 (CrossType R)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Q" sort="4" id="21004" name="RetailPriceImprovement">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail price improvement (CrossType R)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="B" sort="5" id="21005" name="ExtendedLifePlusContinuous">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Extended Life + Continuous (CrossType E)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="D" sort="6" id="21006" name="DirectListingCapitalRaise">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Direct Listing Capital Raise (CrossType H)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="7" id="21007" name="HiddenPriceImprovementIndicator">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail Price Improvement, Hidden Price Improvement Indicator (CrossType R)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="22" name="InterMarketSweepEligibilityCodeSet">
            <fixr:code value="Y" sort="1" id="22001" name="Eligible">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Eligible</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="22002" name="NonEligible">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Not eligible</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="23" name="LiquidityFlagCodeSet">
            <fixr:code value="A" sort="1" id="23001" name="Added">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Added (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="C" sort="2" id="23002" name="ClosingCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Closing Cross (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="e" sort="3" id="23003" name="RetailExecutionDisplayed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail designated execution that added displayed liquidity (Nasdaq/BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="H" sort="4" id="23004" name="HaltIPOCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Halt/IPO Cross (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="i" sort="5" id="23005" name="AfterHoursClosingCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">After hours closing cross (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="J" sort="6" id="23006" name="NonDisplayed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Non-displayed adding liquidity (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="j" sort="7" id="23007" name="RetailPriceImproving">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">RPI (Retail Price Improving) order provides liquidity (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="k" sort="8" id="23008" name="MidpointOrder">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Added liquidity via a midpoint order (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="K" sort="9" id="23009" name="HaltCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Halt Cross  (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="L" sort="10" id="23010" name="ClosingCrossImbalanceOnly">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Closing Cross (imbalance-only) (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="M" sort="11" id="23011" name="OpeningCrossImbalanceOnly">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Opening Cross (imbalance-only) (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="m" sort="12" id="23012" name="RemovedAtMidpoint">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Removed liquidity at a midpoint (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="13" id="23013" name="PassiveMidpointExecution">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Passive midpoint execution (Nasdaq/BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="n" sort="14" id="23014" name="MidpointExtendedLife">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Midpoint Extended Life Order execution (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="O" sort="15" id="23015" name="OpeningCross">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Opening Cross  (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="p" sort="16" id="23016" name="RemovedPriceNonDisplayed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Removed price improving non-displayed liquidity (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="q" sort="17" id="23017" name="RemovedNonRetailPriceImprovingMidpoint">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">RMO Retail Order removes non-RPI midpoint liquidity (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="18" id="23018" name="Removed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Removed  (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="r" sort="19" id="23019" name="RemovedRetailPriceImproving">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail Order removes RPI liquidity (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="t" sort="20" id="23020" name="PriceImprovingNonDisplayedNonRetailPriceImproving">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail Order removes price improving non-displayed liquidity other than RPI liquidity (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="u" sort="21" id="23021" name="NonDisplayedReserve">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Added non-displayed liquidity via a Reserve order (All markets)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="0" sort="22" id="23022" name="Supplemental">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Supplemental order execution (Nasdaq only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="7" sort="23" id="23023" name="DisplayedImproveNBBO">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Displayed, liquidity-adding order improves the NBBO (Nasdaq/BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="8" sort="24" id="23024" name="DisplayedSetQBBOJoiningNBBO">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Displayed, liquidity-adding order sets the QBBO while joining the NBBO (Nasdaq/BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="1" sort="25" id="23025" name="NoRetailPriceImprovement">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">RPI order provides liquidity, No RPII (BX only)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="30" name="OrderCancelReasonCodeSet">
            <fixr:code value="D" sort="1" id="30001" name="RegulatoryRestriction">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This order cannot be executed because of a regulatory restriction (e.g.: trade through restrictions).</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="2" id="30002" name="Closed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Any DAY order that was received after the closing cross is complete in a given symbol will receive this cancel reason.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="F" sort="3" id="30003" name="PostOnlyCancelNMS">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This Post Only order was cancelled because it would have been price slid for NMS.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="G" sort="4" id="30004" name="PostOnlyCancelContraSide">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This Post Only order was cancelled because it would have been price slid due to a contra side displayed order on the book.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="H" sort="5" id="30005" name="Halted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The on-open order was canceled because the symbol remained halted after the opening cross completed.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="I" sort="6" id="30006" name="ImmediateOrCancel">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Immediate or Cancel Order.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="K" sort="7" id="30007" name="MarketCollars">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This order cannot be executed because of Market Collars.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Q" sort="8" id="30008" name="SelfMatchPrevention">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The order was cancelled because it would have executed with an existing order entered by the same MPID.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="9" id="30009" name="Supervisory">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The order was manually canceled or reduced by an NASDAQ supervisory terminal.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="T" sort="10" id="30010" name="TimeOut">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Time In Force for this order has expired.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="U" sort="11" id="30011" name="UserRequestedCancel">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Sent in response to a Cancel Request Message.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="X" sort="12" id="30012" name="OpenProtection">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Orders that are cancelled as a result of the Opening Price Protection Threshold.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Z" sort="13" id="30013" name="SystemCancel">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This order was cancelled by the system.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="e" sort="14" id="30014" name="CompanyDirectListingCapitalRaise">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Order exceeds allowable shares offered.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicates the reason an order was canceled.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Numeric" id="32" name="OrderRejectReasonCodeSet">
            <fixr:code value="1" sort="1" id="32001" name="QuoteUnavailable">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Quote Unavailable</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="2" sort="2" id="32002" name="DestinationClosed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Destination Closed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="3" sort="3" id="32003" name="InvalidDisplay">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Display</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="4" sort="4" id="32004" name="InvalidMaxFloor">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Max Floor</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="5" sort="5" id="32005" name="InvalidPegType">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Peg Type</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="6" sort="6" id="32006" name="FatFinger">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Fat Finger</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="7" sort="7" id="32007" name="Halted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Halted</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="8" sort="8" id="32008" name="ISONotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">ISO Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="9" sort="9" id="32009" name="InvalidSide">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Side</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="10" sort="10" id="32010" name="ProcessingError">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Processing Error</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="11" sort="11" id="32011" name="CancelPending">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Cancel Pending</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="12" sort="12" id="32012" name="FirmNotAuthorized">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Firm Not Authorized</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="13" sort="13" id="32013" name="InvalidMinQuantity">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Min Quantity</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="14" sort="14" id="32014" name="NoClosingReferencePrice">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">No Closing Reference Price</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="15" sort="15" id="32015" name="Other">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Other</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="16" sort="16" id="32016" name="CancelNotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Cancel Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="17" sort="17" id="32017" name="PeggingNotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Pegging Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="18" sort="18" id="32018" name="CrossedMarket">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Crossed Market</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="19" sort="19" id="32019" name="InvalidQuantity">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Quantity</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="20" sort="20" id="32020" name="InvalidCrossOrder">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Cross Order</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="21" sort="21" id="32021" name="ReplaceNotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Replace Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="22" sort="22" id="32022" name="RoutingNotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Routing Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="23" sort="22" id="32023" name="InvalidSymbol">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Symbol</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="24" sort="24" id="32024" name="Test">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Test</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="25" sort="25" id="32025" name="LateLOCTooAggressive">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Late LOC Too Aggressive</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="26" sort="26" id="32026" name="RetailNotAllowed">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Retail Not Allowed</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="27" sort="27" id="32027" name="InvalidMidpointPostOnlyPrice">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Midpoint Post Only Price</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="28" sort="28" id="32028" name="InvalidDestination">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Destination</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="29" sort="29" id="32029" name="InvalidPrice">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Invalid Price</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="30" sort="30" id="32030" name="SharesExceededThreshold">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shares Exceeded Threshold</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="31" sort="31" id="32031" name="ExceedsMaximumAllowedNotionalValue">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Exceeds Maximum Allowed Notional Value</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="32" sort="32" id="32032" name="RiskAggregateExposureExceeded">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Aggregate Exposure Exceeded</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="33" sort="33" id="32033" name="RiskMarketImpact">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Market Impact</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="34" sort="34" id="32034" name="RiskRestrictedStock">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Restricted Stock</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="35" sort="35" id="32035" name="RiskShortSellRestricted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Short Sell Restricted</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="36" sort="36" id="32036" name="RiskOrderTypeRestricted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Order Type Restricted</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="37" sort="37" id="32037" name="RiskExceedsADVLimit">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Exceeds ADV Limit</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="38" sort="38" id="32038" name="RiskFatFinger">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Fat Finger</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="39" sort="39" id="32039" name="RiskLocateRequired">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Locate Required</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="40" sort="40" id="32040" name="RiskSymbolMessageRateRestriction">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Symbol Message Rate Restriction</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="41" sort="41" id="32041" name="RiskPortMessageRateRestriction">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Port Message Rate Restriction</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="42" sort="42" id="32042" name="RiskDuplicateMessageRateRestriction">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Risk Duplicate Message Rate Restriction</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicates the reason an order was rejected.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="33" name="OrderRestateReasonCodeSet">
            <fixr:code value="R" sort="1" id="33101" name="Refresh">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Refresh of display (on an order with reserves).</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="P" sort="2" id="33102" name="Price">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Update of displayed price.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicates the reason an order was restated.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="34" name="OrderStateCodeSet">
            <fixr:code value="L" sort="1" id="34001" name="OrderLive">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Order live</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="D" sort="2" id="34002" name="OrderDead">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Order dead</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="37" name="PostOnlyCodeSet">
            <fixr:code value="P" sort="1" id="37001" name="PostOnly">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Post Only (Mid-point Post Only not available on BX)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="37002" name="No">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">No (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Char" id="39" name="PriceTypeCodeSet">
            <fixr:code value="L" sort="1" id="39001" name="Limit">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Limit (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="P" sort="2" id="39002" name="MarketPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Market peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="M" sort="3" id="39003" name="MidpointPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Midpoint peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="4" id="39004" name="PrimaryPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Primary peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Q" sort="5" id="39005" name="MarketMakerPeg">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Market maker peg</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="m" sort="6" id="39006" name="Midpoint">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Midpoint</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="45" name="SharesLocatedCodeSet">
            <fixr:code value="Y" sort="1" id="45001" name="SharesLocated">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shares are located for short sell order</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="45002" name="SharesNotLocated">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shared are not located for short sell order</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">For short sell orders, indicates whether shares are located.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="46" name="SideCodeSet">
            <fixr:code value="B" sort="1" id="46001" name="Buy">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Buy</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="2" id="46002" name="Sell">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Sell</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="T" sort="3" id="46003" name="SellShort">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Sell short</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="4" id="46004" name="SellShortExempt">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Sell short exempt</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="48" name="TimeInForceCodeSet">
            <fixr:code value="0" sort="1" id="48001" name="Day">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Day (Market Hours)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="3" sort="2" id="48002" name="IOC">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">IOC</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="5" sort="3" id="48003" name="GTX">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">GTX (Extended Hours)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="6" sort="4" id="48004" name="GTT">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">GTT (Expire time needs to be specified)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="5" id="48005" name="AfterHours">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">After hours</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Corresponds to TimeInForce (59) in Nasdaq FIX.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="50" name="TradeNowCodeSet">
            <fixr:code value="Y" sort="1" id="50001" name="Yes">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Yes</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="N" sort="2" id="50002" name="No">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">No (default)</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
        </fixr:codeSet>
        <fixr:codeSet type="Alpha" id="51" name="TypeCodeSet">
            <fixr:code value="O" sort="1" group="Inbound Messages" id="51001" name="EnterOrder"/>
            <fixr:code value="U" sort="2" group="Inbound Messages" id="51002" name="ReplaceOrderRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Replace Order Message allows you to alter most of the attributes of an order in a single message. This is more efficient than canceling an existing order and immediately succeeding it with a new order. Replacing an order always gives it a new timestamp for its time priority on the book. If you wish you simply partially cancel an order and retain its time priority, send a Cancel Order Message instead.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="X" sort="3" group="Inbound Messages" id="51003" name="CancelOrderRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Cancel Order Message is used to request that an order be canceled or reduced. In the Cancel Order Message, you must specify the new "intended order size" for the order. The "intended order size" is the maximum number of shares that can be executed in total after the cancel is applied.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="M" sort="4" group="Inbound Messages" id="51004" name="ModifyOrderRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Modify Order Message is used to request modifications that will not affect order priority on the book. Since priority of the order does not change (exception noted), allowed modifications are restricted to only the ones specified in the message details below. Increasing share amount is not allowed and requests to do so will be ignored.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="C" sort="5" group="Inbound Messages" id="51005" name="MassCancelRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Mass Cancel Request message allows firms to initiate the cancellation of one or more orders that are currently booked at the exchange if they match the criteria specified in the request. If no optional criteria are specified then all orders for the specified firm on the account will be cancelled. Optional criteria can be specified in the Appendage field using the tags described below.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="D" sort="6" group="Inbound Messages" id="51006" name="DisableOrderEntryRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Disable Order Entry Request allows firms the ability to initiate the following requests to block submissions of new orders on a particular account.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="E" sort="7" group="Inbound Messages" id="51007" name="EnableOrderEntryRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Enable Order Entry Request allows firms the ability to initiate the following requests to unblock submission of new orders on a particular account.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Q" sort="8" group="Inbound Messages" id="51008" name="AccountQueryRequest">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Account Query Request message can be used when recovering state to request the next available UserRefNum that can be used for identifying new transactions.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="S" sort="9" group="Outbound Messages" id="51009" name="SystemEvent">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">System Event Messages signal events that affect the entire NASDAQ system.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="A" sort="10" group="Outbound Messages" id="51010" name="OrderAccepted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt and acceptance of a valid Enter Order Message. The data fields from the Enter Order Message are echoed back in this message. Note that the accepted values may differ from the entered values for some fields.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="U" sort="11" group="Outbound Messages" id="51011" name="OrderReplaced">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt and acceptance of a valid Replace Order Message. The data fields from the Replace Order Message are echoed back in this message. Note that the accepted values may differ from the entered values for some fields. You will receive one and only one of these two for each replacement.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="C" sort="12" group="Outbound Messages" id="51012" name="OrderCanceled">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Canceled Message informs you that an order has been reduced or canceled. This could be acknowledging a Cancel Order Message, or it could be the result of the order timing out or being canceled automatically.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="D" sort="13" group="Outbound Messages" id="51013" name="AIQCanceled"/>
            <fixr:code value="E" sort="14" group="Outbound Messages" id="51014" name="OrderExecuted">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An Executed Order Message informs you that all or part of an order has been executed.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="B" sort="15" group="Outbound Messages" id="51015" name="BrokenTrade">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Broken Trade Message informs you that an execution has been broken. The trade is no longer good and will not clear. The reason for the break is given.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="J" sort="16" group="Outbound Messages" id="51016" name="RejectedOrder">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Rejected Message may be sent in response to an Enter Order Message or Replace Order Message if the order or replace cannot be accepted at this time. The reason for the rejection is given.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="P" sort="17" group="Outbound Messages" id="51017" name="CancelPending">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Cancel Pending Message is sent in response to a cancel request for a cross order during a pre-cross late period signifying that it cannot be canceled at this time, but any unexecuted portion of this order will automatically be canceled immediately after the cross completes.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="I" sort="18" group="Outbound Messages" id="51018" name="CancelReject">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Cancel Reject Message is sent in response to a partial cancel request (with non-zero “intended order size”) for a cross order during a pre-cross late period signifying that it cannot be partially canceled at this time. No automatic cancel will be scheduled for this order. Clients could repeat their request for any unexecuted portion of the order after the cross completes.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="T" sort="19" group="Outbound Messages" id="51019" name="OrderPriorityUpdate">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Priority Update Message is sent whenever priority of the order has been changed by the system.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="M" sort="20" group="Outbound Messages" id="51020" name="OrderModified">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An Order Modified Message is sent in response to an order modify request.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="R" sort="21" group="Outbound Messages" id="51021" name="OrderRestated">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Order Restated Message is sent to indicate that the system has modified an order as part of its order management.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="X" sort="22" group="Outbound Messages" id="51022" name="MassCancelResponse">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of a valid Mass Cancel Request message. The data fields from the Mass Cancel Request message are echoed back in this message.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="G" sort="23" group="Outbound Messages" id="51023" name="DisableOrderEntryResponse">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of the Disable Order Entry Request message. The data fields from the Enter Order Message are echoed back in this message.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="K" sort="24" group="Outbound Messages" id="51024" name="EnableOrderEntryResponse">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of the Enable Order Entry Request message. The data fields from the Enable Order Entry Request message are echoed back in this message.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:code value="Q" sort="25" group="Outbound Messages" id="51025" name="AccountQueryResponse">
                <fixr:annotation>
                    <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Account Query Response message in sent in response to an Account Query Request to indicate the next available UserRefNum that can be used to identify new transactions.</fixr:documentation>
                </fixr:annotation>
            </fixr:code>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Identifies the message type.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Inbound Messages**

Inbound messages are sent from the participant's application to the OUCH host. They are not sequenced. All Inbound Messages may be repeated benignly. This gives the client the ability to re-send any Inbound message if it is uncertain whether NASDAQ received it in the case of a connection loss or an application error.

The idea of benign inbound message retransmission with end-to-end acknowledgement is fundamental to NASDAQ's fail-over redundancy. If your connection ever fails, there is no way for you to know if pending messages actually made it over the link before the failure. A robust OUCH client can safely re- send any pending messages over a mirrored link without worrying about generating duplicates. This applies to NASDAQ's disaster fail over capability as well; if NASDAQ ever needs to fail over to the backup site, some messages sent at the moment of the failure may be lost. A robust application can simply re- send the pending messages, making the fail over seamless to the end user.

All inbound messages on an OUCH port are processed sequentially. This guarantees that if two orders are entered consecutively on the same connection, the first order entered will always be accepted first.

**Outbound Messages**

Outbound messages are generated by the OUCH host port and received by your client application.</fixr:documentation>
            </fixr:annotation>
        </fixr:codeSet>
    </fixr:codeSets>
    <fixr:fields>
        <fixr:field type="Alpha" id="1" name="AIQStrategy">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">AIQ strategy used on the cancelled order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="2" name="AppendageLength">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="BBOWeightIndicatorCodeSet" id="3" name="BBOWeightIndicator">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">0 = 0-0.2%

1 = 0.2%-1%

2 = 1%-2%

3 = greater than 2%

space = unspecified (default)

S = Sets the QBBO while joining the NBBO

N = Improves the NBBO upon entry</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="BrokenTradeReasonCodeSet" id="4" name="BrokenTradeReason">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Reason a trade was broken.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="CapacityCodeSet" id="5" name="Capacity">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The capacity specified on the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Alpha" id="6" name="ClOrdID">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Customer order identifier. ClOrdID will not be checked for day-uniqueness for each OUCH account.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="CrossTypeCodeSet" id="7" name="CrossType">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The cross type as entered.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="CustomerTypeCodeSet" id="8" name="CustomerType">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">R = Retail Designated Order

N = Not Retail Designated (default)</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Space, use port default</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="9" name="DecrementShares">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The number of shares just decremented from the order. This number is incremental, not cumulative.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="SignedPrice" id="10" name="DiscretionPegOffset">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Offset amount for the pegged value of the Discretionary Price.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no offset</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Price" id="11" name="DiscretionPrice">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Discretion price for Discretionary Order.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no discretion price</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="DiscretionPriceTypeCodeSet" id="12" name="DiscretionPriceType">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">L = limit (default)

P = market peg

M = midpoint peg

R = primary peg</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

‘L’, limit</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="DisplayCodeSet" id="13" name="Display">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The accepted display type for the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Price" id="14" name="DisplayPrice">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Used in the Order Restated Message only. Represents an update of an order’s displayed price.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="15" name="DisplayQuantity">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Used in the Order Restated Message only. Represents an update of an order’s displayed quantity (i.e. an order with reserves).</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="EventCodeCodeSet" id="16" name="EventCode">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Indicates if the exchange is open and ready to accept orders.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Price" id="17" name="ExecutionPrice">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Price at which the trade occurred.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="18" name="ExpireTime">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Seconds to live. Must be less than 86400 (number of seconds in a day).</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no expire time</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Alpha" id="19" name="Firm">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration. If this field is blank-filled, the default firm for the OUCH account will be used.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Blank-filled (spaces), use the default firm</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="20" name="GroupID">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Customer Group ID – identifies specific entity within customer firm.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no Group ID</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="HandleInstCodeSet" id="21" name="HandleInst">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">I = imbalance only (CrossType O and C)

O = retail order type 1 (CrossType R)

T = retail order type 2 (CrossType R)

Q = retail price improvement (CrossType R)

B = Extended Life + Continuous (CrossType E)

D = Direct Listing Capital Raise (CrossType H)

R = Retail Price Improvement, Hidden Price Improvement Indicator (CrossType R)</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Space, no handling instructions</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="InterMarketSweepEligibilityCodeSet" id="22" name="InterMarketSweepEligibility"/>
        <fixr:field type="LiquidityFlagCodeSet" id="23" name="LiquidityFlag">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Liquidity flag the order would have received.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Alpha" id="24" name="LocateBroker">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Broker code from which the locate has been acquired for short sale orders.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="25" name="MatchNumber">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Assigned by the exchange to identify the trade. Both the buy and the sell executions participating in the trade will share the same match number.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="26" name="MaxFloor">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Represents the portion of your order that you wish to have displayed.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no Max Floor</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="27" name="MinQty">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">MinQty must be a round lot.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no minimum quantity</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="UserRefNum" id="28" name="NextUserRefNum">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The next available UserRefNum</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="TagValue" id="29" name="OptionalAppendage">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The available options supported.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="OrderCancelReasonCodeSet" id="30" name="OrderCancelReason">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Reason the order was canceled.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="31" name="OrderReferenceNumber">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The day-unique Order Reference Number assigned by NASDAQ to this order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="OrderRejectReasonCodeSet" id="32" name="OrderRejectReason">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Reason the order was rejected.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="OrderRestateReasonCodeSet" id="33" name="OrderRestateReason">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Reason the order was reduced.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="OrderStateCodeSet" id="34" name="OrderState">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Used to denote that an order entry or replace was accepted and then automatically canceled and that no further messages will be received for that order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="UserRefNum" id="35" name="OrigUserRefNum">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This must be filled out with the Order UserRefNum sent on the Enter Order Message or last Replace Order Message.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="SignedPrice" id="36" name="PegOffset">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Offset amount for the pegged value.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no peg offset</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="PostOnlyCodeSet" id="37" name="PostOnly">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">P = Post Only (Mid-point Post Only not available on BX)

N = No (default)</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

‘N’, no post only</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Price" id="38" name="Price">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The price of the order.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="PriceTypeCodeSet" id="39" name="PriceType">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">L = limit (default)

P = market peg

M = midpoint peg

R = primary peg

Q = market maker peg

m = midpoint</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

‘L’, limit</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="40" name="Quantity">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Total number of shares. Must be greater than zero and less than 1,000,000.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="41" name="QuantityPreventedFromTrading">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shares that would have executed if the trade would have occurred.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Integer" id="42" name="RandomReserves">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shares to do random reserve with.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

0 (zero), no random reserves</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Alpha" id="43" name="Route">
            <fixr:annotation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="44" name="SecondaryOrdRefNum">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An alternative order reference number used when publishing the order on the Nasdaq market data feeds (identifying, for example, the displayed portion of a reserve order).</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="SharesLocatedCodeSet" id="45" name="SharesLocated">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Shares located for short sale order.

Y = yes

N = no (default)</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

‘N’, no</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="SideCodeSet" id="46" name="Side">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">B = buy

S = sell

T = sell short

E = sell short exempt</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Alpha" id="47" name="Symbol">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Stock Symbol.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="TimeInForceCodeSet" id="48" name="TimeInForce">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Corresponds to TimeInForce (59) in Nasdaq FIX.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Timestamp" id="49" name="Timestamp">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="TradeNowCodeSet" id="50" name="TradeNow">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Y = yes

N = no (default)</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Space, use port default</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="TypeCodeSet" id="51" name="Type">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">Identifies the message type.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="Numeric" id="52" name="UserRefIdx">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">User Reference Index - identifies the channel within the given port.</fixr:documentation>
                <fixr:documentation purpose="ELABORATION" contentType="text/markdown">**Default**

Not applicable</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
        <fixr:field type="UserRefNum" id="53" name="UserRefNum">
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">UserRefNum must be day-unique and strictly increasing for each OUCH account.</fixr:documentation>
            </fixr:annotation>
        </fixr:field>
    </fixr:fields>
    <fixr:actors>
        <fixr:actor name="Broker"/>
        <fixr:actor name="Nasdaq"/>
        <fixr:flow name="Submission" source="Broker" destination="Nasdaq"/>
    </fixr:actors>
    <fixr:components/>
    <fixr:groups/>
    <fixr:messages>
        <fixr:message msgType="O" category="SingleGeneralOrderHandling" flow="Submission" id="1" name="EnterOrder">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="O" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as Enter Order Message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">UserRefNum must be day-unique and strictly increasing for each OUCH account.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="46">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">B = buy

S = sell

T = sell short

E = sell short exempt</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Total number of shares. Must be greater than zero and less than 1,000,000.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="47">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Stock Symbol.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The price of the order. Please refer to the Data Types section for more clarification.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="48">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Corresponds to TimeInForce (59) in Nasdaq FIX.

0 = Day (Market Hours)

3 = IOC

5 = GTX (Extended Hours)

6 = GTT (ExpireTime needs to be specified)

E = After hours</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="13">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = visible

N = hidden

A = attributable</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="5">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">A = agency

P = principal

R = riskless

O = other</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="22">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">10</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = eligible

N = not eligible</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="7">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">11</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">N = continuous market

O = opening cross (Nasdaq only)

C = closing cross (Nasdaq only)

H = halt/IPO (Nasdaq only)

S = supplemental (Nasdaq only)

R = retail (BX only)

E = extended life (Nasdaq only)

A = after hours close (Nasdaq only)</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">12</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier. ClOrdID will not be checked for day-uniqueness for each OUCH account.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">13</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">14</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

Firm

MinQty

CustomerType

MaxFloor

PriceType

PegOffset

Discretion

DiscretionPrice

DiscretionPriceType

DiscretionPegOffset

PostOnly

RandomReserves

Route

ExpireTime

TradeNow

HandleInst

GroupID

SharesLocated

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
        </fixr:message>
        <fixr:message msgType="U" category="SingleGeneralOrderHandling" flow="Submission" id="2" name="ReplaceOrderRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="U" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as Replace.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="35">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This must be filled out with the Order UserRefNum sent on the Enter Order Message or last Replace Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The replacement Order UserRefNum must be unique and strictly increasing for each OUCH account.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Total number of shares liable, inclusive of previous executions and Self Match Prevention decremented shares on this order chain. Must be greater than zero and less than 1,000,000.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The price of the replacement order. Please refer to the section in Data Types for more clarification.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="48">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Corresponds to TimeInForce (59) in Nasdaq FIX.

0 = Day (Market Hours)

3 = IOC

5 = GTX (Extended Hours)

6 = GTT (ExpireTime needs to be specified)</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="13">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = visible

N = hidden

A = attributable</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="22">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = eligible

N = not eligible</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier for replacement order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">10</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">11</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

MinQty

MaxFloor

PriceType

PostOnly

ExpireTime

TradeNow

HandleInst

RandomReserves

PegOffset

DiscretionPrice

DiscretionPriceType

DiscretionOffset

CustomerType

GroupID

SharesLocated

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Replace Order Message allows you to alter most of the attributes of an order in a single message. This is more efficient than canceling an existing order and immediately succeeding it with a new order. Replacing an order always gives it a new timestamp for its time priority on the book. If you wish you simply partially cancel an order and retain its time priority, send a Cancel Order Message instead.

There are two Order UserRefNums in the Replace Order Message. The first must be filled out with the Order UserRefNum of the existing order; the second must be a new Order UserRefNum for the replacement. The replacement Order UserRefNum must be unique in the same way as Order UserRefNums are in the Enter Order Message, and replacement Order UserRefNums may not be the same as the UserRefNum sent in Enter Order Messages. Any replacement Order UserRefNum that has already been used in another Enter Order Message or Replace Order Message will be ignored.

NASDAQ may respond to the Replace Order Message in several ways:

1. If the order for the existing Order UserRefNum is no longer live or if the replacement Order UserRefNum was already used, the replacement will be silently ignored. The replacement Order UserRefNum will not be consumed and may be reused in this case.
2. If the order for the existing Order UserRefNum is live but the details of the replace are invalid (e.g.: new Shares &gt;= 1,000,000), a Cancel Order Message will take the existing order out of the book. The replacement Order UserRefNum will not be consumed, and may be reused in this case.
3. If the order for the existing Order UserRefNum is live but the existing order cannot be canceled (e.g. the existing Order is a cross order in the late period), there will be an Order Reject Message. This reject message denotes that no change has occurred to the existing order; the existing order remains fully intact with its original instructions. The Order Reject Message consumes the replacement Order UserRefNum, so the replacement Order UserRefNum may not be reused.
4. If the order for the existing Order UserRefNum is live and can be replaced, you will receive either a Replaced Message or an Atomically Replaced and Canceled Message.

Replace Order Messages may be chained together, so that a single order is replaced over and over again. There is no limit to the number of replaces; however no single order/replace chain may execute more than 999,999 shares cumulatively.

The Shares on the replace denote the total number of shares liable for the whole chain. Here is an example: 

* Enter Order Message for 500 shares
* Accepted Message for 500 shares
* Executed Message for 100 shares

At this point, you decide to replace the order. If you want to be exposed for

* the remaining 400 shares, send the Replace Order Message with 500 Shares. This 500 equals the 400 exposed plus the 100 previously executed.
* a new 500 shares, send the Replace Order Message with 600 Shares. This 600 equals the 500 new shares plus the 100 previously executed.

This may seem a bit confusing at first, but it inhibits the risk of double-liability throughout the order/replace chain.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="X" category="SingleGeneralOrderHandling" flow="Submission" id="3" name="CancelOrderRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="X" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Cancel Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The Order UserRefNum as was originally transmitted in an Enter Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This is the new intended order size. This limits the maximum number of shares that can potentially be executed in total after the cancel is applied. Entering a zero here will cancel any remaining open shares on this order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Cancel Order Message is used to request that an order be canceled or reduced. In the Cancel Order Message, you must specify the new "intended order size" for the order. The "intended order size" is the maximum number of shares that can be executed in total after the cancel is applied.

To cancel the entire balance of an order, you would enter a Cancel Order Message with a Shares field of zero.

Note that the only acknowledgement to a Cancel Order Message is the resulting Canceled Order Message. There is no “too late to cancel” message since by the time you received it, you would already have gotten the execution. Superfluous Cancel Order Messages are silently ignored.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="M" category="SingleGeneralOrderHandling" flow="Submission" id="4" name="ModifyOrderRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="M" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Modify Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The Order UserRefNum as was originally transmitted in an Enter Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="46">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The new side to be associated with the order.

B = buy

S = sell

T = sell short

E = sell short exempt

Only the following modifications are allowed: 

S &lt;-&gt; E

S &lt;-&gt; T

E &lt;-&gt; T</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This is the new intended order size. This limits the maximum number of shares that can potentially be executed in total after the cancel is applied. Entering a zero here will cancel any remaining open shares on this order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Modify Order Message is used to request modifications that will not affect order priority on the book. Since priority of the order does not change (exception noted), allowed modifications are restricted to only the ones specified in the message details below. Increasing share amount is not allowed and requests to do so will be ignored.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="C" category="OrderMassHandling" flow="Submission" id="5" name="MassCancelRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="C" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Mass Cancel Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">User Reference Numbers must be day-unique and strictly increasing for each Order Port.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="47">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">**Presence = Optional**Optional, Space filled if not specified

 Symbol to mass cancel orders on.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Length of entire optional appendage. Zero (0) if no appendage follows.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

Side

GroupID

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Mass Cancel Request message allows firms to initiate the cancellation of one or more orders that are currently booked at the exchange if they match the criteria specified in the request. If no optional criteria are specified then all orders for the specified firm on the account will be cancelled. Optional criteria can be specified in the Appendage field using the tags described below.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="D" category="SingleGeneralOrderHandling" flow="Submission" id="6" name="DisableOrderEntryRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="D" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Disable Order Entry Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">User Reference Numbers must be day-unique and strictly increasing for each Order Port.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Disable Order Entry Request allows firms the ability to initiate the following requests to block submissions of new orders on a particular account.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="E" category="SingleGeneralOrderHandling" flow="Submission" id="7" name="EnableOrderEntryRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="E" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Enable Order Entry Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">User Reference Numbers must be day-unique and strictly increasing for each Order Port.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Enable Order Entry Request allows firms the ability to initiate the following requests to unblock submission of new orders on a particular account.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="Q" category="AccountReporting" flow="Submission" id="8" name="AccountQueryRequest">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="Q" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Account Query Request Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Account Query Request message can be used when recovering state to request the next available UserRefNum that can be used for identifying new transactions.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="S" category="SingleGeneralOrderHandling" flow="Submission" id="9" name="SystemEvent">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="S" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">System Event Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="16">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">**S = Start Of Day**, indicating that exchange is open and is ready to accept orders.

**E = End Of Day**, indicating that the exchange is closed and will no longer accept new orders. Note that it is still possible to receive breaks and cancels after this event.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">System Event Messages signal events that affect the entire NASDAQ system.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="A" category="SingleGeneralOrderHandling" flow="Submission" id="10" name="OrderAccepted">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="A" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Accepted Message Identifier.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The order UserRefNum as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="46">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The side as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Total number of shares accepted.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="47">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Stock symbol as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The accepted price of the order. Please note that the accepted price could potentially be different than the entered price if the order was re-priced by the exchange on entry. The accepted price will always be better than or equal to the entered price.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="48">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The accepted Time in Force of the order. Please note that the accepted Time in Force may potentially be different than the entered Time in Force. The accepted Time in Force will always be equal to or shorter in scope than the entered Time in Force.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="13">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = visible

N = hidden

A = attributable

Z = conformant</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="31">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">10</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The day-unique Order Reference Number assigned by NASDAQ to this order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="5">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">11</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The capacity specified on the order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="22">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">12</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = eligible

N = not eligible</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="7">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">13</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The cross type as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="34">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">14</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">L = Order Live

D = Order Dead</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">15</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">16</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">17</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

Firm

MinQty

CustomerType

MaxFloor

PriceType

PegOffset

Discretion

DiscretionPrice

DiscretionPegType

DiscretionPegOffset

PostOnly

RandomReserves

Route

ExpireTime

TradeNow

HandleInst

BBOWeightIndicator

GroupID

SharesLocated

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt and acceptance of a valid Enter Order Message. The data fields from the Enter Order Message are echoed back in this message. Note that the accepted values may differ from the entered values for some fields.

Accepted Messages normally come before any Executed Messages or Canceled Messages for an order. However, when the Order State field of an Accepted Message is Order Dead (“D”), no additional messages will be received for that order, as Order Dead means that the order was accepted and automatically canceled.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="U" category="SingleGeneralOrderHandling" flow="Submission" id="11" name="OrderReplaced">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="U" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Replaced Message Identifier.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="35">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being replaced.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the replacement order, as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="46">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The side indicator as entered on the original order in the chain.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Total number of shares outstanding.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="47">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Stock symbol as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The accepted price of the replacement. Please note that the accepted price could potentially be different than the entered price if the order was re-priced by NASDAQ on entry. The accepted price will always be better than or equal to the entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="48">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The accepted Time in Force of the replacement. Please note that the accepted Time in Force may potentially be different than the entered Time in Force. The accepted Time in Force will always be equal to or shorter in scope than the entered Time in Force.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="13">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The accepted display type for the order.

Y = visible

N = hidden

A = attributable

Z = conformant</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="31">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">10</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The day-unique Order Reference Number assigned by NASDAQ to this order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="5">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">11</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The capacity specified on the order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="22">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">12</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Y = eligible

N = not eligible</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="7">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">13</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The cross type as entered.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="34">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">14</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">L = Order Live

D = Order Dead</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">15</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier for replacement order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">16</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">17</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

Firm

MinQty

MaxFloor

PriceType

PostOnly

ExpireTime

TradeNow

HandleInst

BBOWeightIndicator

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt and acceptance of a valid Replace Order Message. The data fields from the Replace Order Message are echoed back in this message. Note that the accepted values may differ from the entered values for some fields. You will receive one and only one of these two for each replacement.

Like Accepted Messages, Replaced Messages use the Order State field to denote that a replace was accepted and then automatically canceled when the Order State is Order Dead (“D”). No further Executed Messages nor Canceled Messages will be received for the replaced order unless the Order State is not Order Dead.

The Shares field on the replace indicates how many shares were left exposed when the replacement completed. E.g.: 

* Enter Order Message for 500 shares
* Accepted Message for 500 shares
* Executed Messages for 100 shares
* Replace Order Message for 500 shares
* Replaced Messages with 400 shares

The 400 shares in the Replace Message indicate that 400 shares exist on the book. This same scenario could happen if the execution was in flight back to you while the Replace Order Message was traveling to NASDAQ as follows:

* Enter Order Message for 500 shares
* Accepted Message for 500 shares
* Replace Order Message for 500 shares
* Executed Messages for 100 shares on original order 
* Replaced Messages with 400 shares</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="C" category="SingleGeneralOrderHandling" flow="Submission" id="12" name="OrderCanceled">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="C" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Canceled Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being (partially) canceled.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The number of shares being decremented from the order. This number is incremental, not cumulative.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="30">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Reason the order was reduced or canceled.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Canceled Message informs you that an order has been reduced or canceled. This could be acknowledging a Cancel Order Message, or it could be the result of the order timing out or being canceled automatically.

Please note that a Canceled Message does not necessarily mean the entire order is dead; some portion of the order may still be alive.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="D" category="SingleGeneralOrderHandling" flow="Submission" id="13" name="AIQCanceled">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="D" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Canceled Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being reduced.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="9">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The number of shares just decremented from the order. This number is incremental, not cumulative.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="constant" value="Q" id="30">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Reason the order was reduced or canceled. For an AIQ Cancel message, this value will always be “Q”.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="41">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Shares that would have executed if the trade would have occurred.

Depending on AIQ type and the sizes of orders in question the value for this field could either be the same or different than the Decrement Shares field.

For “Decrement both” they are always the same. For “Cancel oldest” they will be different if the incoming order is smaller than the resting order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="17">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Price at which the trade would have occurred.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="23">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Liquidity flag the order would have received.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="1">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">AIQ strategy used on the cancelled order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">10</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">11</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
        </fixr:message>
        <fixr:message msgType="E" category="SingleGeneralOrderHandling" flow="Submission" id="14" name="OrderExecuted">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="E" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Order Executed Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being executed.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The incremental number of shares just executed.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The price at which the shares were executed.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="23">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Liquidity flag the order would have received.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="25">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Assigned by the exchange to identify the trade. Both the buy and the sell executions participating in the trade will share the same match number.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">9</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">**Field is missing from the PDF spec**

The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An Executed Order Message informs you that all or part of an order has been executed.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="B" category="SingleGeneralOrderHandling" flow="Submission" id="15" name="BrokenTrade">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="B" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Broken Trade Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order whose execution corresponding to given Match Number is being broken.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="25">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Match Number as transmitted in the Executed Order Message being broken.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="4">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The reason the trade was broken. The values currently supported are:

E = Erroneous (trade deemed clearly erroneous)

C = Consent (both parties agreed to break the trade)

S = Supervisory (manually broken by supervisory)

X = External (trade broken by an external third party)</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Broken Trade Message informs you that an execution has been broken. The trade is no longer good and will not clear. The reason for the break is given.

You will always get an Executed Order Message prior to getting a Broken Trade Message for a given execution.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="J" category="SingleGeneralOrderHandling" flow="Submission" id="16" name="Rejected">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="J" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Rejected Order Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being rejected.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="32">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The reason the order was rejected.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="6">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Customer order identifier for order being rejected.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Rejected Message may be sent in response to an Enter Order Message or Replace Order Message if the order or replace cannot be accepted at this time. The reason for the rejection is given.

The Order UserRefNum of a Rejected Message cannot be re-used.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="P" category="SingleGeneralOrderHandling" flow="Submission" id="17" name="CancelPending">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="P" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Cancel Pending Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order suffering the pending cancel.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Cancel Pending Message is sent in response to a cancel request for a cross order during a pre-cross late period signifying that it cannot be canceled at this time, but any unexecuted portion of this order will automatically be canceled immediately after the cross completes.

This message will only be sent once for a given UserRefNum. Duplicate cancel requests for the same UserRefNum will be ignored by OUCH.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="I" category="SingleGeneralOrderHandling" flow="Submission" id="18" name="CancelReject">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="I" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Cancel Reject Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order that was cancel-rejected.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Cancel Reject Message is sent in response to a partial cancel request (with non-zero “intended order size”) for a cross order during a pre-cross late period signifying that it cannot be partially canceled at this time. No automatic cancel will be scheduled for this order. Clients could repeat their request for any unexecuted portion of the order after the cross completes.

This message will only be sent once for a given UserRefNum. Duplicate cancel requests for the same UserRefNum will be ignored by OUCH.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="T" category="SingleGeneralOrderHandling" flow="Submission" id="19" name="OrderPriorityUpdate">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="T" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Order Priority Update Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order whose priority was updated.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="38">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The limit price of the order.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="13">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The new display for the order.

Y = Anonymous - Price to Comply</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="31">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The day-unique Order Reference Number assigned by NASDAQ to this order. As a result of the updated priority, a new order reference number will be assigned.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">8</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">A Priority Update Message is sent whenever priority of the order has been changed by the system.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="M" category="SingleGeneralOrderHandling" flow="Submission" id="20" name="OrderModified">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="M" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Order Modified Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order that was modified.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="46">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The side as entered in the Order Modify Request.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="40">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Total number of shares outstanding.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">An Order Modified Message is sent in response to an order modify request.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="R" category="SingleGeneralOrderHandling" flow="Submission" id="21" name="OrderRestated">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="R" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Order Restated Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum of the order being restated.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="33">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The reason for this order being restated.

R = Refresh of display (on an order with reserves)

P = Update of displayed price</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

DisplayQuantity

DisplayPrice

SecondaryOrdRefNum

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Order Restated Message is sent to indicate that the system has modified an order as part of its order management.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="X" category="OrderMassHandling" flow="Submission" id="22" name="MassCancelResponse">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="X" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Mass Cancel Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum from the inbound message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="47">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">**Presence = Optional**Optional, Space filled if not specified.

Symbol to mass cancel orders on.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Length of entire optional appendage. Zero (0) if no appendage follows.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

Side

GroupID

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of a valid Mass Cancel Request message. The data fields from the Mass Cancel Request message are echoed back in this message.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="G" category="SingleGeneralOrderHandling" flow="Submission" id="23" name="DisableOrderEntryResponse">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="G" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Disable Order Entry Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum from the inbound message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of the Disable Order Entry Request message. The data fields from the Enter Order Message are echoed back in this message.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="K" category="SingleGeneralOrderHandling" flow="Submission" id="24" name="EnableOrderEntryResponse">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="K" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Identifies this message as a Disable Order Entry Request message type.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="53">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The UserRefNum from the inbound message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="19">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">This field should contain all caps. Firm identifier for the order entry firm. One logical OUCH account can potentially enter orders for multiple firms in a Service Bureau configuration.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">6</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">7</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">This message acknowledges the receipt of the Enable Order Entry Request message. The data fields from the Enable Order Entry Request message are echoed back in this message.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
        <fixr:message msgType="Q" category="AccountReporting" flow="Submission" id="25" name="AccountQueryResponse">
            <fixr:structure>
                <fixr:fieldRef presence="constant" value="Q" id="51">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">1</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Account Query Response Message.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="49">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">2</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">Expressed as nanoseconds since midnight.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="28">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">3</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The next available UserRefNum.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="2">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">4</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The length of the remaining Optional Appendage field.</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
                <fixr:fieldRef presence="required" id="29">
                    <fixr:annotation>
                        <fixr:appinfo purpose="sort">5</fixr:appinfo>
                        <fixr:documentation contentType="text/markdown">The available options supported on this message are: 

UserRefIdx</fixr:documentation>
                    </fixr:annotation>
                </fixr:fieldRef>
            </fixr:structure>
            <fixr:annotation>
                <fixr:documentation purpose="SYNOPSIS" contentType="text/markdown">The Account Query Response message in sent in response to an Account Query Request to indicate the next available UserRefNum that can be used to identify new transactions.</fixr:documentation>
            </fixr:annotation>
        </fixr:message>
    </fixr:messages>
</fixr:repository>
