HKEx Gateway Documentation
- HKEx Gateway And The Exchange
- Installing And Upgrading
- Configuring Global Settings
- Configuring Market Data
- Configuring The Order Server
- Disaster Recovery
Configuring the Price Server Connection
To create a Price API connection, you must configure the Price Server connection parameters in the [PriceServer] section of hostinfo.cfg. You can optionally use the [PriceServer] section to configure dedicated NIC settings for market data.
Configure this section to set the product group subscriptions for the Price Server connection to the OMD-D Full-Tick market data feed. The IP addresses and ports for each product group are defined in the MultiCastGroup.cfg file. The HKEx Gateway only uses one [PriceServer] section in hostinfo.cfg.
Configure the following parameters:
Configures the type of data (i.e., products) to which the HKEx Gateway subscribes. You can subscribe to any market data that has a [section title] section in the MulticastGroup.cfg file. For example, MulticastGroup=DERIVATIVES_NON_SOM_PARTITION_1
The value of this parameter must exactly match the value of a multicast group parameter in the MulticastGroup.cfg file. The gateway uses MulticastGroup.cfg to determine how to connect to the OMD-D Full-Tick market data feed.
By default, the gateway subscribes to both “SOM” and “NON_SOM” products: “SOM” is for trading the stock options market, and “NON_SOM” is for trading futures, options on indexes, and all other products available on the market data feed. To unsubscribe to a product group, type and enter a # in front of the MulticastGroup parameter (e.g., #MulticastGroup=DERIVATIVES_NON_SOM_PARTITION_1).
|NetworkInterface||Sets the IP address for a dedicated network interface card (NIC) in trading environments that utilize multiple NICs. In addition, you may assign a separate NIC for each price feed by using the NetworkInterfaceA and NetworkInterfaceB parameters.|
Sets the server ID for connecting via TCP/IP to the OMD-D Full-Tick retransmission service to recover lost packets. For example, ReplayID=TD-TTHK1
## The user name for Retransmission Server
# Unless your Primary NIC is in the exchange network,
# uncomment the applicable line(s) below and
# fill in the NIC IP address(es)