Try TT Now

Configuring Order and Fill Server Connection

Overview

To create a Order API connection, you must provide connection information in the [Global] section of the hostinfo.cfg file. Also, to configure the initial Order session, you must configure the UserId and UserPassword parameters in the [TTF] section of the hostinfo.cfg file.

To provide improved performance, TOCOM Gateways support multiple Order Sessions. To enable multiple Order Sessions, you must contact the Exchange for additional Login User IDs and properly configure the hostinfo.cfg file.

Multiple order sessions greatly improve TT Gateway performance and alter how the TOCOM Gateway processes orders and fills.

Note

TOCOM Gateways can be configured with as many as 50 [TTO_#] sessions. Per TOCOM restrictions, only 50 users may be logged in per pair of Network Gateway. This pair of Network Gateways may be shared or dedicated.

For further information on configuring order and fill processing on a multi-member gateway, refer to hostinfo.cfg: Multi-Member.

[TTF] Parameters

You must configure the [TTF] section of the hostinfo.cfg file to set the user ID and password for the Order Server, which connects to the Exchange via the Order Session.

When using a single Order Session, the TT TOCOM Gateway routes all order and fill data through the [TTF] session. In this scenario, only the [TTF] section of the hostinfo.cfg file contains connection information. The [TTO_1] section should remain commented-out and the TT TOCOM Gateway ignores this information.

Tip

By default, TT TOCOM Gateways use the TTF Order Session to process both order and fill data. During heavy trading, this limits the performance of the TT TOCOM Gateway. To improve performance, TT recommends using multiple Order Sessions. Even adding one TTO Order Session shows a significant improvement over a single TTF Order Session and no TTO Order Sessions. Please contact the Exchange for information on obtaining additional Login User IDs.

This section contains the following parameters:

[TTF] Parameter Descriptions

Parameter

Description

UserId

Sets the user ID for orders and fills.

UserPassword

Sets the password for the order server connection.

For further information on configuring order and fill processing on a multi-member gateway, refer to hostinfo.cfg: Multi-Member.

[TTO_#] Parameters

The [TTO_#] section sets the user IDs and passwords for additional Order Sessions. By default, TOCOM Gateways install with this section commented-out.

If you only use one Order Session, do not uncomment and configure [TTO_#] sections in the hostinfo.cfg file. You should only configure the default [TTF] section. If you use two Order Session IDs, you must uncomment and configure the [TTO_#] section for the second session. If you use more than two Order Session IDs, you must add and configure [TTO_#] sections for each additional one. TT TOCOM Gateways can be configured with as many as 50 [TTO_#] sessions. Per TOCOM restrictions, only 50 users may be logged in per Network Gateway.

Warning

Prior to reconfiguring Login User IDs on the TT TOCOM Gateway (e.g., removing or adding [TTO_#] sections) customers must cancel all working orders at the Exchange. If an order was originally submitted through a [TTO_#] section that has since been commented out or removed, and the order is not canceled, it may be filtered out during initialization and ignored by the Gateway.

This section contains the following parameters:

[TTO_#] Parameter Descriptions

Parameter

Description

[TTO_#]

Section name. In the first [TTO_#] section, # is 1. For every [TTO_#] section after the first, you must increment this number by one.

UserId

This value is assigned by the exchange and must be unique across each TOCOM Gateway.

UserPassword

Sets the password for this session.

For further information on configuring order and fill processing on a multi-member gateway, refer to hostinfo.cfg: Multi-Member.