Try TT Now

Administrating TT SIM

Trader Setup

By default, TT SIMTM leverages existing TT User Setup trader configurations to determine available products and trader risk limits. This allows traders to experience their production trading environment in simulation without additional configuration.

TT SIM does not support trader configurations that allow access to all products for a particular product type. These configurations populate an asterisk in the Product column in the TT User Setup Product Limits window.

If a particular product type is configured to access all products in production, administrators must create separate trader setups for simulation.

TT SIM and Product Limits

Note

In the image above, Member B123 has product limits assigned for Futures. Member B123 does not require a custom setup for simulation but may optionally create one.

Member A819 is configured for all Future products. Therefore, the administrator must create a custom, TT SIM only setup and assign specific Futures products for that Member.

Risk Checking

TT User Setup, rather than Guardian, is used for risk checking in TT SIM. The risk limits set up in TT User Setup are controlled by your administrator. By default, TT SIM will impose the trader’s production risk limits.

Note

It is possible to obtain separate risk limits for production and simulation trading. TT SIM does not support account-based risk limits configured in TT User Setup. Account-based risk limits are ignored when logged into TT SIM. Adding or modifying risk limits intraday will not require a restart. For more information, contact your System Administrator or refer to the TT User Setup System Administration Manual.

Credit and Product Limits

TT User Setup supports TT SIM mode trading using existing gateway logins and user profiles. Gateway logins and user profiles are configured as usual, with the following exceptions:

  • If you want the credit limit to be higher or lower for TT SIM trading, you can set a different TT SIM credit limit for gateway logins and user profiles. If you do not set a TT SIM credit limit, then non-TT SIM credit limits are used.
  • If your existing product limits are configured with wildcards (*), you must configure a new product limit that has a specific product type and product. Users trading in TT SIM mode will not be able to see instruments with product limits that are configured with wildcards.
  • If you want the product limits to be different for TT SIM mode trading, you can create a new product limit and specify that it only applies to TT SIM trading. If you do not create a TT SIM Only product limit, TT User Setup will use the existing product limit settings for the instrument.

For more information on setting limits, refer to the TT User Setup User Manual.

TT Gateways

TT SIM leverages the TT Gateways that already exist in your trading environment for access to their production price feed. Therefore, you may only trade products that are available on your existing TT Gateways. Also, if configured for coalesced prices in production mode, you will automatically receive coalesced prices in simulation mode.

To reduce load on the production environment, TT SIM can only access gateway product types that do not allow access to all products. For example, Member A819 in the figure called TT SIM and Product Limits allows access to all MEFF Futures products. Therefore those traders will not have access to MEFF Futures products while in simulation mode. In addition, the MEFF Gateway will not appear in the simulation Guardian.

Note

In simulation mode, all TT Gateways appear with the same IP address as the local workstation when viewed in Guardian.

Since TT SIM simply consumes production market data, it supports basic trading on all existing and future TT Gateways. At this time, TT SIM does not support exchange-specific functionality.

Guardian

TT Gateways do not appear in the simulated Guardian if they are configured without product limits (i.e., all products on that gateway use the asterisk (*) wildcard to access all products).You can add these Gateways by creating specific product limits in TT User Setup.

Regardless of your trading mode (sim or prod), using the Collect Logfiles functionality retrieves both simulation and production files. All production logfiles appear in the ttlogfiles directory while simulation logfiles appear in ttlogfilessim.

Coalescing Intervals

The price output from TT SIM is automatically coalesced. However, usage scenarios differ depending on the hardware and habits of TT SIM users, so you can configure the trade data and non-trade data coalescing intervals to simulate your production environment.

Trade data is immediately relevant to making trading decisions and consists of the following:

  • Inside Market
  • Market Depth
  • Last Traded Price (LTP) of the most recent trade in the interval
  • Last Traded Quantity (LTQ) of the most recent trade in the interval
  • Trade State
  • Total Traded Quantity (TTQ)

