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 Eris/GovEx Gateway 7.16. 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.

In addition, the Member parameter must equal to or less than 12 characters.

You can configure multiple order sessions using the procedure listed below.

To configure additional order sessions:

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

Configuring Multiple STP Sessions

You can configure multiple STP sessions per Member using the procedure listed below.

To configure additional order sessions:

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

Example 1: Multiple Sessions

In this example, orders from traders logged in under Member NO2 route through [order_session_trade1] while traders logged in with Member GDT route through [order_session_trade0].

Example Multiple Order Sessions

[order_session_trade0]

sendercompid=GDT_TTORD

TargetCompId=ER

Member=GDT

Password=test1234ExchangeIP=208.89.232.137

ExchangePort=442

# CustOrderCapacity tag 582 / OrderCapacity tag 528 Mapping

# Example A1 populates 582=4|528=I

A1=4I

G1=3I

G2=4I

M1=1I

M2=2A

P1=1I

P2=2A

U1=1I

[order_session_trade1]

sendercompid=GDT_TTORD

TargetCompId=ER

Member=NO2

Password=test1234ExchangeIP=208.89.232.137ExchangePort=442# CustOrderCapacity tag 582 / OrderCapacity tag 528 Mapping# Example A1 populates 582=4|528=IA1=4IG1=3IG2=4IM1=1IM2=2AP1=1IP2=2AU1=1I

[order_session_stp0]ExchangeIP=172.123.4.567ExchangePort=12686sendercompid=ER_TTMD1TargetCompId=ERPassword=87654321type=stp