Crypto.com Trade Connector
Features
crypto-cryptocomConnector Key✗
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
| Parameter | Default Value | Description |
|---|---|---|
cancelOnDisconnect | true | Cancel on Disconnect. |
tradingType | CASH | Trading type. Possible values: CASH, MARGIN. |
selfMatchPreventionScope | NONE | Self Match Prevention Scope. Valid values: NONE, MASTER_OR_SUBACCOUNT, SUBACCOUNT_ONLY. |
selfMatchPreventionInstruction | Defines the strategy of dealing with matching orders if SMP is triggered. Valid values: CANCEL_RESTING, CANCEL_TAKING, CANCEL_BOTH. | |
selfMatchPreventionId | Numeric. Possible Value: 0 to 32767. Required when market participants elect to use the optional SMP functionality. | |
feeCurrency | Specify the preferred fee token. |
Supported order attributes
| Key | Description |
|---|---|
| 18 | '6' value used for post only orders submission |
| 544 | Trading type. Allowed values: SPOT - Cash (no margin), MARGIN - Margin. |
| 12362 | selfMatchPreventionScope(12362). Valid values: M - Matches Master or Sub Account, S - Matches Sub Account only |
| 2964 | SelfMatchPreventionStrategy(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. |
| 2362 | SelfMatchPreventionID(2362). Possible Value: 0 to 32767. |
Config sample
connectors {
CRYPTOCOM: ${template.connector.crypto.cryptocom} {
settings {
apiKeys: [{
apiKey = "<API_KEY>"
apiSecret = "<API_SECRET>"
}]
}
}
}