Skip to content

Exchange bot: exchange, market and API keys ​

An exchange bot is the link between Sync and your exchange account: the exchange and the market type plus a pair of API keys. Everything else — signal channels, manual trades, Grid and DCA bots — is created "inside" such a bot.

Sync works with Bybit and BingX. Both exchanges are available to everyone. What is available on BingX and how it differs — in BingX in Sync.

What this is ​

Trade typeWhat it isSpecifics
Bybit SpotSpot — buying and selling the actual coinNo leverage, LONG only
Bybit FuturesPerpetual futures settled in USDT or in USDC (Bybit gives a USDC future its own name, for example BTCPERP)With leverage, LONG and SHORT; requires the One-Way position mode
BingX SpotBingX spotNo leverage, LONG only; a key with the Spot Trading permission, the money in the Spot account; Grid and DCA work here too, what is different — in BingX specifics
BingX FuturesBingX USDT perpetual futuresWith leverage, LONG and SHORT; the bot reads the position mode itself; Grid and DCA — in the One-Way mode, a grid — with Isolated margin only

Spot and futures need two different key pairs and, accordingly, two exchange bots: exchanges allow creating several keys on one account. The same key pair cannot be attached to two bots. The 🔐 Log in with Bybit button exists only for Bybit and connects only one bot to a Bybit account — create the key for the second one on Bybit manually. BingX is connected with an API key only: How to create an API key on BingX.

The money stays on the exchange. The bot only places and cancels orders — it does not need withdrawal permissions, and the keys are best created without them.

Where it is in the bot ​

🏠 Home → 👛 Portfolio → ➕ Connect an exchange.

On the website: Portfolio → Accounts → Add account — the exchange and the market, a name, the API Key and the API Secret. The key is checked on the exchange and saved only after you confirm in Telegram: the bot sends “🔐 Connecting an exchange account” with the buttons ✅ Confirm (valid for 15 minutes) and 🚫 This was not me — the second one cancels the request and ends all cabinet sessions. See Exchange accounts on the website.

The first account — on one screen ​

While you have no connected account and login with Bybit is available (this screen is for Bybit only), ➕ Connect an exchange (and 🔑 Connect Bybit in the introduction) opens the “🔐 Connecting Bybit” screen right away: the bot does not ask for the exchange, the market and a name.

  • 🔐 Log in with Bybit — log in to Bybit and confirm in Telegram, the key is created automatically. Details — Log in with Bybit.
  • Already have a key — send the key and the secret in one message right on this screen. ✍️ Enter API key manually opens the keys screen with the steps to create one.
  • The market — by the channel that invited you (as in its signals), otherwise futures; to change it — 🔁 Switch market to spot / to futures. The account name is “Bybit Futures” or “Bybit Spot”, you can rename it later in the app.
  • The login link is valid for 30 minutes; came back later — 🔄 Refresh link.

How to create one ​

This is how the second and further accounts are connected, and the first one — if login with Bybit is not available.

  1. “Choose an exchange” — Bybit or BingX. Under the buttons the bot explains how connecting differs: Bybit — one-tap log-in or an API key, BingX — an API key only, and deposits arrive in the Fund account. If you have no account yet, the bot right away shows the “Connecting Bybit” screen with one-tap log-in; the 🔀 Another exchange: BingX button leads to the choice of exchange, and in the introduction BingX has a button of its own — 🔑 Connect BingX (straight to step 2).
  2. “Choose a trade type” — for Bybit the Bybit · spot or Bybit · futures button, for BingX — BingX · spot or BingX · futures.
  3. “Name your bot, for example: MY_FUTURES or MY_SPOT” — type a name. The name must be unique among your bots and no longer than 40 characters.
  4. “Send API keys as text separated by a space” — in one message: the key first, then the secret. Example: AbCdEfGhIjKlMnOpQr 1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r. Where to get the key and the secret — the hint button on this screen: for Bybit — 📖 How to create a Bybit key manually (article), for BingX — 📖 How to create a BingX key (article). For Bybit there is an easier way — the 🔐 Log in with Bybit button on the same screen: log in to Bybit, allow access and confirm in Telegram, the key is created automatically. Details — Log in with Bybit.
  5. The exchange is connected. If you have only just started using the bot, the introduction follows: the line “✅ Exchange connected: account «…».”, then an offer to connect the account to a channel (if you came from a button under a signal post), the notification bot and “🚀 Where do we start?” — see Registration and first steps. If the introduction is already completed, the bot replies “✅ Exchange connected. Next, connect the account to a signal channel — or open its card: auto-trading, keys and settings are there.” with the buttons 📡 Connect to a channel (the 📡 Channels screen) and 🤖 To the bot card.

