KuCoin Spot Trade Connector
Features
crypto-kucoinConnector Key✗
Order Status Request
✗
Cancel On Disconnect
✗
Commission
✗
Post Only
✗
Fast Cancel
✗
Fast Replace
Notes
Restrictions
The DECREASE_AND_CANCEL self-trade prevention option is not supported because the connector cannot detect order size reduction.
Symbology
-
Instruments https://api.kucoin.com/api/v1/symbols
Configuration
Connector settings
| Parameter | Default Value | Description |
|---|---|---|
| apiPassphrases.apiPassphrase | The passphrases you specified when creating the APIKey | |
| tradeType | SPOT | Default trade type. Values: SPOT, MARGIN. |
| marginMode | CROSS | Default margin mode. Values: CROSS, ISOLATED. |
| autoBorrow | false | Auto Borrow flag. If flag is on the system will first borrow you funds at the optimal interest rate and then place an order for you. |
| selfTradePrevention | Default Self Trade Prevention mode. Values: DECREASE_AND_CANCEL, CANCEL_OLDEST, CANCEL_NEWEST, CANCEL_BOTH. | |
| apiKeyVersion | 2 | ApiKey version. Exchange automatically migrated some of the apiKeys to the v3 version. You should check your ApiKey version and if it differs from default value change it. |
Supported order attributes
| Key | Description |
|---|---|
| 6301 | Default trade type. Values: SPOT, MARGIN. |
| 6302 | Default margin mode. Values: CROSS, ISOLATED. |
| 6303 | Auto Borrow flag. If flag is on the system will first borrow you funds at the optimal interest rate and then place an order for you. |
| 6304 | Default Self Trade Prevention mode. Values: DECREASE_AND_CANCEL, CANCEL_OLDEST, CANCEL_NEWEST, CANCEL_BOTH. |
Config sample
connectors {
KUCOIN: ${template.connector.crypto.kucoin} {
settings {
apiKeys: [
{
apiKey = "API KEY"
apiSecret = "API SECRET"
}
]
apiPassphrases = [
{
apiPassphrase = "API PASSPHRASE"
}
]
tradeType = MARGIN
marginMode = CROSS
autoBorrow = true
selfTradePrevention = null # OFF by default
}
}
}