Skip to main content

How to Connect Binance to Stoic (API Setup Guide)

Learn how to securely connect your Binance account to Stoic using FastAPI or Manual API Keys, and how to configure Spot or Futures permissions.

Connecting your Binance account to Stoic is a secure and straightforward process. In the Stoic app, you have two options to connect: Auto-Connect (FastAPI) and Manually via API Key.


Figure 1: Connection options in the Stoic app

While Auto-Connect is faster, we recommend using the Manual connection. Setting up your API keys manually ensures a more stable connection, prevents random disconnections, and gives you total control over your security settings.

⚠️ Important Prerequisites

  • Check Regional Restrictions: Binance (Global) is currently restricted in several regions (e.g., parts of Europe, Canada, the UK). Please verify that Binance legally provides full services in your country of residence. (Note: US residents must use Binance.US).

  • Funds must NOT be in Binance Earn: Stoic can only manage funds in your Spot or Futures wallets. If your funds are locked in Binance Earn, the algorithm cannot trade them. You must turn off the "Auto-Subscribe" feature and redeem your funds to your Spot wallet before connecting.

  • Your funds are 100% safe: We only require permission to read your balance and create trading orders. Stoic cannot withdraw your funds.

💡 Want to run multiple Stoic strategies? If you plan to use more than one strategy, or want to hold specific coins long-term without the algorithm touching them, you MUST create a separate balance.

Option 1: Manually via API Key (Highly Recommended)

Best for: All users, Sub-Account users, and maximum stability.

Step 1: Create the API Key on Binance

  1. Open the Binance website and log in to your Dashboard.

  2. On the left sidebar, under the Account section, click on API Management.

  3. Click the yellow Create API button.

  4. Choose the System generated option and hit Next.

  5. Give your API key a recognizable label (e.g., "Stoic API Key") and complete the security verification.

Figure 2: Creating a System generated API Key on Binance

Step 2: Save Your Secret Key! Once created, your new API key will appear in the list.

🚨 CRITICAL: Copy and paste the Secret Key somewhere safe immediately. Binance only shows the Secret Key once. If you close the page, it will be hidden forever, and you will have to delete the API and start over.

Step 3: Add Trusted IPs (Do this first) If you do not whitelist IP addresses, Binance will automatically delete your API key every 90 days.

  1. Click the Edit restrictions button (top right of your API block).

  2. Scroll down to "IP access restrictions" and select Restrict access to trusted IPs only.

  3. Open your Stoic app, copy the list of Stoic's IP addresses, paste them into the Binance box (separated by spaces), and press Confirm.

Step 4: Set Up Restrictions (Spot vs. Futures) The permissions you need to check depend entirely on the strategy you selected in Stoic:

Figure 3: Configuring API Restrictions

  • A. For Spot-Only Strategies: (e.g., Fixed Income, Crypto Index) Check the Enable Spot & Margin & Stock Trading box. (Never check "Enable Withdrawals"). Click Save at the top right.

  • B. For Futures Strategies: (e.g., Meta, BTC Yield, Super Forcaster) Check Enable Spot & Margin & Stock Trading AND Enable Futures. Click Save.
    Missing the "Enable Futures" checkbox? You need to activate your Futures wallet first. Check out our guide:
    👉 How to open a Futures wallet on Binance

Step 5: Connect to Stoic Return to the Stoic app. Choose "Manually via API Key", paste your API Key and Secret Key into the respective fields, and hit Connect. You are all set!

Figure 3: The Stoic app interface where you will paste your IPs and Keys

Option 2: Auto-Connect (FastAPI)

Note: This method is fast but does not support Binance Sub-accounts.

  1. Open the Stoic app and navigate to the Connect Exchange screen.

  2. Select the Auto-Connect tab.

  3. Tap the blue Log in with Binance button.

  4. You will be redirected to the Binance App or Website. Log in and simply click Continue/Confirm to authorize the trade-only integration.

  5. Once approved, you will be redirected back to Stoic with a "Connection Successful" message.

Figure 4: The Auto-Connect in Binance

📚 Useful Links

👉 Pre-Trading Checklist: Exchange Requirements (Check minimum balances and required base currencies for your strategy).

👉 How to Open a Sub-Account on Binance (If you want to run multiple strategies).

👉 How to open a Futures wallet on Binance (If you are missing the Futures checkbox).

👉 Paying with Crypto: Subscriptions & Invoices (Binance Guide) (Learn how to pay your management fees).

Did this answer your question?