Connect Bybit
Bybit is included in every plan. You can start with a demo account.
1. Create the API key
On bybit.com, open API Management and create a system-generated API key for API transactions.
- Permissions: Read-Write, with trading permission for what you trade: contract orders and positions, and/or spot trading.
- Never enable withdrawals or transfers. BotEdge only places orders.
If the exchange offers it, restrict the key to the addresses BotEdge trades from: 161.35.155.159. A stolen key is then useless anywhere else.
2. Add it to BotEdge
- In the dashboard, click Add connection and choose Bybit.
- Choose Live for your real account or Demo / testnet for a demo key.
- Paste the values from the exchange:
- API key
- API secret (secret)
Secrets are encrypted before they are stored and are never shown again.
- Save. The connection card shows your pointer, the webhook URL and the alert message.
3. Set up the alert
- Chart and ticker: A Bybit chart, for example BYBIT:BTCUSDT.P for the USDT perpetual.
- Quantity: Coins of the base asset on USDT perpetuals and spot: 0.001 on BTCUSDT is 0.001 BTC.
Then follow the TradingView guide to create the alert.
Demo account
Demo uses Bybit Demo Trading (not the testnet website): switch your Bybit account to Demo Trading, create an API key there and choose Demo when you add the connection.
Order rejected?
The error email explains what Bybit answered. The error guide covers the most common causes.