Read time … min

AI-native runtime for Coinbase 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.

By the TradingHost engineering team

Section 01 · At a glance

At a glance

Venue
Coinbase
Venue type
Crypto exchange
Asset class
Crypto, plus stock and commodity perpetuals on Coinbase International Exchange
Supported products
Spot (Coinbase Advanced), US perpetual-style futures and nano BTC/ETH futures via Coinbase Financial Markets (CFTC-regulated, live since July 21, 2025), USDC-settled perpetuals on Coinbase International Exchange (crypto, stock and gold/silver perps), crypto options via Deribit (acquired August 14, 2025)
Runtime model
Containerised strategy runtime
Deployment source
GitHub
Languages
Any language that runs in a container
Common integrations
Native Coinbase Advanced REST and WebSocket, CCXT, Hummingbot coinbase_advanced_trade connector (spot only), Coinbase INTX REST, FIX and WebSocket, Coinbase Prime REST, FIX and WebSocket for institutional, custom SDKs
AI workflow integration
MCP control surface for Cursor, Claude Code, GitHub Copilot and CLI agents
TradingHost role
Runtime, deployment, logs, health checks, region selection, MCP control
Coinbase role
Exchange account, API access, market access, execution venue
Affiliation
TradingHost is independent and is not affiliated with Coinbase or Deribit, its subsidiary since August 2025

Section 02 · What Coinbase offers

What Coinbase offers

Coinbase spans four trading surfaces with three authentication schemes: Coinbase Advanced for retail spot and CFM-listed US perpetual-style futures, Coinbase Exchange for institutional spot, Coinbase International Exchange (INTX) for USDC-settled perps including crypto, stock and gold/silver perps, and Coinbase Prime for institutional brokerage. Crypto options live on Deribit, which Coinbase acquired on August 14, 2025 for roughly $2.9B, and continue to run on the existing Deribit API. Endpoint specifics change over time. The shape is durable; the precise rate-limit weights, fee tiers and symbol lists live in Coinbase's docs.

Markets and strategy patterns

  • USDC-settled perp market making on Coinbase International
  • CFTC-regulated US nano BTC and ETH perpetual-style futures execution
  • Cross-collateral basis arbitrage on Coinbase International (USDC, BTC, ETH posted as margin across 40+ assets)
  • Stock perpetual futures strategies (US single-name perps on Coinbase International)
  • Spot Advanced Trade TWAP execution against USD and USDC pairs
  • Options and spot delta hedging via Deribit paired with Coinbase spot
  • USDC funding-rate carry strategies on US perp-style futures and Coinbase International perps
  • Gold and silver perpetual futures on Coinbase International (live April 22, 2026)

API surface

Product surfaces
Coinbase Advanced (retail spot plus US perp-style futures via CFM), Coinbase Exchange (institutional spot, formerly Coinbase Pro), Coinbase International Exchange / INTX (USDC-settled perps), Coinbase Prime (institutional brokerage), and a sandbox at api-sandbox.coinbase.com that mocks Accounts and Orders only. Deribit retains its own API post-acquisition.
Connection methods
REST and WebSocket on Advanced, Exchange and INTX. FIX on INTX and Prime. WebSocket-only market data on some surfaces.
Authentication
CDP API keys signed as JWT, with Ed25519 (EdDSA) as the default for new keys since February 2025, or ECDSA P-256 (ES256) for legacy SDKs. INTX REST uses an access-signature header rather than JWT. Legacy Coinbase Pro HMAC keys retired June 6, 2024 and cannot be reissued.

Section 03 · Build with AI

Build your Coinbase 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 Coinbase API

    Direct control over Coinbase-specific behaviour, account data and order execution logic across Advanced, Exchange, INTX and Prime.

  • CCXT

    Common interface across Coinbase and other crypto exchanges. CCXT exposes Coinbase spot via the unified `coinbase` and `coinbaseexchange` classes; INTX perps are not first-class in CCXT today.

  • Hummingbot

    Framework-based deployments using the `coinbase_advanced_trade` connector. Spot only; Hummingbot does not currently support Coinbase derivatives.

  • Custom connector

    Your own internal trading engine or proprietary Coinbase integration, including direct Coinbase INTX REST and FIX, or Coinbase Prime FIX for institutional flows.

Framework support for Coinbase products

