Bybit is one of the easiest exchanges to automate: a single unified trading account, clear API permissions and no hidden switches. This guide covers everything a bot needs from your Bybit account, whether you use EDVI or another service.
1. Prepare the account
- Verification and 2FA. Bybit does not let you create an API key without two-factor authentication. Turn it on in Account & Security.
- Unified Trading Account. New accounts are unified by default. If yours is an old Standard account, upgrade it: futures bots trade in the unified account.
- USDT on the derivatives side. Transfer USDT from the Funding account to the Unified Trading Account. Spot balances are not used by futures bots.
2. Create the API key
Open Profile → API and click Create New Key. Choose System-generated API keys, usage API Transaction, and give the key a name you will recognise later.
Permissions: Read-Write for Unified Trading (orders, positions). Never enable Withdraw: a trading bot does not need it, and a key without withdrawal rights cannot move your money even if it leaks.
IP restriction is the setting that matters most. Under Only IPs with permissions granted are allowed to access the OpenAPI paste the addresses of the service. For EDVI they are 45.32.17.47, 139.180.196.82, 167.179.110.73, 45.76.193.172, 108.61.250.99. A key restricted to these addresses is useless to anyone else. Bybit also expires unrestricted keys after 90 days; restricted keys do not expire.
Click Submit, confirm with the e-mail and 2FA codes and copy the API Key and Secret: the secret is shown once.
3. Position mode and leverage
Bots that trade long and short on the same pair need hedge mode (two-way positions). EDVI switches it on through the API when you connect; if you connect another service, enable it in the futures settings before the first order, because Bybit refuses to change the mode while positions are open.
Leverage on Bybit is set per pair. EDVI sets x10 cross on every connected pair. The strategies do not use the full leverage: a typical entry is a fraction of a percent of the deposit, and the leverage only reduces the margin locked per order. See what leverage to set for a trading bot.
4. Connect the key
In EDVI: Strategies → pick a strategy → Connect, choose Bybit, paste the key and secret. EDVI checks them on the exchange before letting you continue, then asks for the deposit mode (the whole wallet or a fixed amount in USDT) and the trading bots (pairs and timeframes). The full walkthrough is on the Bybit page.
5. What to check after the first trades
- Orders appear in Bybit. Open Orders → Open orders on the futures tab: you should see limit orders with client IDs of the bot.
- The log in the dashboard. Every order and every exchange reply is written to the strategy log. An error like insufficient balance or position mode points to the account, not the bot.
- Do not trade the same pairs by hand. Manual positions mix with the bot's positions and break both the trading and the profit calculation.
Common Bybit errors
| Reply | Cause | Fix |
|---|---|---|
10003 API key is invalid |
Key copied with a space, or revoked | Create a new key and connect it again |
10010 Unmatched IP |
Service IPs not in the whitelist | Add all addresses of the service to the key |
110007 Insufficient available balance |
USDT in Funding, not in the trading account | Transfer USDT to the Unified Trading Account |
110025 Position mode is not modified |
Positions open while switching hedge mode | Close positions, then switch |
Once the key works, the bot needs nothing else from you. Revoking the key on Bybit stops it at any moment.

