← Back to X_TRADER® Help Library

HKEx Gateway Documentation

Trader and Firm Identification

Obtaining Exchange Credentials/Membership

Before trading at HKEx, individuals must obtain a Membership. The exchange offers the following membership categories:

  • Clearing Member
  • Trading Member

In addition, the following unique connection information is required from the exchange:

  • Order routing ID (Order Server)
  • Password (Order Server)
  • IP Address (Price Server, Order Server)
  • Port Number (Price Server, Order Server)

TT Direct Trader IDs

You can determine and set up any Member ID, Group ID, and Trader ID you like.

You must complete the following fields in Guardian to map a TTORD proxy trader to a direct trader:

  • Exchange: The TT Gateway Exchange-Flavor (e.g., HKEx-A).
  • Member: Identifies the client’s Member login.
  • Group: A three-digit variable defined by the firm.
  • Trader: A multi-digit variable defined by the firm.

TTORD Trader IDs

The following lists how HKEx Gateways use TTORD trader IDs.

  • HKEx Gateways support TTORDs.
  • You can map multiple TTORDs to one direct Exchange trader.

Each TTORD ID used to connect to and trade on the Exchange must use a unique clearing account.

X_TRADER® Mapping to the Exchange API

The following table shows X_TRADER® fields mapped to OMNet API fields:


Max Length Allowed

Mapped OMNet API Field


Mandatory for Order Routing?


10 characters

Not sent to the exchange

Trader Identifier



15 characters


Customer Identification #


15 characters


Free Text


For Give Up orders only

Account Type


Account type mapping to exchange account codes is configured in hostinfo.cfg on the gateway.


Give Up

5 characters

Give Up Member (ex_customer_s)

Carrying Participant Code (Five digit number)

For Give Up orders only