25.12.2012 Views

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Prices- FIX/FAST<br />

Messages<br />

4 Configuring Market Data<br />

Note: A value of “0 “ is allowed and indicates that the Price Server only uses incremental<br />

updates to refresh the Order Book (no snapshot channels are opened).<br />

If a restart or mid-week startup is necessary, the <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> is configured<br />

by default to do the following:<br />

• Dynamically subscribe to no more than two instrument definition channels<br />

at one time.<br />

• Perform incremental price updates to the Order Book only after instrument<br />

definition updates are complete.<br />

This default <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> behavior is defined by the MaxInstrumentChannels<br />

parameter in hostinfo.cfg. Because the parameter is not present in the<br />

hostinfo.cfg file by default, you’ll have to manually add the<br />

MaxInstrumentChannels parameter if you want to configure the number of<br />

instrument definition channels to subscribe to. If you manually configure this<br />

parameter, the number of instrument definition channels should not exceed the<br />

number of price feed channels configured on the Price Server.<br />

Refer to the section called Section: [price_session] on page 120 for more<br />

details about these parameters.<br />

Note: If there is missing price data for a product and a snapshot is requested, the Price<br />

Server clears the existing Order Book before refreshing it with the snapshot. This is by design<br />

and not the result of the client application (e.g., Autospreader ® ) deleting data from the<br />

Order Book prior to a snapshot. The occurrence of frequent snapshots may be an indication<br />

of capacity or performance issues within the network.<br />

The <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> continually receives market data snapshots from the<br />

exchange via FIX/FAST. If you subscribe to additional channels from the price<br />

feed, you must use the -products command line parameter to restart the Price<br />

Server and download the additional information.<br />

For more information on FIX/FAST, refer to the section called FIX/FAST<br />

Behavior on page 64.<br />

Price Server Data Flow The following is a description of the price feed connection process from the Price<br />

Server to the exchange.<br />

• The Price Server on the <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> starts and reads hostinfo.cfg to<br />

determine which subjects to subscribe to.<br />

• The Price Server reads fast.cfg to determine connectivity data for each of<br />

the subjects specified in hostinfo.cfg.The <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> connects to<br />

the exchange via a UDP multicast, and subscribes to the products listed in<br />

hostinfo.cfg.<br />

• The <strong>CME</strong> Group sends the requested price information to the Price Server.<br />

Every price message from the <strong>CME</strong> Group has a sequence number.<br />

Note: Currently, the price sequence number starts at 1 on Sunday and increases by<br />

one for each price message received throughout the week. The sequence number<br />

resets back to 1 on Sunday.<br />

• Each subject maintains its own sequence number.<br />

• The Price Server begins broadcasting Market Depth and price updates<br />

using the multicast group as set in Guardian.<br />

• In real time, the Price Server records the price structure for each contract<br />

held in RAM on the <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong>.<br />

60 <strong>TT</strong> <strong>CME</strong> <strong>Gateway</strong> <strong>System</strong> <strong>Administration</strong> <strong>Manual</strong><br />

<strong>Trading</strong> Technologies International, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!