Skip to main content

Cumberland Trade Connector

Features​

cumberlandConnector Key
Instruments
FX
Request Types
SUBMIT
Order Types
MARKETLIMITPREVIOUSLY_QUOTED
Time In Force
FOK
Order ID Mapper
SEQUENCE
✗
Order Status Request
✗
Cancel On Disconnect
✓
Commission
✗
Post Only
✗
Fast Cancel
✗
Fast Replace

Notes​

Message Recovery​

Cumberland requires sequence numbers to be reset on each logon.

Connectivity​

Cumberland requires a secure connection via stunnel. Certificate material is provided in PKCS12 format with a password.

Example commands to prepare certificate files for stunnel:

openssl pkcs12 -in 0e32fc4c-675a-4b7f-8aea-574ee0eacaaa.p12 -out cumberland.crt -clcerts -nokeys -passin 'pass:<<PASSWORD>>'
openssl pkcs12 -in 0e32fc4c-675a-4b7f-8aea-574ee0eacaaa.p12 -nocerts -out cumberland.key -passin 'pass:<<PASSWORD>>'
openssl rsa -in cumberland.key -out nopass-cumberland.key

Stunnel configuration:

[CUMBERLAND]
client=yes
accept = 6000
connect = api-v00-cert.cumberlandmining.com:24001
cert = /home/centos/CCE/cumberland.crt
key = /home/centos/CCE/nopass-cumberland.key
sslVersion = TLSv1.2

SecurityList Request​

The connector can optionally request a Security List on startup. This is disabled by default and can be enabled via requestSecurityList = true in the connector settings.

Symbology​

Currency pairs use underscore-separated notation, e.g. BTC_USD.

Trading is available 24/7.

Configuration​

Connector settings​

ParameterDefault ValueDescription
onBehalfOfCompIdCounterparty ID.
onBehalfOfSubIdUser ID.
senderSubIdTrader ID.
useTraderfalseUse request's Trader ID (if provided) for OnBehalfOfSubID(116)
requestSecurityListfalseOne time request of the security list on connector start.

Supported order attributes​

KeyDescription
116OnBehalfOfSubId(116). User ID.
115OnBehalfOfCompID(115). Counterparty ID.

Config sample​

connectors {
CUMBERLAND : ${template.connector.fix.cumberland20} {
settings {
host = "<STUNNEL_HOST>"
port = <STUNNEL_PORT>

senderCompId = "<SENDER_COMP_ID>"
targetCompId = "cumberland"

senderSubId = "<SENDER_SUB_ID>"
onBehalfOfSubId = "<ON_BEHALF_OF_SUB_ID>"
onBehalfOfCompId = "<ON_BEHALF_OF_COMP_ID>"
}
}
}