← Back to X_TRADER® Help Library

LME Gateway Documentation


Verify Key Range

TT LME Gateways install with the following default key ranges: 0L0000 – 0LZZZZ.

For information on configuring the key range, refer to the TT Gateway Architecture SAM Version 7.X.


Individual passwords are assigned by the exchange as the SessionPassword and managed by the customer.

hostinfo.cfg file

The remainder of this manual refers to Exchange-Flavorhostinfo.cfg as hostinfo.cfg.

To complete the configuration specific to the TT LME Gateway, you must configure the hostinfo.cfg file in <root drive>:ttconfig. This file contains Price and Order Server connection settings and information on each direct trader.

TT programs ignore all text in hostinfo.cfg that comes after a “#” symbol. When performing the procedure below, ignore lines that begin with “#” and do not include the “#” symbol before any settings which you want the TT LME Gateway to read.

Values that begin with a “$” symbol must be replaced with real values for the gateway software to start successfully.

To configure the Exchange-Flavorhostinfo.cfg file:

  1. Using Notepad, open hostinfo.cfg, located in <root drive>:ttconfig.
  2. Add Price Server connection information to the section titled [PriceServer].

    You must insert appropriate connection values for ExchangeIP, ExchangePort, GatewayCompany, SessionPassword, and FaxKey. Changing the other parameters is optional.

    Example [PriceServer] section in the hostinfo.cfg file










  3. Add the FIX Order Server’s session connection and trader’s information to the section titled [OrderServerSession].

    You must insert appropriate connection values for ExchangeIP, ExchangePort, GatewayCompany, Member, SessionPassword, and FAXKey. Changing the other parameters is optional.

    Example [OrderServerSession_#] section in the hostinfo.cfg file









  4. You can configure additional parameters in the hostinfo.cfg file; however, to increase performance and stability, TT recommends you leave these parameters at their default value.
  5. Save and close the file.


If not using the default multicast group (, manually change the multicast address to match the multicast of the environment in which the TT LME Gateway resides.

  • Modify the multicast in the ttmd.cfg file.
  • Open the AconfigUtil to modify the multicast in the following locations:
    • AConfig.Core.Messaging.Proximity-Specific.Local.Multicast-Group
    • AConfig.Core.Messaging.Proximity-Specific.Remote.Multicast-Group

You can automatically change the multicast address by accessing the Daemon Setup within Guardian. However, the automatic process only works after Guardian runs.


You must configure and uncomment the Key Server section in the ttchron.ini file. If you choose to run a Key Server on this server, remove the hash symbols (#) from the following lines (including the section header):

  • [win32-svc-ttkeyserver]
  • run_days=6
  • start_time=0:15
  • end_time=23:50
  • days_in_cycle=7

You can only run a maximum of one Key Server per market; if another TT LME Gateway is running a Key Server in this TT environment, do not uncomment the Key Server section.


You must perform the following in the ttclean.ini file:

  • Uncomment these lines and update drive letters:

    P, 10, c:TtAuditfiles, *.*

    P, 10, c:TtLogfiles, *.*

  • Delete all other TT Gateway sections.

Trader IDs

You must add trader IDs to the TT Universal Login Server (via X_RISK® located on a different machine within the TT environment) or to WUAS/Active Directory.

Be sure to follow the proper syntax for trader IDs as indicated in this document.


Reboot the server.

Start TT Services

After reboot, open the Control Panel and select Administrative Tools. Within the Administrative Tools menu, select Services. Double-click on the Start Guardian icon from the desktop.

Verify that the IP address that this TT Gateway has been licensed for appears in the Applications On section of Guardian. Start the GuardServer service and ensure GuardServer shows up under the correct TT LME Gateway Exchange-Flavor.


If the GuardServer shows up under the “TT GuardServers starting up” exchange, it has not found a valid license.

Start TTChron

Start the TTChron Service in order to start all necessary TT Services, (assuming you are starting the TT LME Gateway during normal trading hours).

Execute Test Trade

Once the TT LME Gateway is completely green in Guardian, log into an X_TRADER® machine and enter a test trade. Remember that necessary risk parameters must be set up in order to successfully place a trade.