Non-trade data is non-actionable and not as time-critical or immediately relevant to trading decisions and includes:

  • Time & Sales
  • LTP of all trades in the interval
  • LTQ of all trades in the interval
  • Settlement prices
  • Open and Close prices
  • Session Status

In the ttconfigTTSimParams.cfg file, you can configure TradeDataUpdateInterval and NonTradeDataUpdateInterval parameters to change the default coalescing interval in TT SIM. For example, you can configure these parameters to reduce coalescing of TT SIM's price output to more closely match that of a non-coalesced production feed.

The TTSIMSimulatedExchange log file (TTSIM-ZSimulatedExchange in 7.16.1 or lower) shows which parameters are copied from aconfig.xml and aconfig_local.xml files to TTSimParams.cfg. The following table shows the default values copied from the production files for the TT SIM coalescing parameters:

TT SIM Coalescing Parameters
Aconfig TTSimParams.cfg Default Value (ms)
AConfig.Core.Server.Exchange-Specific.<exch>.Price-Server.NTDUpdateInterval NonTradeDataUpdateInterval 20
AConfig.Core.Server.Exchange-Specific.<exch>.Market-Depth.Interval-mSecs TradeDataUpdateInterval 20

Components and Services

All TT SIM components operate as separate Windows Services. The following table lists all of the TT SIM components:

TT SIM Components/Services

Component/Service Name

Description

TT SIM Manager

Controls all TT SIM components.

Note

You must first disable TT SIM Manager before you can stop any other TT SIM related service.

TT SIM Simulated Exchange

Manages all matching that occurs in the simulated environment.

TT SIM Product Server

Determines which exchange products are available for trading in the simulated environment.

TT SIM Guardian and TT SIM GuardServer

Performs all Guardian functionality in simulation mode.

TT SIM Order, Price, Fill and Key Servers

Simulates the behavior of each TT Gateway component.

TT SIM AlgoSE

Simulation version of the TT AlgoSE.

TT SIM SSE

Simulation version of the TT Synthetic Strategy Engine.

Files

At startup, TT SIM copies the production aconfig.xml and aconfig_local.xml from the ttconfig directory to ttconfigsim. TT SIM reads the aconfig values to determine much of the simulated environment’s behavior.

TT SIM creates simulation-specific configuration and log files. These appear in their own sim subfolder as ttconfigsim and ttlogfilessim directories.

Note

TT SIM 7.16.1 or lower uses TTSIM-Z as the exchange-flavor for filenames (e.g., TTSIM-ZOrderServer.cfg).

TT SIM creates or copies additional files that should not be altered by the user. The table below lists the several key files that users may update or use for troubleshooting.

TT SIM Files

Filename

Description

Location: ttconfigsim

TTSimParams.cfg

(7.16.2 or higher)

The TTSimParams.cfg file provides a centralized location for most simulation options, including those controlled by X_TRADER®. This file contains the user-configurable order delay parameter (OrderDelay) that can be used to simulate certain market conditions. The default value is 50 ms.

Environment.cfg

The Environment.cfg file lists all values related to the Guardian multicast connection for receiving prices.

You can use the Environment.cfg file to verify whether TT SIM points to the correct environment for prices.

OrderServer.cfg

For 7.16.1 or lower, the TTSIM-ZOrderServer.cfg file contains a user-configurable delay that can be used to simulate certain market conditions. For example, a user can increase the delay value to increase the amount of legging that occurs in the simulation market.

For 7.16.2 or higher, the OrderServer.cfg no longer specifies the default order delay. This file can still specify delay filters based on Member-Group-Trader ID, but not by product. Product delays can be configured through ttconfigsimTTSimParams.cfg

Location: ttlogfilessim

*_mode_FillServer_Date.log

*_mode_OrderServer_Date.log

*_mode_PriceServer_Date.log

TT SIM creates and updates its own fill, order and price server logfiles. Unlike TT Gateways, these files contain actions for all simulated exchanges.

You can use this file to troubleshoot issues and errors related to specific TT SIM components.