Bitstamp
Coming SoonCrypto — Other
connectorType: "bitstamp"One of the longest-running crypto exchanges
Connection Architecture
Bitstamp
WebSocket / REST→
Connector
libs/exchange-bitstamp→
Provider
:8081/api→
Detector
Advisor
Studio
The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.
Technologies
Transport
WebSocketREST
Authentication
API Key + SecretData Format
JSONBest for
- Institutions and regulated funds that must route execution through licensed EU-compliant venues.
- Multi-exchange arbitrage strategies that benefit from Bitstamp's distinct liquidity profile and EU client base.
- Compliance-driven algorithmic trading operations requiring a full audit trail and regulated exchange counterparty.
- European retail and professional traders adding a second regulated spot venue alongside Coinbase or Kraken.
Connect via code
1Environment variables (.env)
BITSTAMP_API_KEY=your_key_here BITSTAMP_API_SECRET=your_secret_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "bitstamp",
"enabled": true,
"key": "${BITSTAMP_API_KEY}",
"secret": "${BITSTAMP_API_SECRET}",
"markets": [
{ "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
],
"subscriptions": [
{ "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
{ "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
{ "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
]
}
]
}
}3Verify and query data
# Verify connection curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ https://localhost:8081/api/exchanges/runtime-proof # Candles (last 7 days) curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ "https://localhost:8081/api/candles/bitstamp/spot/BTCUSDT/h1?days=7"
Available via Barfinex API
/api/candles/bitstamp/...
/api/trades/bitstamp/...
/api/orderbook/bitstamp/...
/api/account/bitstamp/...
/api/symbols/bitstamp/...
/api/assets/bitstamp/...
Studio graphical setup — in development, coming in the next release.
Important
Bitstamp supports spot trading only — futures and margin trading are not available on this exchange.
API keys are tied to a specific sub-account; if you use Bitstamp's sub-account feature, create a dedicated key for each sub-account you intend to trade.
Bitstamp enforces strict KYC and AML verification; institutional accounts require additional documentation before API access is granted.
Rate limits are conservative compared to pure-crypto venues (600 requests per minute for private endpoints) — design polling strategies accordingly.
Withdrawal address whitelisting is enforced; only pre-approved addresses can receive funds, which cannot be changed via API.
Connect in Studio(soon)
Exchange Website