Product Tables Documentation
Product Table Deployment
Generating Products Tables
If a product table is missing when a TT Gateway starts up and connects to the exchange, the TT Gateway dynamically creates the appropriate product table.
The TT Gateway names its product table TTProdTbl_exchange-flavor_mode.dat, where:
- exchange-flavor is the name of the TT Gateway that created the product table.
- mode is determined by the mode in which the TT Gateway runs: either PROD for production mode or SIM for simulation mode.
For details on how the TT Trading System replicates product table files to the <root drive>:ttGuardianconfigdirectory on client machines, refer to Product Table Replication.
Talk to your Technical Account Manager before deploying product tables.
Server Exception: On some TT Gateways, TT provides a tool (called pMerge) for merging new product tables with pre-existing ones. For further details on deploying product tables, refer to the specific gateway manual.
You can load product tables onto the TT Gateway in several different ways determined by the following:
- If this is the first TT Gateway of its exchange type on the customer’s network – e.g., the first TT eCBOT or the first TT CME Gateway on the customer’s network, load product tables as described in Loading Product Tables in a Clean Environment.
- If this TT Gateway is not the first TT Gateway for that particular market on the customer’s network (e.g., it is the second TT eCBOT or TT CME Gateway), for the most up-to-date product information TT recommends that you copy a pre-existing product table from another TT Gateway at the site. Perform To copy a pre-existing product table.
- If you want to redistribute a product table across different exchange names (for example, if you made changes on a TT eCBOT Gateway and want your TT eCBOT-A and eCBOT-B Gateways to reflect these changes), perform To recycle product tables. However, if you make only a few changes, do not perform this procedure because you can more easily replicate these changes manually through the Guardian interface.
For a detailed description of how TT replicates product tables across the network, refer to Product Table Replication.
Loading Product Tables in a Clean Environment
To load product tables in a clean environment, copy all of your product table files (named TTProdTbl_exchange-flavor.dat) to <root drive>:ttguardianconfig.
Copying Pre-existing Product Tables
To copy a pre-existing product table:
- On the desktop, double-click Start Guardian.
By starting Guardian, you automatically copy to the machine the product tables from all TT Gateways on the network.Let Guardian run for a minute, and then double-click Stop Guardian.
- Stop all TT Gateway related processes and services.
- Using Windows Explorer, navigate to the directory <root drive>:ttguardianconfig, and list its contents.
- Locate the TTProdTbl_Gwname_Mode.dat file, where Gwname is the exchange
name of the TT Gateway whose product table you are going to copy, and Mode is the mode in
which the product table is used.
Example Product Table Filename
A customer has a production TT CME-A Gateway on site. If you install a TT Gateway named CME-B in production mode, you must locate the file TTProdTbl_CME-A_PROD.dat.
- Right-click on the file, and then click Copy.
- Right-click in the <root drive>:ttguardianconfig directory, and click Paste.
- Right-click the copied file, and click Rename.
- Rename the file to: TTProdTbl_exchange-flavor_Mode.dat, where exchange-flavor is the exchange name selected during installation of the TT Gateway software (e.g., Eurex-A, or CME-A), and Mode is the mode in which you run the TT Gateway (PROD for Production or SIM for Simulation).
- Using Notepad, open the newly created and renamed product table file. In the remaining steps, you will change the exchange name and exchange ID.
- Locate the first line that displays the old exchange name. For example, if you copied a product table file for CME-A, locate the first line that displays CME-A in its text.
- Change this exchange name to match that of the newly installed TT Gateway. Using the example in step 4, you would change CME-A to CME-B.
- Change the first number in this line to the correct
Refer to the table called Exchange ID List. Using the example from Step 4, you would change the number 16 (used by CME-A) to 17 (used by CME-B).
- Save and close the file.
Recycling Product Tables
To recycle product tables:
- In Guardian, publish the product
If you are unfamiliar with the process, refer to the Guardian User Manual Version 7.X.
- Go to another TT Gateway, and using Notepad, open its current product table file.
- Write down its sequence number.
This number is on the second line of the file.
- Close out of the file.
- In Windows Explorer, click to highlight the file, and then press DELETE.
- At the Confirm File Delete dialog box, click Yes.
- Perform Steps 2 – this step from Copying Pre-existing Product Tables above, except in Step 9, use the exchange-flavor of the TT Gateway for which you want to use the product table file.
- Increment the number you wrote down in Step this step by the value of one
(1), and change the numeric value in the second line of the product
table file to this new number.
Example Sequence Number
If you wrote 60, and the second line of the product table reads 23, you change 23 to 61.
- Save and close out of the product table file.Double-click Start Guardian.Double-click Start Exchange-flavor Gateway.