Skip to main content

BSDEX Trade Connector

Features

crypto-bsdexConnector Key
Instruments
FX
Request Types
SUBMITCANCEL
Order Types
MARKETLIMITSTOP_LIMIT
Time In Force
GTC
Order ID Mapper
COMPOSITE
Order Status Request
Cancel On Disconnect
Commission
Post Only
Fast Cancel
Fast Replace

Notes

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.

warning

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

ParameterDefault ValueDescription
cancelOnDisconnecttrueUsed to enable or disable cancel all open orders if websocket session is disconnected.
websocketHeartbeatInterval10 secondsWebsocket heartbeat interval.
logHeartbeatfalseEnables heartbeat logging.
bsdexSyncSettings.ordersRequestSizeLimit200Limitation for the number of orders in the orders history response. Maximum value is 1000.
bsdexSyncSettings.forcedRequestPollLimit1Limitation 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>"
}
]
}
}
}