Configuring an Order and Fill ServerConnection

Overview

You must configure and establish a unique connection for each FIX Order Session. For information related to configuring multiple FIX Order Sessions, refer to Configuring Order Management.

Section: [OrderServer]

[OrderServer] section parameters

Parameter

Description

[OrderServer]

By default, this parameter is not present in hostinfo.cfg.  Add the [OrderServer] section when configuring the UseDefaultMiFID  parameter in this section

UseDefaultMiFID

To support MiFID II compliance, MEFF Gateway 7.18.25 includes a UseDefaultMiFID parameter in hostinfo.cfg. When enabled, this parameter configures the Order Server to send default values for MiFID II tags. Valid values:

  • 1: Sends default MiFID values.
  • 0: Does not send default MiFID values.

By default, this parameter is not present and the Order Server does not send default MiFID II tag values.

Note: If users have not upgraded to TT client application versions that support configuration of the MiFID II fields, you can enable UseDefaultMiFID  to send MiFID default values. However, clients need to upgrade all relevant client software prior to January 3, 2018, at which time proper population of these tags will be required for regulatory purposes.

When the UseDefaultMIFID parameter is set to 1, the following default values will be submitted on orders:

  • Trading Capacity: AOTC
  • Investment Decision ID: 3
  • Execution Decision ID: 1234
  • Client ID: 111

Order Session Parameters

To establish an Order and Fill Server connection to the exchange, you must configure the following parameters in each [OrderServerSession] section of the hostinfo.cfg file:

[OrderServerSession] section parameters

Parameter

Description

[OrderServerSession]

This is the user-defined section heading. This must exactly match the title listed in the Sessions parameter in the [OrderServer] section.

ExchangeIP

Sets the IP address that the MEFF Gateway uses to connect this order session to the exchange. The exchange assigns this value.

ExchangePort

Sets the port that the MEFF Gateway uses to connection to the exchange. The exchange assigns this value.

HighAvailabilityIP

Sets the backup IP address that the MEFF Gateway uses to connect this order session to the exchange. If the order session cannot connect using the ExchangeIP, the MEFF Gateway automatically attempts to connect using the HighAvailabilityIP. This IP address is provided by the exchange.

HighAvailabilityPort

Sets the backup port that the MEFF Gateway uses to connect this order session to the exchange. If the order session cannot connect using the ExchangePort, the MEFF Gateway automatically attempts to connect using the HighAvailabilityPort. This port number is provided by the exchange.

GatewayCompany

Identifies the name of the firm that sends messages from the MEFF Gateway. This field supplies the value of the Tag 49 (SenderCompID) in all outbound messages for that connection. Provided by the exchange.

GatewaySessionId

Maps the trader id for all messages sent from the MEFF Gateway to the exchange host. This field supplies the value of the Tag 50 (SenderSubID) in all outbound messages for that connection. Provided by the exchange

Member

Sets the user-defined member whose orders route through this order session. When configuring multiple order sessions, you can add a Member parameter to load balance traders’ orders.

By default, this parameter is commented-out and the MEFF Gateway routes orders through the first order session that contains matching login information.

The Member parameter must equal less than 12 characters.

Note

This functionality is only supported for non-multi-traders.

ExchangeCompany

Identifies the name of the exchange host that sends messages to the MEFF Gateway. This field supplies the value of the Tag 56 (TargetCompID) in all inbound messages to the MEFF Gateway

The default value is XMEF.

ExchangeSessionId

Sets the username the Order Server uses to connect to the exchange for order data. Each order session requires a unique username.

SessionPassword

Sets the password the Order Server uses to connect to the exchange for order data. This must match the password distributed by the exchange. If needed, you must contact the exchange to request a password change.