Sådan forbinder man en børs til BackFuture AI: API-nøgler, sikkerhed og forbindelsestjek
BackFuture AI works through an børs forbindelse via API. This means that the bruger’s midler remain on the børs account, while systemet receives only the permissions that the bruger explicitly grants in the API-nøgle.
Supported børser
At the current stage, the platform 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
- The bruger logs into their børs account.
- Creates a new API-nøgle.
- Disables udbetalingsrettighed.
- Enables only the required permissions: balance reading, order reading and handel.
- Sets an IP restriction if the børs supports it.
- Copies the API Key and Secret Key.
- Adds the forbindelse in the BackFuture AI dashboard.
- Runs a forbindelse test.
- After a successful check, enables the required strategi or bot.
Required API permissions
| Permission | Needed? | Hvorfor |
|---|---|---|
| Read | ✅ Yes | So systemet can see balances, orders, positions and status. |
| Trade | ✅ Yes | So the bot can open, add to and close handler. |
| Withdraw | ❌ No | This permission must not be given to a handel bot. |
| Futures | ◐ If needed | Only for strategier that work with futures. |
| IP whitelist | ✅ Recommended | Restricts 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 vigtigt if the bruger has several børser, sub-accounts or strategier.
- MEXC Spot Main — main spot account on MEXC.
- KuCoin Futures Conservative — futures account for a conservative strategi.
- Recovery PRO Connection — separate forbindelse for Recovery/PRO logic.
- BTC ETH New Groups — separate forbindelse for new BTC/ETH grupper.
Step-by-step eksempel
Step 1. Create an API-nøgle 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 bruger 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 bruger can select pairs, risiko level, margin limit, tilkøb behavior, Recovery Mode and other indstillinger.
Typical forbindelse errors
| Error | Cause | Hvad to do |
|---|---|---|
| Invalid key | API-nøgle or secret was copied incorrectly. | Create a new key or copy the values again. |
| No handel permission | Trade permission is disabled. | Enable handel permission, but keep withdrawal disabled. |
| IP not allowed | IP restriction does not include the server IP. | Add the correct server IP to the børs whitelist. |
| Exchange unavailable | The børs API is temporarily unavailable. | Wait and run the test again. |
Security principles
- Never enable udbetalingsrettighed for bot API-nøgler.
- Use separate API-nøgler for different strategier.
- Use IP restrictions hvornår possible.
- Do not show API secrets in full after saving.
- Delete old keys if they are no longer used.
- Use 2FA on the børs account.
Konklusion
The safest model is hvornår midler remain on the bruger’s børs, and BackFuture AI works only through limited API permissions. This allows the platform to automate handel logic without direct access to withdrawals.