Skip to main content

Crypto.com FIX Trade Connector

Features​

fix-cryptocomConnector Key
Instruments
FXFUTURE
Request Types
SUBMITCANCEL
Order Types
MARKETLIMITPREVIOUSLY_QUOTED
Time In Force
IOCFOKGTC
Order ID Mapper
COMPOSITE
✗
Order Status Request
✓
Cancel On Disconnect
✓
Commission
✓
Post Only
✓
Fast Cancel
✗
Fast Replace

Notes​

Connectivity​

FIX sessions require an AWS Private Link connection.

Schedule​

The FIX gateway (Order Management only) undergoes weekly maintenance on Thursdays between 07:05–07:10 UTC.
Plan for a disconnect at 07:04 UTC and reconnect at 07:10 UTC with sequence numbers reset to 1/1.

Cancel on Disconnect​

Supported, and configurable via the cancelOnDisconnect setting.

Known Issues​

The server does not respond when:

  • API key message in Logon message is invalid.
  • ClOrdID(11) exceeds 36 characters

Symbology​

Configuration​

Connector settings​

ParameterDefault ValueDescription
apiKeyApi Key
apiSecretApi Secret
cancelOnDisconnecttrueCancel on Disconnect.
tradingTypeCASHTrading type. Possible values: CASH, MARGIN.
selfMatchPreventionScopeNONESelf Match Prevention Scope. Valid values: NONE, MASTER_OR_SUBACCOUNT, SUBACCOUNT_ONLY.
selfMatchPreventionInstructionDefines the strategy of dealing with matching orders if SMP is triggered. Valid values: CANCEL_RESTING, CANCEL_TAKING, CANCEL_BOTH.
selfMatchPreventionIdNumeric. Possible Value: 0 to 32767. Required when market participants elect to use the optional SMP functionality.

Supported order attributes​

KeyDescription
18ExecInst(18). Valid values: 6 for Post-Only.
544Trading type. Allowed values: 1 - Cash (no margin), 2 - Margin.
12362selfMatchPreventionScope(12362). Valid values: M - Matches Master or Sub Account, S - Matches Sub Account only
2964SelfMatchPreventionStrategy(2964). Defines the strategy of dealing with matching orders if SMP is triggered. Valid values: 2 -Cancel resting order, 1 - Cancel aggressing order, 3 - Cancel both.
2362SelfMatchPreventionID(2362). Possible Value: 0 to 32767.
7933BrokerId(7933). Optional Field, Broker ID of the client.

Config sample​

connectors {
CRYPTOCOM : ${template.connector.fix.cryptocom} {
settings {
host = "<STUNNEL_HOST>" # stunnel host
port = <STUNNEL_PORT> # stunnel local port

senderCompId = "<SENDER_COMP_ID>"
targetCompId = "<TARGET_COMP_ID>"

apiKey = "<API_KEY>"
apiSecret = "<API_SECRET>"

tradingType = "CASH" # CASH or MARGIN
}
}
}