Coverage varies by framework. Coinbase derivatives split across CFM (US perp-style futures listed on Coinbase Advanced) and Coinbase International (USDC-settled perps, including stock and gold/silver perps), and crypto options live on Deribit, which Coinbase acquired in August 2025 but which retains its own API. Hummingbot's `coinbase_advanced_trade` connector covers spot only; CCXT spans spot across Coinbase Advanced and the institutional Coinbase Exchange but does not surface INTX perps as first-class swap markets; native Coinbase API access reaches every venue Coinbase operates directly.

FrameworkSpotPerpOptionsMargin
Native Coinbase APISupportedSupportedNot documented as supportedSupported
CCXTSupportedPartially supportedNot documented as supportedPartially supported
FreqtradePartially supportedNot documented as supportedNot documented as supportedNot documented as supported
HummingbotSupportedNot documented as supportedNot documented as supportedNot documented as supported

✓ confirmed support per official framework docs. "no" indicates not officially documented as supported. "partial" indicates limited coverage, see prose above for detail.

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

Coinbase provides the exchange and API access. TradingHost provides the production environment where your Coinbase-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 Coinbase.

TradingHost

  • Keeps the runtime online.
  • Surfaces logs and health checks.
  • Region selection.
  • Controlled deployment surface.

Deployment flow

  1. STEP 01

    Connect GitHub

    Authorise TradingHost to access your GitHub account.

  2. STEP 02

    Link a repo or start from a framework

    Point TradingHost at your existing strategy repo, or fork a TradingHost framework runtime (CCXT or Hummingbot) for a working baseline.

  3. STEP 03

    Deploy into a TradingHost container

    Pick a region (EU or US-East), supply the environment values your strategy needs (Coinbase CDP API keys, INTX access-signature credentials, etc.), and deploy. TradingHost builds your container from the repo and runs your strategy on managed Kubernetes infrastructure. No local Docker install required.

  4. 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.

  5. STEP 05

    Update and redeploy

    Push changes to your GitHub main branch and TradingHost redeploys automatically.

Section 05 · Operational notes

Operational notes for Coinbase

Things that bite you when you actually run a Coinbase strategy in a containerised cloud runtime, not in Coinbase's docs, not in framework READMEs. Every claim below is quoted or paraphrased from Coinbase's own documentation; the deployment-side guidance is from running these strategies on TradingHost.

  1. 01 · Legacy retirement

    Coinbase Pro API keys retired June 2024; legacy v2 keys expiring February 2025

    The standalone Coinbase Pro REST and WebSocket API was deprecated on June 6, 2024 and creation of new Pro keys disabled at that point. Coinbase began expiring all remaining legacy retail API keys on February 5, 2025. Any strategy still wired to Pro-style HMAC keys returns 401s and must be re-issued through the Coinbase Developer Platform.

  2. 02 · Signing algorithm

    Ed25519 is the default; ECDSA P-256 is legacy

    New CDP API keys default to Ed25519 (EdDSA) since February 2025. ECDSA with P-256 signed as JWT ES256 is still accepted and is required when using older SDKs like `coinbase-advanced-py` until they ship Ed25519 support. Strategies should standardise on Ed25519 unless an SDK explicitly forces ECDSA.

  3. 03 · JWT expiry

    Bearer tokens live for two minutes; regenerate per request

    Coinbase Advanced JWTs expire 120 seconds after issuance. A strategy must regenerate the JWT per call, or at minimum on a sub-2-minute rolling timer, or it sees 401 Unauthorized errors that look like signing failures. WebSocket subscriptions to the user and futures_balance_summary channels require a JWT in the subscription message itself, not just on connection.

  4. 04 · Rate limits

    30 rps authenticated, 10 rps public, token-bucket burst

    Advanced Trade private REST endpoints are limited to 30 requests per second per user. Public endpoints are 10 rps per IP. The limiter uses a lazy-fill token bucket, so short bursts above 30 are allowed until the bucket drains, after which the API returns 429. Plan worst-case order-cancel storms accordingly.

  5. 05 · Sandbox

    Advanced Trade sandbox covers Accounts and Orders only

    The sandbox host `https://api-sandbox.coinbase.com/api/v3/brokerage/` mocks Accounts and Orders endpoints only. Market data, products, fees and portfolio endpoints are not in the sandbox, so end-to-end strategy testing has to combine sandboxed order flow with production read-only market data, or run against a local mock.

  6. 06 · Venue split

    Advanced, Exchange, INTX and Prime are four venues with three auth schemes

    A Coinbase Advanced account does not grant INTX access. INTX requires onboarding under Coinbase Bermuda and is restricted to eligible non-US institutions; INTX REST uses an access-signature header, not JWT. Coinbase Prime is a separate institutional brokerage product with its own REST, FIX and WebSocket APIs. Strategy code should encode venue selection as a first-class config, not a switch on key type.

  7. 07 · Options surface

    Crypto options remain on Deribit's API for now

    Coinbase closed its acquisition of Deribit on August 14, 2025 for roughly $2.9B. Deribit options trading continues to operate on the existing Deribit API and brand; there is no merged Coinbase options endpoint as of May 2026. Strategies that want options exposure integrate the Deribit API directly.

