Try TT Now

hostinfo.cfg

Overview

Configure the Price and Order Server connections, as well as general TT Gateway behavior, in the hostinfo.cfg file. If you do not configure this file properly, the SFE Gateway does not function correctly.

Configure hostinfo.cfg immediately after installing the SFE Gateway, and again later, when you must make changes to network connectivity. The default hostinfo.cfg has the following sections:

  • [OrderServer]: Sets the names of the available FIX Order Sessions (Order Routers).
  • [OrderServerSession_#]: Contains the configuration settings for each Order Session.
  • [PriceServer]: Contains the configuration settings for the Price Server.
  • [ReservedSubscriptions]: Determine which contract’s At-Best and messages it subscribes to initially.
  • [ReservedDepthSubscriptions]: Determine which contract’s Depth of Market messages it subscribes to initially.
Warning

If a parameter appears more than once in the same section of the hostinfo.cfg file, the server exits and logs a Server Exiting Due to Misconfiguration in the Hostinfo.cfg file message to the server’s logfile.

Example hostinfo.cfg File

The following illustrates the contents of the hostinfo.cfg file:

Example hostinfo.cfg File

[OrderServerSession]

ExchangeIP=10.0.2.3

ExchangePort=1234

GatewayCompany=GTD

GatewaySessionId=Trader1

SessionPassword=HtC3

#SharedOrder=1

[OrderServerSession_1]

ExchangeIP=10.1.2.3

ExchangePort=1235

GatewayCompany=GD2

GatewaySessionId=Trader1

SessionPassword=HtC3

#SharedOrder=2

Member=N02

[PriceServer]

ExchangeIP=10.0.2.3

ExchangePort=1234

GatewayCompany=GTD

GatewaySessionId=Trader1

#BroadcastMarketPhaseChangeMessages=N

#MessageCacheFile=MessageCache

[ReservedSubscriptions]

#SFE AP;FUTURE;1

#SFE AP;FUTURE;2

SFE AP;FUTURE;3

#SFE AP;FUTURE;4

#SFE AP;FUTURE;5

#SFE AP;FUTURE;6

#SFE AP;SPREAD;1:2

#SFE XT;FUTURE;1

#SFE XT;FUTURE;2

SFE XTYT;SPREAD;1:1

#NZFOE TNTY;SPREAD;2:2

[ReservedDepthSubscriptions]

#SFE IR;FUTURE;1

#SFE IR;FUTURE;2

#SFE IR;FUTURE;3

#SFE IR;FUTURE;4

#SFE IR;FUTURE;5

#SFE IR;FUTURE;6

SFE IR;SPREAD;1:2

#SFE XT;FUTURE;1

#SFE XT;FUTURE;2

SFE XTYT;SPREAD;1:1

#NZFOE TNTY;SPREAD;2:2