Jak podłączyć giełdę do BackFuture AI: klucze API, bezpieczeństwo i test połączenia
BackFuture AI works through an giełda połączenie via API. This means that the użytkownik’s środki remain on the giełda account, while system receives only the permissions that the użytkownik explicitly grants in the klucz API.
Supported giełdy
At the current stage, the platforma is focused on working with MEXC and KuCoin. In the future, the list of połączenia can be expanded: Binance, OKX, Bitget, Gate.io, HTX, BingX, Coinbase, Bybit and other giełdy.
General połączenie process
- The użytkownik logs into their giełda account.
- Creates a new klucz API.
- Disables uprawnienie do wypłaty.
- Enables only the required permissions: balance reading, order reading and trading.
- Sets an IP restriction if the giełda supports it.
- Copies the API Key and Secret Key.
- Adds the połączenie in the BackFuture AI dashboard.
- Runs a połączenie test.
- After a successful check, enables the required strategia or bot.
Required API permissions
| Permission | Needed? | Dlaczego |
|---|---|---|
| Read | ✅ Yes | So system can see balances, orders, positions and status. |
| Trade | ✅ Yes | So the bot can open, add to and close transakcje. |
| Withdraw | ❌ No | This permission must not be given to a trading bot. |
| Futures | ◐ If needed | Only for strategie that work with futures. |
| IP whitelist | ✅ Recommended | Restricts key usage to approved server IP addresses. |
Jak to name a połączenie correctly
In the dashboard, it is better to use clear połączenie names. This is especially ważny if the użytkownik has several giełdy, sub-accounts or strategie.
- MEXC Spot Main — main spot account on MEXC.
- KuCoin Futures Conservative — futures account for a conservative strategia.
- Recovery PRO Connection — separate połączenie for Recovery/PRO logic.
- BTC ETH New Groups — separate połączenie for new BTC/ETH grupy.
Step-by-step przykład
Step 1. Create an klucz API on the giełda
In the giełda account, open API Management or API Keys. Usually the giełda asks for a key name and confirms the action through email, phone or 2FA.
Step 2. Set permissions
For a trading połączenie, read and transakcja permissions are usually needed. Withdrawal must be disabled. If the giełda offers separate permissions for spot and futures, enable only the rynek you really plan to use.
Step 3. Add the key to BackFuture AI
In the dashboard, the użytkownik selects an giełda, enters API Key and Secret Key, sets a połączenie name and saves it. Secrets should not be displayed in full after saving.
Step 4. Test the połączenie
System checks the key, permissions, balance access and the ability to receive status. If everything is correct, the połączenie receives an “Online” or “Connected” status.
Step 5. Enable a strategia
After the test, the użytkownik can select pairs, ryzyko level, marża limit, dobieranie behavior, Recovery Mode and other ustawienia.
Typical połączenie errors
| Error | Cause | Co to do |
|---|---|---|
| Invalid key | klucz API or secret was copied incorrectly. | Create a new key or copy the values again. |
| No trading permission | Trade permission is disabled. | Enable trading permission, but keep withdrawal disabled. |
| IP not allowed | IP restriction does not include the server IP. | Add the correct server IP to the giełda whitelist. |
| Exchange unavailable | The giełda API is temporarily unavailable. | Wait and run the test again. |
Security principles
- Never enable uprawnienie do wypłaty for bot klucze API.
- Use separate klucze API for different strategie.
- Use IP restrictions kiedy possible.
- Do not show API secrets in full after saving.
- Delete old keys if they are no longer used.
- Use 2FA on the giełda account.
Wniosek
The safest model is kiedy środki remain on the użytkownik’s giełda, and BackFuture AI works only through limited API permissions. This allows the platforma to automate trading logic without direct access to withdrawals.