Section 06 · Built for

Built for

TradingHost Coinbase runtimes are best suited to:

  • Developers building strategies in AI IDEs (Cursor, Claude Code)
  • Systematic crypto traders
  • Quant developers
  • CCXT and Hummingbot users
  • Teams moving from VPS hosting to containerised deployment

Connecting GitHub and creating your first strategy is free.

Section 08 · FAQ

FAQ

No. TradingHost is independent and is not affiliated with Coinbase or Deribit, its subsidiary since August 2025.

No. Your strategy code connects to Coinbase and sends instructions according to your own logic, account permissions and integration method. TradingHost provides the runtime where that code runs.

No. Coinbase API access is provided by Coinbase. You are responsible for your Coinbase account, API permissions, credentials and compliance with Coinbase’s terms.

No. TradingHost is the cloud runtime where your strategy code runs. We do not provide signals, AI prediction models or pre-built bots. 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 ships unified `coinbase` and `coinbaseexchange` classes that cover spot trading on Coinbase Advanced and the institutional Coinbase Exchange. Coinbase International Exchange perpetuals are not exposed as a first-class CCXT swap market today, so for INTX perps route through the native Coinbase INTX REST or FIX API. Drop your CCXT strategy into a container, point it at GitHub, and TradingHost runs it like any other Python or Node project. See the CCXT framework runtime for the full setup story.

TradingHost is venue-agnostic at the runtime level: any code that can authenticate against a Coinbase surface can run inside a container. CFM-listed US perpetual-style futures (BTC and ETH, including the nano contracts live since July 21, 2025) are reached via Coinbase Advanced once your account is eligible. Coinbase International Exchange perps require INTX onboarding under Coinbase Bermuda and are restricted to eligible non-US institutions. Eligibility is decided by Coinbase, not TradingHost; we run the strategy code that authenticates against whichever venue your account can access.

Yes, if your project is designed that way. You can run multiple strategy processes or services inside one runtime, or separate them into different runtimes for isolation and operational clarity. See the TradingHost runtime page for the multi-strategy model.

The fastest path is to fork a TradingHost framework runtime: CCXT 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 CDP API key, INTX access-signature credentials or Prime credentials. See platform secrets for the full handling model.

Coinbase deprecated the standalone Coinbase Pro REST and WebSocket API on June 6, 2024 and stopped issuing new Pro keys at that point. From February 5, 2025 Coinbase began expiring the remaining legacy retail API keys. Any strategy still wired to Pro-style HMAC keys returns 401s and cannot be revived. The fix is to generate a new key in the Coinbase Developer Platform (CDP), default to Ed25519 unless your SDK forces ECDSA P-256, and update your strategy to sign Advanced Trade requests as JWTs. See the Operational notes section above for the full deprecation context.

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.

Coinbase’s most common auth failure is HTTP 401 on the Advanced Trade REST or WebSocket API. The usual causes are an expired JWT (Coinbase JWTs only live for 2 minutes), an ECDSA key being used with a library that defaults to Ed25519 or vice versa, an API key still inside its activation delay, or a legacy Coinbase Pro key that was retired in June 2024. Generate a fresh CDP key, pick Ed25519 unless your SDK forces ECDSA, and regenerate the JWT on every request. See the Operational notes section above for the full guidance.

The Advanced Trade sandbox host is `https://api-sandbox.coinbase.com/api/v3/brokerage/`. It mocks Accounts and Orders endpoints only. Market data, products, fees and portfolio endpoints are not in the sandbox, so end-to-end strategy testing has to combine sandboxed order flow with production read-only market data, or run against a local mock. INTX and Prime have their own institutional onboarding paths rather than a public sandbox. Keep sandbox and production secrets in separate TradingHost Secrets entries; never reuse one across environments.

Crypto options live on Deribit. Coinbase closed its acquisition of Deribit on August 14, 2025 for roughly $2.9B, but Deribit options trading continues to operate on the existing Deribit API and brand; there is no merged Coinbase options endpoint as of May 2026. Strategies that want options exposure integrate the Deribit API directly, alongside Coinbase spot or perp flow, and run inside a TradingHost container the same way any other multi-venue strategy does.

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.