<!-- FAST Message Templates -->
<templates ns="https://business.deutsche-boerse.com/irj/portal/EnhancedBroadcastSolution"
           xmlns="http://www.fixprotocol.org/ns/fast/td/1.1"
           xmlns:scp="http://www.fixprotocol.org/ns/fast/scp/1.1">

    <!-- Version Information Message -->
    <template name="PacketHeader" id="32">
    	<typeRef name="packetheader"/>
    	<uInt32 name="senderCompID"/>
    	<byteVector name="packetSeqNum"/>
        <byteVector name="sendingTime"/>
        <byteVector name="performanceIndicator"/>
    </template>

    <!-- Start of Xetra Service Message -->
    <template name="StartService" id="128">
    	<typeRef name="startservice"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    </template>

    <!-- End of Xetra Service Message -->
    <template name="EndService" id="129">
    	<typeRef name="endservice"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    </template>

    <!-- Start of Instrument Reference Data Message -->
    <template name="StartRefData" id="130">
    	<typeRef name="startreference"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    	<uInt32 name="noOfMsg"/>
    </template>

    <!-- End of Instrument Reference Data Message -->
    <template name="EndRefData" id="131">
    	<typeRef name="endreference"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    	<uInt32 name="noOfMsg"/>
    </template>

    <!-- Start of Maintenance Reference Data Message -->
    <template name="StartMtnData" id="132">
    	<typeRef name="startreference"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    	<uInt32 name="noOfMsg"/>
    </template>

    <!-- End of Maintenance Reference Data Message -->
    <template name="EndMtnData" id="133">
    	<typeRef name="endreference"/>
    	<uInt64 name="timeStamp"/>
    	<string name="busDate"/>
    	<uInt32 name="noOfMsg"/>
    </template>

    <!-- Beacon Message -->
    <template name="BeaconMessage" id="2">
    	<typeRef name="beaconmessage"/>
    	<uInt64 name="timeStamp"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
    	<uInt32 name="seqNum"> <delta/> </uInt32>
    	<uInt32 name="isix"> <delta/> </uInt32>
    </template>

    <!-- Xetra Instrument Reference Data Message -->
    <template name="InstrumentReferenceData" id="3">
        <typeRef name="instrumentreferencedata"/>
        <uInt32 name="seqNum"/>
        <uInt32 name="srcId"/>
        <string name="exchId"/>
        <string name="instGrp"/>
        <sequence name="MDFeedTypes">
          <length name="noOfStreams"/>
          <string name="streamService"/>
          <string name="streamType"> <copy/> </string>
          <uInt32 name="inetAddr"> <delta/> </uInt32>
          <uInt32 name="port"> <copy/> </uInt32>
          <uInt32 name="mktDepth" presence="optional"> <copy/> </uInt32>
          <uInt32 name="mdBookType" presence="optional"> <constant value="2"/> </uInt32>
        </sequence>
        <sequence name="SecListGroup">
          <length name="NoRelatedSym"/>
          <uInt32 name="isix"> <delta/> </uInt32>
          <string name="isin"> <delta/> </string>
          <string name="instMnem" presence="optional"/>
          <string name="instShtNam" presence="optional"/>
          <string name="wknNo" presence="optional"/>
          <uInt32 name="setId"> <delta/> </uInt32>
          <string name="currCode"> <copy/> </string>
          <string name="instTypCod"> <copy/> </string>
          <string name="instSubTypCode" presence="optional"> <copy/> </string>
          <uInt32 name="lglMktSeg"> <copy/> </uInt32>
          <string name="mktSegCod" presence="optional"> <copy/> </string>
          <sequence name="TickRules">
            <length name="NoTickRules"/>
            <decimal name="TickIncrement"> <delta/> </decimal>
            <decimal name="EndTickPriceRange" presence="optional"> <delta/> </decimal>
          </sequence>
          <string name="trdmdl"> <copy/> </string>
          <uInt32 name="optGwLoc"> <copy/> </uInt32>
          <decimal name="referencePrice"> <delta/> </decimal>
          <uInt32 name="frstTrdDat" presence="optional"> <delta/> </uInt32>
          <uInt32 name="lstTrdDat" presence="optional"> <delta/> </uInt32>
          <uInt32 name="bonMrtyDat" presence="optional"> <delta/> </uInt32>
          <decimal name="minOrdrSiz"> <copy/> </decimal>
          <decimal name="minTrdbUnt"> <copy/> </decimal>
          <decimal name="rondLotQty"> <copy/> </decimal>
          <string name="tradCal"> <copy/> </string>
          <uInt32 name="untOfQotn"> <copy/> </uInt32>
          <uInt32 name="indicators"> <copy/> </uInt32>
          <decimal name="minHiddOrdrVal" presence="optional"> <delta/> </decimal>
          <decimal name="minMidPntOrdrVal" presence="optional"> <delta/> </decimal>
          <decimal name="minIceQty" presence="optional"> <delta/> </decimal>
          <decimal name="minPeakQty" presence="optional"> <delta/> </decimal>
          <decimal name="maxordrvalbest" presence="optional"> <delta/> </decimal>
          <string name="clgloc" presence="optional"> <copy/> </string>
          <string name="postTrdAty"> <copy/> </string>
          <string name="stlPeriodFlag"> <copy/> </string>
          <string name="stlCurrCod"> <copy/> </string>
          <string name="stlCal"> <copy/> </string>
          <string name="homeMkt"> <copy/> </string>
          <string name="refMkt"> <copy/> </string>
          <string name="reportMarket"> <copy/> </string>
          <string name="cmexind" presence="optional"> <copy/> </string>
          <group name="subscription" presence="optional">
              <uInt32 name="issueDate"> <delta/> </uInt32>
              <string name="inSubscription"/>
          </group>
          <group name="bond" presence="optional">
            <decimal name="bonCpnRatWss" presence="optional"> <delta/> </decimal>
            <decimal name="bonCurPoolFact" presence="optional"> <delta/> </decimal>
            <string name="bonYldTrdInd" presence="optional"> <constant value="Y"/> </string>
            <uInt32 name="bonCrtCpnDat" presence="optional"> <delta/> </uInt32>
            <uInt32 name="bonNxtCpnDat" presence="optional"> <delta/> </uInt32>
            <string name="dnomCurrCod"> <copy/> </string>
            <string name="bonFlatInd"> <copy/> </string>
            <uInt32 name="bonAcrIntCalcMd" presence="optional"> <copy/> </uInt32>
          </group>
          <group name="warrant" presence="optional">
            <string name="warSeg"> <copy/> </string>
            <string name="warStrPrc" presence="optional"/>
            <string name="warTyp"> <default value="C"/> </string>
            <string name="warUnd" presence="optional"/>
          </group>
          <group name="continuousauction" presence="optional">
            <string name="exchangeSegment"> <copy/> </string>
            <string name="issrMembId"> <copy/> </string>
            <string name="issrSubGrp"> <copy/> </string>
            <string name="specMembId" presence="optional"> <copy/> </string>
            <string name="specSubGrp" presence="optional"> <copy/> </string>
            <string name="knockOutInd" presence="optional"> <copy/> </string>
            <string name="singleAuctionIndicator" presence="optional"> <constant value="Y"/> </string>
            <string name="specialAuctionIndicator" presence="optional"> <constant value="Y"/> </string>
          </group>
          <group name="marketmaker" presence="optional">
            <sequence name="license">
              <length name="nooflicenses"/>
              <string name="licensetype"/>
              <string name="sprdtypecode"/>
              <decimal name="sprdFact" presence="optional"/>
              <decimal name="sprdminqty"/>
            </sequence>
            <decimal name="maxsrpqty"> <delta/> </decimal>
          </group>
          <group name="basisinstrument" presence="optional">
            <string name="basund" presence="optional"/>
          </group>
        </sequence>
    </template>

    <!-- Maintenance Reference Data Message -->
    <template name="MaintenanceReferenceData" id="4">
      <typeRef name="maintenancereferencedata"/>
        <uInt32 name="seqNum"/>
        <uInt32 name="srcId"/>
        <sequence name="Exchanges">
            <length name="noOfExchanges"/>
            <string name="exchId"/>
            <sequence name="exchangeSegments" presence="optional">
               <length name="noOfSegments"/>
               <string name="exchangeSegment"/>
            </sequence>
        </sequence>
        <sequence name="MDFeedTypes">
          <length name="noOfStreams"/>
          <string name="streamService"/>
          <string name="streamType"> <copy/> </string>
          <uInt32 name="inetAddr"> <delta/> </uInt32>
          <uInt32 name="port"> <copy/> </uInt32>
          <uInt32 name="mktDepth" presence="optional"> <copy/> </uInt32>
          <uInt32 name="mdBookType" presence="optional"> <constant value="2"/> </uInt32>
        </sequence>
    </template>

    <!-- Snapshot Message -->
    <template name="InsideMarketSnapshotInformation" id="6">
    	<typeRef name="insidemarketsnapshot"/>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
    	<uInt32 name="isix"> <delta/> </uInt32>
        <uInt32 name="consolSeqNum"> <delta/> </uInt32>
    	<uInt32 name="instrStatus"/>
    	<sequence name="EntriesAtp">
            <length name="noEntriesAtp"/>
            <uInt32 name="entryType"/>
            <decimal name="entryPrc"> <delta/> </decimal>
            <decimal name="entryQty"> <delta/> </decimal>
            <decimal name="totTrdQty" presence="optional"> <delta/> </decimal>
            <uInt64 name="entryTime"> <delta/> </uInt64>
            <uInt32 name="numTrades" presence="optional"> <delta/> </uInt32>
            <uInt64 name="tranMtchIdNo" presence="optional"> <delta/> </uInt64>
    	</sequence>
    	<sequence name="EntriesDepth">
            <length name="noEntriesDepth"/>
            <uInt32 name="entryType"/>
            <decimal name="entryPrc"> <delta/> </decimal>
            <decimal name="entryQty"> <delta/> </decimal>
            <uInt32 name="numOrders"> <delta/> </uInt32>
            <uInt32 name="entryPrcLvl"/>
    	</sequence>
        <group name="auctionGroup" presence="optional">
    	    <string name="moiInd" presence="optional"> </string>
    	    <string name="volInd" presence="optional"> </string> 
    	    <sequence name="EntriesAuction">
    		<length name="noEntriesAuction"/>
    		<uInt32 name="entryType"/>
    		<decimal name="entryPrc" presence="optional"> <delta/> </decimal>
    		<decimal name="entryQty" presence="optional"> <delta/> </decimal>
    	    </sequence>
        </group>
    	<sequence name="EntriesPrc">
    		<length name="noEntriesPrc"/>
    		<uInt32 name="entryType"/>
    		<decimal name="entryPrc"> <delta/> </decimal>
    	</sequence>
    </template>

    <!-- Delta / Incremental Message -->
    <template name="InsideMarketDeltaInformation" id="7">
    	<typeRef name="insidemarketdeltamessage"/>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
    	<uInt32 name="isix"> <delta/> </uInt32>
    	<uInt32 name="seqNum"> <delta/> </uInt32>
        <uInt32 name="instrStatus"/>
        <string name="gapIndicator" presence="optional"> <constant value="Y"/> </string>
        <string name="trdgapIndicator" presence="optional"> <constant value="Y"/> </string>
        <sequence name="EntriesTrade">
            <length name="noEntriesTrade"/>
            <uInt32 name="entryType"> </uInt32>
            <uInt64 name="aggressorTime" presence="optional"> </uInt64>
            <decimal name="totTrdQty"> </decimal>
            <uInt32 name="numTrades"> </uInt32>
            <sequence name="EntriesTradePrices">
                <length name="noEntriesTradePrices"/>
                <uInt32 name="entryType"> </uInt32>
                <string name="prcTypCod"> </string>
                <decimal name="entryPrc"> <delta/> </decimal>
                <decimal name="entryQty" presence="optional"> <delta/> </decimal>
                <uInt64 name="entryTime"> <delta/> </uInt64>
                <uInt32 name="actnCod"> <delta/> </uInt32>
                <uInt32 name="tranMtchIdNo"> <delta/> </uInt32>
            </sequence>
        </sequence>
    	<sequence name="EntriesDepth">
            <length name="noEntriesDepth"/>
            <uInt32 name="entryType"/>
            <decimal name="entryPrc"> <delta/> </decimal>
            <decimal name="entryQty"> <delta/> </decimal>
            <uInt32 name="numOrders"> <delta/> </uInt32>
            <uInt32 name="entryPrcLvl"/>
            <uInt32 name="updateAction"/>
    	</sequence>
        <group name="auctionGroup" presence="optional">
            <string name="moiInd" presence="optional"> </string>
            <string name="volInd" presence="optional"> </string>
            <sequence name="EntriesAuction">
                <length name="noEntriesAuction"/>
                <uInt32 name="entryType"/>
                <decimal name="entryPrc" presence="optional"> <delta/> </decimal>
                <decimal name="entryQty" presence="optional"> <delta/> </decimal>
            </sequence>
        </group>
        <sequence name="EntriesPrc">
            <length name="noEntriesPrc"/>
            <uInt32 name="entryType"/>
            <decimal name="entryPrc"> <delta/> </decimal>
        </sequence>
    </template>

    <!-- All Trade Price Message -->
    <template name="AllTradePrice" id="9">
    	<typeRef name="atpmessage"/>
    	<uInt64 name="timeStamp"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
    	<uInt32 name="isix"> <delta/> </uInt32>
        <uInt32 name="seqNum"> <increment/> </uInt32>
        <string name="prcTypCod"> <copy/> </string>
    	<uInt32 name="entryType"> <copy/> </uInt32>
    	<decimal name="entryPrc"> <delta/> </decimal>
    	<decimal name="entryQty" presence="optional"> <delta/> </decimal>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="tranMtchIdNo"> <delta/> </uInt32>
    	<uInt32 name="actnCod"> <default value="4"/> </uInt32>
    </template>

    <!-- State Changes Message -->
    <template name="StateChangesMessage" id="10">
    	<typeRef name="statechangesmessage"/>
    	<uInt64 name="timeStamp"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
        <string name="changeIndicator" presence="optional"> <constant value="Y"/> </string>
        <uInt32 name="state"> <copy/> </uInt32>
        <string name="exchId" presence="optional"> <copy/> </string>
    </template>

    <!-- Cross Request Message -->
    <template name="CrossRequestMessage" id="11">
    	<typeRef name="crossrequestmessage"/>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
    	<uInt32 name="isix"/>
        <decimal name="entryQty"/>
    </template>

    <!-- Technical Market Reset Message -->
    <template name="TechnicalMarketResetMessage" id="12">
    	<typeRef name="technicalmarketresetmessage"/>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>
        <uInt32 name="setId"/>
    </template>

    <!-- Instrument State Message -->
    <template name="InstrumentStateMessage" id="13">
    	<typeRef name="instrumentstatemessage"/>
    	<uInt64 name="entryTime"> <delta/> </uInt64>
    	<uInt32 name="srcId"> <copy/> </uInt32>  
    	<uInt32 name="isix"/>
        <uInt32 name="state"/>
    </template>

    <template name="FASTReset" id="120">
    </template>

</templates>
