← Back to X_TRADER® Help Library

Automating And Scheduling Processes Documentation



TTChron reads the file ttchron.ini, located in <root drive>:ttconfig, to determine the run schedule and command arguments for any processes, applications, and Windows services that you want to run in a customized fashion. To locate ttchron.ini on a TT machine, TTChron reads the directory as listed in the registry key: HKEY_LOCAL_MACHINESoftwareTrading TechnologiesServicesINIFILENAME

Because TTChron continuously monitors ttchron.ini, whenever a change is made to the file, TTChron automatically notices it, makes the necessary adjustments, and writes the new contents of ttchron.ini to the TTChron log file. TTChron also writes these contents to the log file at its time of startup.

The ttchron.ini file contains multiple sections each containing one or more parameters and their associated values. Some lines of text in a section may be “commented out” (i.e., start with a #). These lines are either comments or inactive parameters.

Editing ttchron.ini

You can edit ttchron.ini to:

  • Add sections that define all applications, Windows services, and server programs that you want TT Chron to manage
  • Configure run-time schedules (dates and times) for each of the sections that you add
  • Customize start-up and runtime behaviors for each of the sections (i.e., applications represented within ttchron.ini)
  • Activate the Key Server section (covered in Editing ttchron.ini).
  • If the TT Gateway uses Order Routers as unique processes, configure the Order Router section to include the necessary number of Order Routers.

Whenever you set TT Chron to start programs automatically, you must take into consideration the time in which the exchange host runs and your site’s trading hours. For exchange time zones and times, refer to the appropriate installation chapter in the SAM for the specific TT Gateway that you are configuring. To verify trading schedules, call the appropriate exchange or visit its web page.

You can use any text editor (e.g., Notepad) to edit ttchron.ini. After saving your changes, TTChron automatically writes the entire contents of the newly modified file to TTChron's log.

None of TTChron’s parameters are sensitive to case.

To edit ttchron.ini:

  1. Using a text editor (such as Notepad), open ttchron.ini, located in <root drive>:ttconfig.
  2. Save a backup copy of the ttchron.ini file to a different location. You can use the backup copy to troubleshoot any problems that may arise from changes to the file.
  3. Scroll down in the original file and locate the section you need to change.
  4. Change the section.
  5. Save the file and close the text editor.