Browse the docs

Connect a Bybit account

A live account trades your real funds on Bybit. It needs Solo or Pro and two-factor authentication.

Set up the sub-account#

Create a Bybit sub-account for HookTrader and fund it. Don't trade it by hand. HookTrader refuses it unless it is:

  • a Unified Trading Account,
  • on Cross or Isolated Margin, never Portfolio Margin,
  • in one-way position mode.

Bybit sets margin mode for the whole account, so every strategy on it follows. HookTrader never changes either setting.

Create the API key#

  1. In API Management, set Read-Write, and under Contract tick Orders and Positions. Leave Wallet unticked.

  2. Choose Only IPs with permissions granted are allowed to access the OpenAPI, and add the IP under Server IP for whitelist.

  3. On Exchanges, click Create account → Exchange account, choose Bybit, and paste the key and secret.

If HookTrader refuses the key, nothing is saved and the dialog says what to change.