AI-native runtime for Bitstamp trading strategies
Author in Cursor, Claude Code or any AI IDE. Deploy from GitHub into a managed cloud runtime with first-class MCP control, logs and region selection.
Section 01 · At a glance
At a glance
- Venue
- Bitstamp (Bitstamp by Robinhood)
- Venue type
- Crypto exchange, spot-first, EU-headquartered
- Asset class
- Crypto
- Supported products
- Spot is the primary surface. EU-regulated perpetual swaps are available through Bitstamp Financial Services under its Slovenian MiFID MTF licence, scoped to eligible EU institutional clients (not the default retail surface). A sandbox is published at https://sandbox.bitstamp.net/api/v2/.
- Runtime model
- Containerised strategy runtime on TradingHost
- Deployment source
- GitHub
- Languages
- Any language that runs in a container
- Common integrations
- Native Bitstamp HTTP API v2, WebSocket API v2, FIX (institutional), CCXT (bitstamp), Freqtrade, Hummingbot, custom
- AI workflow integration
- MCP control surface for deploy, logs, resource and region control
- TradingHost role
- Runtime, deployment, logs, health checks, region selection, MCP control
- Bitstamp role
- Exchange account, API and FIX access, market access, execution venue
- Affiliation
- TradingHost is independent and is not affiliated with Bitstamp or Robinhood, its parent since the acquisition closed on June 2, 2025. Bitstamp continues to operate under its own brand, API and licences, including CSSF (Luxembourg), FCA (UK), OAM (Italy), DNB (Netherlands), NYDFS BitLicense via Bitstamp USA Inc., and a Slovenian MiFID MTF licence held by Bitstamp Financial Services.
Section 02 · What Bitstamp offers
What Bitstamp offers
Bitstamp is a spot-first, EU-headquartered crypto exchange with EUR, GBP and USD books, SEPA and Faster Payments fiat rails, and an institutional FIX gateway. Strategies authenticate with HMAC-SHA256-signed v2 keys plus the X-Auth header family, and a public sandbox at sandbox.bitstamp.net mirrors the v2 surface for validation. Endpoint specifics change over time. The shape is durable; the precise rate-limit weights, fee tiers and symbol lists live in Bitstamp's docs.
Markets and strategy patterns
- EUR spot grid on BTC/EUR, ETH/EUR and majors
- GBP-quoted execution for UK desks via Faster Payments rails
- USD-EUR cross-venue arbitrage between Bitstamp and US venues
- SEPA and Faster Payments fiat funding cycles
- Spot market making across EUR, USD and GBP books
- Institutional FIX execution for low-latency order flow
- EU MiCA-compliant deployment patterns
- Sub-account-scoped strategy isolation
API surface
- Product surfaces
- Spot is the default product. EU perpetual swaps are available to eligible clients of Bitstamp Financial Services under its MiFID MTF licence.
- Connection methods
- HTTP API v2 (REST), WebSocket API v2 (wss://ws.bitstamp.net), and FIX for institutional clients. Sandbox mirror at https://sandbox.bitstamp.net/api/v2/.
- Authentication
- HMAC-SHA256 over a canonical request string, with API key, per-request nonce, and timestamp. Headers: X-Auth: BITSTAMP <api_key>, X-Auth-Signature, X-Auth-Nonce (36-char UUID, single-use within 150 s), X-Auth-Timestamp (ms, must be within 150 s of server), X-Auth-Version: v2. Optional X-Auth-Subaccount-Id scopes the call to a sub-account. IP whitelisting is supported per key.
For specifics, refer to Bitstamp
Specific endpoints, rate-limit weights, symbol lists, fee tiers and version history live in Bitstamp's documentation. Treat these as the source of truth.
Section 03 · Build with AI
Build your Bitstamp strategy with AI
Pick an integration method, fork a TradingHost framework starter, and author your strategy in an AI IDE. Cursor, Claude Code, GitHub Copilot and CLI-based AI agents all work with the same GitHub-native deployment loop.
Native Bitstamp API
Direct control over Bitstamp-specific behaviour, account data and order execution logic via HTTP v2 and WebSocket v2.
CCXT
Common interface across Bitstamp and other crypto exchanges. The `bitstamp` exchange id covers spot trading end to end.
Freqtrade or Hummingbot
Framework-based deployments using their strategy structure and configuration model. Hummingbot ships a first-class Bitstamp connector; Freqtrade reaches Bitstamp through its CCXT integration.
Custom connector
Your own internal trading engine, FIX gateway integration, or proprietary Bitstamp HTTP/WebSocket client.
Framework support for Bitstamp products
Bitstamp is spot-first, so the matrix is single-column. Native Bitstamp HTTP v2 plus WebSocket v2 covers the default surface end to end. CCXT and Hummingbot ship first-class spot support; Freqtrade reaches Bitstamp through CCXT on a community-best-effort basis.
✓ confirmed support per official framework docs. "partial" indicates community-best-effort coverage via CCXT rather than first-class framework support. Workflow links target /workflows/ pages currently in authoring.
TradingHost does not force a framework. It runs your project.
Author with AI
The framework starters above pair naturally with AI IDEs. The TradingHost MCP control surface closes the loop: AI tools can inspect deployments, review logs and manage the runtime alongside you, never the trade execution path.
Section 04 · Run on TradingHost
Run your code on TradingHost
Bitstamp provides the exchange and API access. TradingHost provides the production environment where your Bitstamp-connected strategy runs.
Instead of running strategy code on a laptop, desktop machine, generic VPS or manually configured server, you deploy from GitHub into a TradingHost-managed container runtime.
You
- Your repo contains your code.
- Your deployment defines how it runs.
- Your strategy connects to Bitstamp.
TradingHost
- Keeps the runtime online.
- Surfaces logs and health checks.
- Region selection.
- Controlled deployment surface.
Deployment flow
- STEP 01
Connect GitHub
Authorise TradingHost to access your GitHub account.
- STEP 02
Link a repo or start from a framework
Point TradingHost at your existing strategy repo, or fork a TradingHost framework runtime (CCXT, Freqtrade or Hummingbot) for a working baseline.
- STEP 03
Deploy into a TradingHost container
Pick a region (EU or US-East), supply the environment values your strategy needs (Bitstamp v2 API keys plus the X-Auth header family, etc.), and deploy. TradingHost builds your container from the repo and runs your strategy on managed Kubernetes infrastructure. No local Docker install required.
- STEP 04
Monitor logs and health
Watch live logs, health and runtime state from the TradingHost dashboard. The same surface is reachable through MCP from any AI IDE, so Cursor, Claude Code or a CLI agent can read deployment state and manage the runtime alongside you.
- STEP 05
Update and redeploy
Push changes to your GitHub main branch and TradingHost redeploys automatically.
Section 05 · Operational notes
Operational notes for Bitstamp
Things that bite you when you actually run a Bitstamp strategy in a containerised cloud runtime, not in Bitstamp's docs, not in framework READMEs. Every claim below is quoted or paraphrased from Bitstamp's own documentation; the deployment-side guidance is from running these strategies on TradingHost.
01 · HTTP v2
v2 is the active surface; deprecated v2 endpoints exist
Treat anything off https://www.bitstamp.net/api-deprecated/ as out of scope. Bitstamp has published sunset notices on specific v2 endpoints too, including /api/v2/trading-pairs-info/ (replaced by /api/v2/markets/ from end of 2024) and /api/v2/balance/. Check the API reference and blog before pinning a new endpoint.
02 · Nonce
Single-use 36-char UUID inside a 150-second window
Each X-Auth-Nonce is single-use within a 150-second window, and clock skew over 150 seconds on X-Auth-Timestamp will be rejected. Multi-worker strategies must serialise nonce generation or partition keys per worker. The most common error in production is collisions from a horizontally scaled deploy reusing one key, not signature math.
SourceBitstamp HTTP API v203 · Rate limits
400 rps per client, 10,000 per 10 minutes
The published default is 400 requests per second per client with a 10,000-request limit per 10 minutes; sustained higher throughput requires a bespoke agreement. Build strategies with REST budget headroom and lean on WebSocket v2 for hot-loop market data.
SourceBitstamp HTTP API v204 · FIX onboarding
Institutional sales-led, weeks not hours
FIX access is sales-led: open a support ticket or contact institutional support, complete KYB and authorised-signatory verification, agree commercials, and your environment is provisioned. Plan onboarding in weeks, not hours, and run FIX strategies in a long-lived TradingHost container with explicit region selection close to Bitstamp's matching engine.
05 · Sub-accounts
Per-key permissioning and per-sub-account scoping
A single Bitstamp account can issue multiple keys with explicit permission sets, and the X-Auth-Subaccount-Id header scopes a request to a named sub-account. Mint one key per TradingHost deployment, restrict it to the minimum verbs, and whitelist the TradingHost runtime egress IP.
SourceBitstamp HTTP API v206 · Robinhood acquisition
Brand-level continuity, API unchanged
The acquisition closed on June 2, 2025. The exchange continues to operate under the Bitstamp brand, with its own API, FIX gateway, licences and market structure. Robinhood Crypto is a separate venue with a separate API and is out of scope for this page.
SourceBitstamp blog07 · Common errors
Deterministic auth and limit failures
"API key not found", "Invalid signature" (canonical string mismatch, usually content-type or body ordering), "Invalid nonce" (replay inside the 150 s window), "IP address has no permission to use this API key" (whitelist miss), and rate-limit 429s on burst sweeps. All are deterministic and fixable in the strategy, not the runtime.
SourceBitstamp HTTP API v2
Section 06 · Built for
Built for
TradingHost Bitstamp runtimes are best suited to:
- EU spot traders running EUR-denominated strategies on a regulated EU venue with SEPA rails
- UK desks needing GBP quoting and Faster Payments funding without a third-country fiat hop
- Cross-venue arbitrage teams running USD-EUR or GBP-EUR loops between Bitstamp and US venues
- Institutional FIX clients needing low-latency order entry against a MiFID-aware operator
- AI-IDE-native builders writing Bitstamp strategies in Cursor or Claude Code
Connecting GitHub and creating your first strategy is free.
Section 08 · FAQ
FAQ
No. TradingHost is independent and is not affiliated with Bitstamp or Robinhood, its parent since the acquisition closed on June 2, 2025.
No. Your strategy code connects to Bitstamp and sends instructions according to your own logic, account permissions and integration method. TradingHost provides the runtime where that code runs.
No. Bitstamp API access is provided by Bitstamp. You are responsible for your Bitstamp account, API permissions, credentials and compliance with Bitstamp’s terms.
No material change. Robinhood closed the acquisition on June 2, 2025 and Bitstamp continues to run under its own brand, API surface, FIX gateway and licence portfolio. Authentication, endpoints, sub-accounts and rate limits are unchanged. Robinhood Crypto remains a separate venue with a separate API.
No. TradingHost is the cloud runtime where your strategy code runs. We do not provide signals, AI prediction models or pre-built strategies. With TradingHost you write or generate the strategy yourself (often with Cursor or Claude Code), keep it in GitHub as your code, and use TradingHost to run it in production. 3Commas, Cryptohopper and similar products own the strategy logic; TradingHost runs your strategy.
AWS and DigitalOcean give you raw compute. You handle OS updates, container orchestration, log shipping, secret rotation, region failover and uptime monitoring yourself. TradingHost gives you a managed runtime purpose-built for trading strategies: GitHub-native deployment, MCP-driven control from AI IDEs, log and health surfaces out of the box. If you want to operate the infrastructure yourself, AWS works. If you want the runtime as a managed service, TradingHost is the shorter path.
Yes. TradingHost runs Python strategies; pick the framework runtime that matches your stack or deploy your own repo.
Yes. TradingHost supports any language that can run inside a container.
Yes. CCXT's `bitstamp` exchange id covers spot trading end to end. Margin, swap, future and option flags are off in the unified config, so route derivatives flow through Bitstamp's native FIX or HTTP surface instead. Inside the TradingHost container, instantiate CCXT with the API key and secret pulled from runtime secrets, not from the repo. See the CCXT framework runtime for the full setup story.
Yes. Bitstamp supports sub-accounts and per-key permissioning, and any request can be scoped to a sub-account through the X-Auth-Subaccount-Id header. On TradingHost, mint one key per deployment, restrict its verbs to the minimum the strategy needs, IP-whitelist the TradingHost egress, and isolate the keys per sub-account so one strategy cannot read or cancel another's orders. See the TradingHost runtime page for the multi-strategy model.
The fastest path is to fork a TradingHost framework runtime: CCXT, Freqtrade or Hummingbot for a ready-to-deploy project. Or connect your own GitHub strategy repo. Linking a GitHub repo and creating a strategy is free; runtime plans are listed on the pricing page.
In your GitHub-controlled secrets workflow. TradingHost reads them at runtime through GitHub repository secrets, environment secrets or your own approved secret-management process. TradingHost does not need custody of your API key and secret. See platform secrets for the full handling model.
The minimum the strategy needs, no more. Bitstamp supports per-key permissioning, so a market-making strategy gets read and trade verbs only, never withdrawal. Pair each key with IP whitelisting against the TradingHost runtime egress range for your selected region, and scope it to a sub-account via X-Auth-Subaccount-Id where strategy isolation matters.
Yes, through Bitstamp USA Inc., which holds a NYDFS BitLicense plus state money-transmitter licences and FinCEN MSB registration. State availability varies, so check Bitstamp USA's coverage before assuming access. The Bitstamp USA API surface mirrors the global surface for the products it offers.
Yes. TradingHost supports MCP-based control for AI IDEs including Cursor, Claude Code, GitHub Copilot and CLI-based AI agents. AI tools can inspect deployments, review logs, restart strategies and manage runtime workflows. MCP is a control and observability surface, not the trade execution path. See the MCP control surface for the full picture.
Both. The MCP control surface works equally well from CLI-based agents (Claude Code CLI, custom MCP clients, scripted MCP calls) and from inside an IDE. The GitHub-native deployment loop also works without any AI tooling: a regular git push to your main branch triggers a redeploy.
The runtime detects the crash and exposes the relevant logs and health information. Where supported, the affected strategy can be restarted without disrupting other strategies running in the same container. Your strategy code is still responsible for safe error handling, duplicate-order protection and risk controls. See observability for the logs and health surface.
Bitstamp's v2 auth treats each X-Auth-Nonce as single-use inside a 150-second window and rejects timestamps more than 150 seconds from server time. The error is almost always a horizontally scaled deploy sharing one key across workers, or two co-located strategies racing on the same nonce. Fix by serialising the nonce source (one monotonic generator per key), or by minting one key per worker and whitelisting both egress IPs.
TradingHost runs in the EU and US-East regions. Pick the region closest to the matching engine your strategy depends on. See the regions page for routing and proximity details.
No. TradingHost is focused on production runtime and deployment. Backtesting belongs in your research stack, framework or AlgoBuilder.