← Back to X_TRADER® Help Library
HKEx Gateway Documentation
Exchange Host Failure and Recovery
Overview
In the unlikely event that the actual Exchange host fails, all electronic traders on that Exchange lose their connections.
Connection Failure
If the Exchange host fails, traders experience the following:
- Orders in transit before the failure are lost.
- The HKEx Gateway’s Order and Price Servers begin cycling (i.e., starting up and shutting down according to the schedule set in the ttchron.ini file).
- All price, order, and fill data becomes stale.
- All orders and fills are stored in Exchange_Flavor_OrderStore.dat.
- Traders lose their connections and cannot trade.
Connection Recovery
After a failure, TTChron restarts any components scheduled to be running. After a successful restart of the Gateway, the following activities occur:
- Fills: From the Exchange, the HKEx Gateway requests and downloads all successful fills. The HKEx Gateway does not download any fill information that has already been received from the Exchange.
- Orders: Upon reconnect, traders’ can resume trading. The HKEx Gateway downloads all order information from the Exchange. The Order Book will be correctly populated. Upon reconnect, traders’ can resume trading however, the traders’ Order Book will only populate with new submitted orders.