Как да свържете борса към 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 ключ.
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
- The потребител logs into their борса account.
- Creates a new API ключ.
- Disables право за теглене.
- Enables only the required permissions: balance reading, order reading and търговия.
- Sets an IP restriction if the борса supports it.
- Copies the API Key and Secret Key.
- Adds the връзка in the BackFuture AI dashboard.
- Runs a връзка test.
- After a successful check, enables the required стратегия or bot.
Required API permissions
| Permission | Needed? | Защо |
|---|---|---|
| Read | ✅ Yes | So системата can see balances, orders, positions and статус. |
| Trade | ✅ Yes | So the bot can open, add to and close сделки. |
| Withdraw | ❌ No | This permission must not be given to a търговия bot. |
| Futures | ◐ If needed | Only for стратегии that work with futures. |
| IP whitelist | ✅ Recommended | Restricts 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 стратегии.
- MEXC Spot Main — main spot account on MEXC.
- KuCoin Futures Conservative — futures account for a conservative стратегия.
- Recovery PRO Connection — separate връзка for Recovery/PRO logic.
- BTC ETH New Groups — separate връзка for new BTC/ETH групи.
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
| Error | Cause | Какво to do |
|---|---|---|
| Invalid key | API ключ or secret was copied incorrectly. | Create a new key or copy the values again. |
| No търговия permission | Trade permission is disabled. | Enable търговия permission, but keep withdrawal disabled. |
| IP not allowed | IP restriction does not include the server IP. | Add the correct server IP to the борса whitelist. |
| Exchange unavailable | The борса API is temporarily unavailable. | Wait and run the test again. |
Security principles
- Never enable право за теглене for bot API ключове.
- Use separate API ключове for different стратегии.
- Use IP restrictions кога possible.
- Do not show API secrets in full after saving.
- Delete old keys if they are no longer used.
- Use 2FA on the борса account.
Заключение
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.