What the bot checks when you send the keys:

  • exactly two values separated by a space;
  • for Bybit — the length: the key is 18 characters, the secret 36 (for BingX the bot does not check the key length and format);
  • this pair has not been added to Sync yet;
  • the keys are valid and have the required permissions (which ones exactly — in API key permissions);
  • the key does not belong to a copy-trading master account.

A key obtained with the login button goes through the same checks, except length and format.

If a key entered manually was created without an IP restriction, the bot shows a warning with the server address once — this is a hint, not an error.

After creation ​

The bot card has the auto-trading button (⚪ Auto-trading: OFF / 🟢 Auto-trading: ON), 📡 Channels and 🔑 API keys, which work in the chat, and ⚙️ Trading settings, 📊 Details and 👛 Account, which open the Sync app (there is no button to copy a bot), see The Signal bot card. The bot settings:

ButtonWhat it does
⚙️ Trading settingsAmount, entries, targets, stop, leverage and margin, directions — in the app
👛 AccountRename, Change keys, Delete account — in the app; deletion is not possible while the bot has active trades or running Grid and DCA bots
🔑 API keysShows the connected key status, checks it on the exchange (🔍 Check key) and replaces the key pair right in the chat (🔄 Replace key), for example after reissuing the key on the exchange

A second bot with the same trading settings is a new account on a new key pair whose settings are set by hand: see A second bot with the same settings.

If you started the creation and did not send the keys, the record stays a draft and is deleted after 7 days — start again.

Limits and allowed values ​

ParameterValueNote
ExchangeBybit, BingXBybit — Spot (including USDC pairs) and USDT and USDC perpetual futures; BingX — Spot and USDT perpetual futures
Key / secret lengthBybit — 18 / 36 characters; BingX — not checkedCopy the key from the exchange in full, without spaces
Key pairUnique in SyncOne key — one bot
Spot and futuresTwo different botsTwo different key pairs
“Log in with Bybit” buttonOne bot per Bybit accountFor a second bot — a key entered manually
Bot draftDeleted after 7 daysNot an error
Deleting a botOnly without active tradesWait until they are finished

Common errors and what the bot says ​

  • “Send exactly TWO values separated by a space: the API key first, then the secret key. You sent 1 part(s). Example: AbCdEfGhIjKlMnOpQr 1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r” — send the key and the secret in one message, separated by a space.
  • “Invalid API key length: 20 chars (must be 18). Copy the full key from Bybit, without extra spaces.” — the same for the secret: “Invalid secret key length: 30 chars (must be 36)…”. The same replies come if the message contains extra characters or the wrong text. This check is for Bybit only: BingX key length is not checked, and a key copied with a mistake fails the check on the exchange.
  • “This API key pair already exists in the system” — the keys are already attached to another bot (possibly yours). Create a new pair on the exchange.
  • “API key is invalid” / “Failed to verify API keys” — the key was revoked, has expired or was copied with a mistake. See Key rejected or invalid.
  • “API keys do not have the required permissions” — the key has no permission to trade on the chosen market. See “API keys do not have the required permissions”.
  • “This API key is read-only. The bot needs trading permissions: create a key with Orders and Positions permissions.” — the key was issued without the right to trade; the bot answers this way both to manual input and to a key obtained with the login button.
  • “This API key belongs to a copy-trading master account. All your Grid/DCA orders would be automatically copied to your followers. Please use a regular account without copy-trading.”
  • “The bot currently has active trades. To delete it, wait for them to complete or close them manually” — when you try to delete a bot with open trades.
  • “No exchange account for a bot — connect one first.” — this is what the app says if you went to create a DCA or Grid bot before the exchange bot; the Connect an account button is right there.