← Back to X_TRADER® Help Library

CFE Gateway Documentation

Configuring the Trading Environment


After installing the TT Gateway, you must perform the following procedures:

  • Stop all TT-related services.
  • Configure Exchange-Flavorhostinfo.cfg (referred to throughout simply as the hostinfo.cfg file) and edit the ttchron.ini file.
  • The CFE Gateway uses pMerge to populate product and tick tables.
  • Configure time zone settings in aconfig_local.xml. Do not modify any other aconfig default settings without first contacting your local TAM.

TT recommends that no more than twenty direct traders connect to the exchange through any one TT Gateway.

Before configuring the TT Gateway, you must stop all TT-related services.

To stop Services:

  1. From the Start menu, point to Settings, and click Control Panel.

    The Control Panel opens.

  2. Double-click Administrative Tools.

    The Administrative Tools window displays.

  3. Double-click Services.

    The Services window displays.

  4. Scroll through the Services box to locate TT Chron.
  5. Right-click TT Chron, and then click Stop.
  6. If there are any other TT Services running, you must stop them as well. One at a time, right-click the TT service, and then click Stop.
  7. After you have stopped all TT services, close the Services and Administrative Tools windows.


Located in <root drive>:ttconfig, all services in the ttchron.ini file must be set with the correct startup and shutdown times. For information and restrictions on configuring ttchron.ini, refer to the TT Gateway Architecture SAM Version 7.X.


On the CFE Gateway, Order Routers are threads managed by the Order Server. The ttchron.ini file does not have an Order Router section.


The following warnings apply to the CFE Gateway startup and the use of ttchron.ini on the CFE Gateway:

  • You must set the Order Server to start up on Sunday before the CFE. If the Order Server cannot startup after a failure (i.e., it has been already running that week), you must start it up using the -r command line option.
  • Leave TTChron running after installing and configuring the CFE Gateway.

To edit the ttchron.ini file:

  1. Verify that the Price Server start time is set to 06:15 CST.

    This setting ensures that the CFE Gateway captures the correct product listings. If the Price Server starts after the exchange starts broadcasting products, the CFE Gateway can have incorrect products listings.

  2. Verify that the daily Order Server stop time is set to 15:30 CST.
  3. Use this information to determine the correct startup times for all CFE Gateway processes. Since the CFE can change its trading hours at any time, specific startup times are not included in this document. The times provided in the ttchron.ini file are representative of the current exchange startup times. Unless otherwise informed by TT or CFE, do not change these times.

    Call the CSC or your TAMs for correct startup times to use in ttchron.ini.


The CFE Gateway installs with the pMerge executable. During installation, this executable runs automatically to set up and configure the CFE’s product and tick tables that the TT Gateway requires. Additionally, when you upgrade a CFE Gateway, pMerge.exe runs automatically to merge pre-existing product tables with any product tables distributed with the new TT Gateway software.

For instructions on using pMerge, refer to pMerge Overview.