BSDEX Trade Connector
Features
crypto-bsdexConnector KeyNotes
Documentation
https://docs.bsdex.de/#section/introduction
Client Order ID
According to the Exchange requirements, Client Order ID must not be longer than 64 characters and contain only letters, digits, dashes or underscores.
Parameters sourceId and orderId of order requests must comply with this requirement.
Important: sourceId must not contain dashes (-), because sourceId and orderId are concatenated with a - delimiter.
The Exchange rejects requests with the Client Order ID exceeding the limits.
Market Orders
Market BUY orders are not supported.
Order quantity and price
The exchange requires order quantity and price to match the instrument's precision. Important: Quantities that exceed the supported precision are silently truncated by the exchange.
WebSocket
The exchange provides a WebSocket subscription per instrument symbol. The connector subscribes to WebSocket events for each tradable instrument.
Symbology
Currency pairs in BASE-QUOTE format, lowercase, e.g. btc-eur, eth-eur.
Instruments: https://api-public.bsdex.de/markets
Configuration
Connector settings
| Parameter | Default Value | Description |
|---|---|---|
| cancelOnDisconnect | true | Used to enable or disable cancel all open orders if websocket session is disconnected. |
| websocketHeartbeatInterval | 10 seconds | Websocket heartbeat interval. |
| logHeartbeat | false | Enables heartbeat logging. |
| bsdexSyncSettings.ordersRequestSizeLimit | 200 | Limitation for the number of orders in the orders history response. Maximum value is 1000. |
| bsdexSyncSettings.forcedRequestPollLimit | 1 | Limitation for the number of forced synchronisation requests processed per polling cycle. |
Config sample
include classpath("crypto-connectors.conf")
connectors {
BSDEX: ${template.connector.crypto.bsdex} {
settings {
restUrl = "https://api-public.bsdex.de"
websocketUrl = "wss://api-public.bsdex.de/api/v1/ws"
cancelOnDisconnect = true
apiKeys: [
{
apiKey = "<API_KEY>"
apiSecret = "<API_SECRET>"
}
]
}
}
}