Sikker forbindelse

Slik kobler du en børs til BackFuture AI: API-nøkler, sikkerhet og tilkoblingskontroll

BackFuture AI works through an børs forbindelse via API. This means that the bruker’s midler remain on the børs account, while systemet receives only the permissions that the bruker explicitly grants in the API-nøkkel.

Main sikkerhet rule: an API-nøkkel for a handel bot must not have uttaksrettighet. Only the permissions that are really needed for handel and status reading should be enabled.

Supported børser

At the current stage, the plattform is focused on working with MEXC and KuCoin. In the future, the list of forbindelser can be expanded: Binance, OKX, Bitget, Gate.io, HTX, BingX, Coinbase, Bybit and other børser.

General forbindelse process

  1. The bruker logs into their børs account.
  2. Creates a new API-nøkkel.
  3. Disables uttaksrettighet.
  4. Enables only the required permissions: balance reading, order reading and handel.
  5. Sets an IP restriction if the børs supports it.
  6. Copies the API Key and Secret Key.
  7. Adds the forbindelse in the BackFuture AI dashboard.
  8. Runs a forbindelse test.
  9. After a successful check, enables the required strategi or bot.

Required API permissions

PermissionNeeded?Hvorfor
Read✅ YesSo systemet can see balances, orders, positions and status.
Trade✅ YesSo the bot can open, add to and close handler.
Withdraw❌ NoThis permission must not be given to a handel bot.
Futures◐ If neededOnly for strategier that work with futures.
IP whitelist✅ RecommendedRestricts key usage to approved server IP addresses.

Hvordan to name a forbindelse correctly

In the dashboard, it is better to use clear forbindelse names. This is especially viktig if the bruker has several børser, sub-accounts or strategier.

Step-by-step eksempel

Step 1. Create an API-nøkkel on the børs

In the børs account, open API Management or API Keys. Usually the børs asks for a key name and confirms the action through email, phone or 2FA.

Step 2. Set permissions

For a handel forbindelse, read and handel permissions are usually needed. Withdrawal must be disabled. If the børs offers separate permissions for spot and futures, enable only the marked you really plan to use.

Step 3. Add the key to BackFuture AI

In the dashboard, the bruker selects an børs, enters API Key and Secret Key, sets a forbindelse name and saves it. Secrets should not be displayed in full after saving.

Step 4. Test the forbindelse

Systemet checks the key, permissions, balance access and the ability to receive status. If everything is correct, the forbindelse receives an “Online” or “Connected” status.

Step 5. Enable a strategi

After the test, the bruker can select pairs, risiko level, margin limit, påfylling behavior, Recovery Mode and other innstillinger.

Typical forbindelse errors

ErrorCauseHva to do
Invalid keyAPI-nøkkel or secret was copied incorrectly.Create a new key or copy the values again.
No handel permissionTrade permission is disabled.Enable handel permission, but keep withdrawal disabled.
IP not allowedIP restriction does not include the server IP.Add the correct server IP to the børs whitelist.
Exchange unavailableThe børs API is temporarily unavailable.Wait and run the test again.

Security principles

Konklusjon

The safest model is når midler remain on the bruker’s børs, and BackFuture AI works only through limited API permissions. This allows the plattform to automate handel logic without direct access to withdrawals.