Try TT Now

Configuring Multiple Sessions

Overview

You can configure multiple order sessions by adding additional [order_session_trade#] sections to the Hostinfo.cfg file as described in the following sections.

Maximum Supported Order Sessions

TT currently supports up to 100 separate order sessions on each SGX_OTC Gateway. Internal testing shows that this amount of order sessions supports optimal performance during continuous operation with heavy volume.

TT recommends that you work with your Technical Account Manager (TAM) to accurately load balance traders across multiple order sessions.

Configuring Multiple Order Sessions

Warning

If two or more Member parameters share the same value, the Order Server will not start. The Member parameter must be unique per Order Session.

To configure additional order sessions:

  1. Open the Hostinfo.cfg file.
  2. Copy the heading and required parameters from [OrderSession_1]
  3. Paste the copied text into the Hostinfo.cfg file.
  4. Change the copied heading to a unique name (e.g., [OrderSession_2]).
  5. When configuring multiple order sessions, configure a unique Member parameter to determine which orders route through a particular order session.
  6. Configure all exchange-provided credentials for this membership.
  7. Save and close the hostinfo.cfg.

Example: Multiple Order Sessions

Example Multiple Order Sessions

[OrderSession_1]

Member=TTGX1

ExchangePrimaryIP=172.123.4.567

ExchangePort=16540

ReconnectionAttempts=5

GatewayCompany=T_TTECH1

ExchangeCompany=SGX

GatewaySessionId=12345678TT

SessionUserName=12345678TT

SessionPassword=ttabcdefgh

[OrderSession_2]

Member=TTGX2

ExchangePrimaryIP=172.123.4.567

ExchangePort=16540

ReconnectionAttempts=5

GatewayCompany=T_TTECH1

ExchangeCompany=SGX

GatewaySessionId=87654321TT

SessionUserName=87654321TT

SessionPassword=ttabcdexyzab