Сигурна връзка

Как да свържете борса към BackFuture AI: API ключове, сигурност и проверка на връзката

BackFuture AI works through an борса връзка via API. This means that the потребител’s средства remain on the борса account, while системата receives only the permissions that the потребител explicitly grants in the API ключ.

Main сигурност rule: an API ключ for a търговия bot must not have право за теглене. Only the permissions that are really needed for търговия and статус reading should be enabled.

Supported борси

At the current stage, the платформа is focused on working with MEXC and KuCoin. In the future, the list of връзки can be expanded: Binance, OKX, Bitget, Gate.io, HTX, BingX, Coinbase, Bybit and other борси.

General връзка process

  1. The потребител logs into their борса account.
  2. Creates a new API ключ.
  3. Disables право за теглене.
  4. Enables only the required permissions: balance reading, order reading and търговия.
  5. Sets an IP restriction if the борса supports it.
  6. Copies the API Key and Secret Key.
  7. Adds the връзка in the BackFuture AI dashboard.
  8. Runs a връзка test.
  9. After a successful check, enables the required стратегия or bot.

Required API permissions

PermissionNeeded?Защо
Read✅ YesSo системата can see balances, orders, positions and статус.
Trade✅ YesSo the bot can open, add to and close сделки.
Withdraw❌ NoThis permission must not be given to a търговия bot.
Futures◐ If neededOnly for стратегии that work with futures.
IP whitelist✅ RecommendedRestricts key usage to approved server IP addresses.

Как to name a връзка correctly

In the dashboard, it is better to use clear връзка names. This is especially важно if the потребител has several борси, sub-accounts or стратегии.

Step-by-step пример

Step 1. Create an API ключ on the борса

In the борса account, open API Management or API Keys. Usually the борса asks for a key name and confirms the action through email, phone or 2FA.

Step 2. Set permissions

For a търговия връзка, read and сделка permissions are usually needed. Withdrawal must be disabled. If the борса offers separate permissions for spot and futures, enable only the пазар you really plan to use.

Step 3. Add the key to BackFuture AI

In the dashboard, the потребител selects an борса, enters API Key and Secret Key, sets a връзка name and saves it. Secrets should not be displayed in full after saving.

Step 4. Test the връзка

Системата checks the key, permissions, balance access and the ability to receive статус. If everything is correct, the връзка receives an “Online” or “Connected” статус.

Step 5. Enable a стратегия

After the test, the потребител can select pairs, риск level, маржин limit, добавяне behavior, Recovery Mode and other настройки.

Typical връзка errors

ErrorCauseКакво to do
Invalid keyAPI ключ or secret was copied incorrectly.Create a new key or copy the values again.
No търговия permissionTrade permission is disabled.Enable търговия permission, but keep withdrawal disabled.
IP not allowedIP restriction does not include the server IP.Add the correct server IP to the борса whitelist.
Exchange unavailableThe борса API is temporarily unavailable.Wait and run the test again.

Security principles

Заключение

The safest model is кога средства remain on the потребител’s борса, and BackFuture AI works only through limited API permissions. This allows the платформа to automate търговия logic without direct access to withdrawals.