HKEx Gateway Documentation
- HKEx Gateway And The Exchange
- Installing And Upgrading
- Configuring Global Settings
- Configuring Market Data
- Configuring The Order Server
- Disaster Recovery
Price Server Files
Price Server Log File
At startup, the Price Server creates a Price Server logfile named Exchange-Flavor_Mode_PriceServer_Date.log to the <root drive>:ttlogfiles directory where:
- Exchange-Flavor equals the Gateway named chosen at install (e.g., OSE-B).
- Mode equals the trading environment: PROD (Production) or SIM (Simulation).
The Price Server adds a new entry for each action, including initialization behavior, logins, configuration values, and contract definitions. You can use the Price Server logfile to aid in diagnosing problems related to market data.
The HKEx Gateway uses the MulticastGroup.cfg file to determine all market data connection settings. MulticastGroup.cfg is an index file that maps connectivity information to the various multicast groups that HKEx broadcasts over the OMD-D Full-Tick market data feed, and is not configurable. Connectivity information to the retransmission service is also included.
The MulticastGroup.cfg file stores connection information for multicast group data in unique channel sections. By default, the HKEx Gateway does not automatically download all of the various feeds listed in the MulticastGroups.cfg file. To download the feed for a particular multicast group, you must configure a MulticastGroup= parameter in the [PriceServer] section in hostinfo.cfg.
# Channel ID = 121, Msg = 330,331,332,335,350,364
# Channel ID = 101, Msg = 303,305
The file contains the following parameters:
Sets the type of data (i.e., products), channel number, and all connectivity parameters for the products on the OMD-D Full-Tick feed. Use the section title when configuring product subscriptions in hostinfo.cfg.
Sets the IP addresses for recovering lost packets via a TCP/IP connection to the OMD-D Full-Tick retransmission services.
|ChannelNumber||A variable number that identifies the [section title]. HKEx specifies this value.|
|SecurityDefinitions||Sets the names of the products and contracts being broadcast on the OMD-D Full-Tick channel (ServiceID).|
|ServiceID||Sets the channel where HKEx broadcasts market data for the product.|
|AddressFeed#||Sets the IP address and port that HKEx uses to broadcast the multicast market data for the product.|
|RefreshAddressFeed#||For purposes of disaster recovery, each [section title] can contain multiple AddressFeed# and RefreshAddressFeed# parameters. HKEx specifies these values.|
|InstrumentServiceID||Sets the channel where HKEx broadcasts security definitions data for the product.|
|InstrumentAddressFeed#||Sets the IP address and port that HKEx uses to broadcast security definitions.|
|InstrumentRefreshAddressFeed#||For purposes of disaster recovery, each [section title] can contain multiple InstrumentAddressFeed# and InstrumentRefreshAddressFeed# parameters. HKEx specifies these values.|