chart-mixedBinance Futures

This guide shows how to connect Binance Futures to IQai Bot so you can trade directly from alerts and manage positions from Telegram.

Before you start

  • Use a dedicated API key for IQai Bot (recommended).

  • Use trade-only permissions.

  • Never enable withdrawals.


Step 1 — Create an API Key on Binance

  1. Go to Settings > Account > API Management.

  2. Create a new API key (give it a name like IQAI_BOT).

Permissions to enable

  • Enable Reading

  • Enable Margin Trading

  • Enable Futures (USDⓈ-M Futures)

  • Enable IP access restrictions

    • Set the value to (iq.ai.server.ip)

Permissions to avoid

  • Enable Withdrawals

  • ❌ Anything not required for trading

Once created, Binance will show you:

  • API Key

  • Secret Key (store it safely — you won’t see it again)


Step 2 — Open the Binance exchange card in IQai Bot

  1. Open IQai Bot in Telegram.

  2. Run: /exchanges

  3. Tap Binance


Step 3 — Choose the environment (Testnet / Mainnet)

On the Binance card, tap Toggle Env to select the environment:

  • Testnet: best for testing without real funds

  • Mainnet: real trading with real funds

Make sure the card shows the environment you intend to use.


Step 4 — Add your API Key & Secret

Inside the Binance card:

  1. Tap Edit API Key → paste your Binance API key

  2. Tap Edit Secret → paste your Binance API secret

Keys are stored encrypted and won’t be displayed back to you.


Step 5 — Verify the connection

After setting credentials, tap:

Verify

If verification succeeds, the Binance card will show it as verified/configured.

If verification fails:

  • Confirm Futures permission is enabled on the Binance API key

  • Re-check key/secret values

  • If IP restrictions are enabled, ensure IQai server IP is whitelisted


Step 6 — Configure Position Mode (Hedge vs One-way)

Binance Futures supports different position modes:

  • Hedge mode: separate LONG and SHORT positions per symbol

  • One-way mode: one net position per symbol

In the Binance card, tap Position Mode and choose your preference.

If Binance refuses to switch, it usually means you have:

  • open orders and/or

  • open positions

The bot will guide you through cleaning up, then you can retry.


  1. Set Testnet with Toggle Env

  2. Add keys + Verify

  3. Set presets: /preset

  4. Select execution: /exec → Binance testnet

  5. Test: /open btc with a small preset

Last updated