CRYPTYX Docs
Developer

Exchange Integrations

Pre-built conviction trading loops for OKX, Kraken, and Coinbase. Each integration demonstrates a progressively higher capability tier — from edge discovery to autonomous portfolio management.

What it does

The exchange integrations bridge CRYPTYX conviction intelligence with live exchange execution. Each integration is a self-contained reference implementation that reads conviction scores, factor breakdowns, and signal triggers from the CRYPTYX API, then maps them to exchange-native order types and position management logic.

Getting started

Clone the repository, install dependencies, and configure your credentials:

git clone https://github.com/cryptyx-ai/cryptyx.git
cd cryptyx/integrations/<exchange>
npm install

# Set environment variables
export CRYPTYX_API_KEY=cx_your_key
export OKX_API_KEY=...        # or KRAKEN / COINBASE credentials
export OKX_SECRET_KEY=...
export OKX_PASSPHRASE=...

Key capabilities

Three tiers, each building on the one before:

  • OKX — Edge Discovery — metric-driven conviction trading loop. Analyzes conviction scores, identifies entry and exit points based on factor regime transitions, and executes via the OKX API. Best for signal-driven execution and edge discovery.
  • Kraken — Position Management — conviction scoring with symbol mapping and systematic position management. Includes authentication utilities and scenario testing harness. Best for systematic allocation and position sizing.
  • Coinbase — Portfolio Orchestration — full portfolio management with signal factory, strategy testing framework, and multi-asset coordination. Best for autonomous portfolio orchestration and strategy composition.

For Python developers, LangChain and LlamaIndex tool wrappers are also available. These expose the same CRYPTYX tools as callable functions within your existing agent framework.

What to try first

  • Start with the OKX integration — it is the most focused and demonstrates the core conviction-to-execution pattern
  • Run the scenario test suite included with each integration to validate your credentials and connectivity before going live
  • Review each integration's README for exchange-specific configuration, rate limits, and order type mappings

Reference documentation

Each integration has a full setup guide with architecture, API mappings, and exchange-specific configuration: