Skip to main content

Crypto.com Trade Connector

Features​

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

Notes​

Response and Reason Codes​

https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html?java#response-and-reason-codes

Symbology​

Instrument list available via the following request: https://api.crypto.com/exchange/v1/public/get-instruments

Configuration​

Connector settings​

ParameterDefault ValueDescription
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.
feeCurrencySpecify the preferred fee token.

Supported order attributes​

KeyDescription
18'6' value used for post only orders submission
544Trading type. Allowed values: SPOT - Cash (no margin), MARGIN - 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: M -Cancel resting order, T - Cancel aggressing order, B - Cancel both.
2362SelfMatchPreventionID(2362). Possible Value: 0 to 32767.

Config sample​

connectors {
CRYPTOCOM: ${template.connector.crypto.cryptocom} {
settings {
apiKeys: [{
apiKey = "<API_KEY>"
apiSecret = "<API_SECRET>"
}]
}
}
}