How to Connect or Update Your OKX Account on 3Commas (Fast Connect & API Keys)

·

Introduction

Connecting your OKX exchange account to 3Commas unlocks advanced trading automation. This guide covers two methods: Fast Connect (instant setup) and manual API key creation (custom permissions). We'll also address common issues like Futures trading activation and balance discrepancies.


Method 1: Fast Connect Setup

Step-by-Step Guide

  1. Navigate to My Portfolio

  2. Select OKX

    • From the exchanges list, choose OKX and click Connect OKX.
  3. Log In to OKX

    • You'll be redirected to OKX’s login page. Sign in or create a new account.
  4. Approve Connection

    • After logging in, authorize the API link between OKX and 3Commas.
  5. Confirmation

    • Both OKX Spot and Futures accounts will now appear in 3Commas (if Futures are enabled).

👉 Need help enabling Futures trading?


Method 2: Update Connection via Fast Connect

Steps to Refresh API Keys

  1. Delete Old Keys

  2. Initiate Update

    • On 3Commas, click Update API Key on your OKX exchange card.
  3. Reconnect

    • Select Fast Connect > Reconnect and repeat the login/approval process.

Important Notes:


Method 3: Manual API Key Creation

Detailed Instructions

  1. Access API Settings

    • Hover over your OKX profile icon and click API.
  2. Enable 2FA

    • If prompted, set up two-factor authentication (required for API access).
  3. Create a New Key

    • Click Create APIs, name the key (e.g., "3Commas Bot"), and select Linking third-party apps > 3Commas.
  4. Set Permissions

    • Choose Trade permissions and enter a secure passphrase (save this—it’s required for 3Commas).
  5. Finalize

    • Submit, confirm with 2FA, and note the generated API Key and Secret.

How to Enable Futures Trading on OKX

Quick Steps

  1. Visit OKX’s Contracts & Margin Trading page.
  2. Click Upgrade for trading and select Single-currency margin mode (only mode supported by 3Commas).
  3. Confirm to activate Futures.

👉 Watch tutorial video


FAQs

Why can’t I close my OKX position?

Copy Trading Lead accounts restrict closing orders to market price only. Bots may not function correctly with these accounts.

What does "Balance limit reached" mean?

Your trade size exceeds OKX’s leverage limits. Reduce the position size or adjust leverage.

Why is my OKX balance incorrect on 3Commas?

Funds must be in the Trading Account. Transfer assets from Funding/Margin accounts via OKX’s Assets > Transfer.

How do I transfer funds to my Trading Account?

Go to Assets > Transfer, move funds from Funding to Trading Account. Only Trading Account balances are accessible for Spot trades.


Final Notes

Need more help? Explore our comprehensive exchange integration guide!