AI-native runtime for Bitso 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 LATAM-native execution.
Section 01 · At a glance
At a glance
- Venue
- Bitso
- Venue type
- Crypto exchange (LATAM hub)
- Asset class
- Crypto
- Supported products
- Spot only. Margin referenced in docs as work-in-progress; no futures or perpetuals.
- Runtime model
- Containerised strategy runtime
- Deployment source
- GitHub
- Languages
- Any language that runs in a container
- Common integrations
- Native Bitso REST and WebSocket, CCXT (`bitso`), custom
- AI workflow integration
- MCP control surface
- TradingHost role
- Runtime, deployment, logs, health checks, region selection, MCP control
- Bitso role
- Exchange account, API access, market access, execution venue, MXN/BRL/ARS fiat rails (SPEI, PIX)
- Affiliation
- TradingHost is independent and is not affiliated with Bitso. Bitso operates under Mexico's Fintech Law (CNBV oversight), is registered with Argentina's CNV as PSAV no. 51 (since July 19, 2024), and holds a Gibraltar GFSC licence for institutional virtual-asset services.
Section 02 · What Bitso offers
What Bitso offers
Bitso is a spot-only LATAM-headquartered exchange with MXN, BRL and ARS fiat rails (SPEI in Mexico, PIX in Brazil, local CBU/Alias in Argentina). Strategies reach the venue through REST and WebSocket, authenticated with a single HMAC-SHA256-signed `Authorization: Bitso <key>:<nonce>:<sig>` header. There are no derivatives, no perpetuals, no options; margin is referenced in the docs as work-in-progress only.
Markets and strategy patterns
- MXN/USD stablecoin arbitrage (USDT_MXN, USDC_MXN spreads)
- BRL pair execution (BTC_BRL, ETH_BRL liquidity capture)
- ARS markup capture (peso-stablecoin premium routing)
- USDC/USDT spot rotation across LATAM books
- Cross-LATAM portfolio rebalancing (MXN, BRL, ARS, COP)
- SPEI/PIX-funded stablecoin desk strategies
- BTC_MXN market making with top-20 order book streaming
- Remittance-corridor inventory hedging (MX to US flow)
API surface
- Product surfaces
- Spot. Sandbox at `https://api-sandbox.bitso.com/api/v3/` (uses BTC testnet plus Ethereum testnet for deposits).
- Connection methods
- REST at `https://api.bitso.com/api/v3/`. WebSocket at `wss://ws.bitso.com` with `trades`, `orders` and `diff-orders` channels.
- Authentication
- HMAC-SHA256. Single `Authorization` header in the literal form `Bitso <key>:<nonce>:<signature>`. Signature is HMAC-SHA256 over `nonce + HTTP_METHOD + request_path + json_payload`, hex-encoded. Nonce v2 in rollout.
For specifics, refer to Bitso
Specific endpoints, rate-limit weights, symbol lists and fee tiers live in Bitso's documentation. Treat these as the source of truth.
Section 03 · Build with AI
Build your Bitso 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 Bitso API
Direct control over Bitso-specific behaviour, account data and order execution logic via REST and WebSocket.
CCXT
Common interface across Bitso and other crypto exchanges. The `bitso` exchange id covers spot endpoints.
Freqtrade
Framework-based deployments using Freqtrade's strategy structure. Bitso support is community-tested via CCXT and not officially listed.
Custom connector
Your own internal trading engine or proprietary Bitso integration.
Framework support for Bitso
Bitso is spot-only, so the framework matrix is simpler than at multi-product venues: there is no USD-M, COIN-M or options column to populate. If your strategy needs perpetuals or USD-margined futures, pair Bitso with a separate venue (for example Binance, Bybit or OKX) for the derivatives leg. For spot-only Bitso strategies, the native API and CCXT are the primary supported paths; Freqtrade works via CCXT community-tested, and Hummingbot does not currently ship a Bitso connector.
✓ confirmed support per official framework docs. "partial" indicates community-tested via CCXT without an official listing. "no connector" indicates the framework does not ship a Bitso connector. 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
Bitso provides the exchange and API access. TradingHost provides the production environment where your Bitso-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 Bitso.
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) 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 (your Bitso API key, used to build the literal Authorization: Bitso <key>:<nonce>:<sig> header on every signed request), 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 Bitso
Things that bite you when you actually run a Bitso strategy in a containerised cloud runtime, not in Bitso's docs, not in framework READMEs. Every claim below is quoted or paraphrased from Bitso's own documentation; the deployment-side guidance is from running these strategies on TradingHost.
01 · Fiat rails
SPEI, PIX and local CBU/Alias route LATAM fiat
Bitso routes MXN over SPEI (Mexico) and BRL over PIX (Brazil) with near-instant settlement; ARS uses local CBU/Alias rails. Strategies that depend on fiat top-ups should account for rail cut-offs and bank holidays.
SourceBitso general concepts02 · Rate limits
60 RPM public, 300 RPM private
Public endpoints cap at 60 requests per minute per IP; private endpoints cap at 300 requests per minute per account on a one-minute window. Exceeding triggers a one-minute lockout. Plan polling and order pacing accordingly; prefer WebSocket for market data.
SourceBitso general concepts03 · Auth signing
Single Authorization header with key, nonce and signature
Bitso uses one `Authorization: Bitso <key>:<nonce>:<sig>` header. Nonce must be strictly increasing per key; clock drift and concurrent workers are the usual cause of error `0215` (incorrect request signature) and invalid-nonce rejects.
SourceBitso authentication04 · KYC tiers
Verified accounts unlock private API and higher limits
Verified accounts unlock private API access and higher withdrawal/deposit limits. Tier limits and mandatory transaction reporting were tightened under Mexico's July 2025 AML reform (210 UMA reporting threshold, roughly USD 1,180).
SourceBitso general concepts05 · Regulation
Mexico Fintech Law, Argentina CNV PSAV, Gibraltar GFSC
Bitso operates in Mexico under the 2018 Fintech Law (Ley Fintech) administered by CNBV. Institutional virtual-asset services are licensed via the Gibraltar GFSC entity. In Argentina, Bitso is PSAV no. 51 with the CNV (registered July 19, 2024) and must meet General Resolution 1058 by December 31, 2025.
SourceBitso general concepts
Section 06 · Built for
Built for
TradingHost Bitso runtimes are best suited to:
- LATAM quant teams running MXN, BRL and ARS pairs from a single runtime
- Mexico-based developers running SPEI-funded automated strategies
- Brazilian crypto desks routing PIX liquidity into BRL spot books
- Stablecoin arbitrage operators on USDC/USDT against LATAM fiat
- Remittance and treasury teams using stablecoin rails across the MX to US corridor
Connecting GitHub and creating your first strategy is free.
Section 08 · FAQ
FAQ
No. TradingHost is independent and is not affiliated with Bitso.
No. Your strategy code connects to Bitso and sends instructions according to your own logic, account permissions and integration method. TradingHost provides the runtime where that code runs.
No. Bitso API access is provided by Bitso. You are responsible for your Bitso account, API permissions, credentials and compliance with Bitso’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. The CCXT bitso exchange covers spot endpoints, handles HMAC-SHA256 signing, and runs unchanged inside a TradingHost container. Margin and futures methods are not applicable since Bitso offers spot only. See the CCXT framework runtime for the full setup story.
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 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.
No. Strategies should never need withdrawal permissions. Use scoped permissions (read, trade) and enable IP whitelisting where appropriate. Reserve the withdrawal scope for keys you operate manually from a fixed-IP host.
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.
Almost always a nonce or signature-construction issue. Bitso requires a strictly increasing nonce per key (Nonce v2 in rollout) and signs over nonce + METHOD + path + body with HMAC-SHA256, hex-encoded. Common causes: clock skew across replicas, two workers sharing one key, or a stripped trailing slash in the path.
SPEI in Mexico (MXN), PIX in Brazil (BRL), and local CBU/Alias in Argentina (ARS). PIX and SPEI both settle in seconds, but rail cut-off windows and bank holidays still apply. Strategies that auto-rebalance fiat inventory should treat rail availability as a runtime input.
Bitso operates under Mexico's Fintech Law via CNBV oversight, is registered with Argentina's CNV as PSAV no. 51, holds a Brazil presence, and uses a Gibraltar GFSC licence for institutional virtual-asset services. Mexico's July 2025 AML reform added reporting obligations for VASPs at roughly USD 1,180 per transaction.
No. Bitso does not offer accounts to US residents and restricts roughly 33 jurisdictions including the United States and Canada. TradingHost runs your strategy regardless of region, but the Bitso account itself must be eligible under Bitso's terms.
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.