Marex Trade Connector
Features
fix-marexConnector KeyNotes
Custom Attributes
Use customAttributesSet settings to control what order attributes can be forwarded to FIX messages.
The default value is 77,109,376,439,6000-6299,9112,9113. The null value means that order attributes will be ignored.
Order Status
Order Status Request is not supported.
Order side
Orders with SELL_SHORT or SELL_SHORT_EXEMPT side require the locateBroker configuration setting.
Order quantity and price
The exchange requires order quantity and price to match the instrument's precision.
Quantities that exceed the supported precision are silently truncated by the exchange.
Currency
Currency is a required property for OrderNew request.
Settlement Type
Settlement Type from the order request is sent to the exchange as is. Valid values are listed below.
| Settlement Type | Description |
|---|---|
| 0 | Regular |
| 1 | Cash |
| 2 | Next Day |
| 3 | T+2 |
| 4 | T+3 |
| 5 | T+4 |
| 6 | Future |
| 7 | Sellers Option |
Symbology
Symbol(55) and Suffix(65) are the minimum required security identifiers. Additionally, the exchange prefer to receive additional identifiers with IDSource(22), SecurityID(48) and SecurityExchange(207).
Symbol(55) is provided with the order request, the other tags can be set from three sources according to the table below, in increasing priority order:
- Connector settings — default value applied to all instruments.
- Security Metadata Stream — overrides the connector setting for a specific instrument.
- Order custom attributes — highest priority, overrides both of the above.
| Tag | Connector setting | Security Metadata Stream column | Custom attribute |
|---|---|---|---|
| Suffix(65) | - | - | 65 |
| IDSource(22) | securityIdSource | - | 22 |
| SecurityID(48) | - | marexSecurityId | 48 |
| SecurityExchange(207) | - | marexExchange or Exchange | 207 |
Configuration
Connector settings
| Parameter | Default Value | Description |
|---|---|---|
| account | Account(1) tag default value. | |
| useAccount | false | The flag to define whether to use order account in preference of default account. |
| onBehalfOfCompId | (Optional) Default value for OnBehalfOfCompID(115) tag. | |
| onBehalfOfSubId | (Optional) Default value for OnBehalfOfSubID(116) tag used to represent trader's name. | |
| locateBroker | MPID of locate broker required for Sell Short and Sell Short Exempt orders. | |
| algoStrategy | DMA | Default value for StrategyTag(847) tag used to set algo strategy name. |
| securityIdSource | Identifies class of alternative SecurityID. Valid values: CUSIP, SEDOL, ISIN_NUMBER. | |
| useTrader | false | The flag to define whether to use order traderId as OnBehalfOfSubID(116) in preference of default setting. |
| customAttributesSet | 77,109,376,439,6000-6299,9112,9113 | The set of order request attributes which should be passed in FIX message. Format: 18,9000-9500. If null - attributes will not be passed. |
Supported order attributes
| Key | Description |
|---|---|
| 115 | OnBehalfOfCompId(115). |
| 116 | OnBehalfOfSubId(116). |
| 21 | HandlInst(21). Valid values: 2 = ALGO, 3 = CARE. |
| 22 | SecurityIDSource(22). Valid values: 1 = CUSIP, 2 = SEDOL, 4 = ISIN_NUMBER. |
| 48 | SecurityID(48). |
| 65 | SymbolSfx(65). |
| 76,6076 | ExecBroker(76). |
| 114 | LocateReqd(114). Valid values: Y, N. |
| 207 | SecurityExchange(207). |
| 847 | StrategyTag(847). |
| 5700 | LocateBroker(5700). |
Config sample
connectors {
MAREX : ${template.connector.fix.marex} {
settings {
host = "<HOST>"
port = <PORT>
senderCompId = "<SENDER_COMP_ID>"
targetCompId = "<TARGET_COMP_ID>"
}
}
}