Skip to content

Bybit

Support Hummingbot

Hummingbot Foundation has a fee share partnership with Bybit. When you use our software to trade on Bybit, a custom API header tells Bybit that the trade was executed using Hummingbot, so they share a portion of your fees with us, at no cost to you. To support us, just enter your API keys into Hummingbot and run bots! Thanks for your support! πŸ™

πŸ›  Connector InfoΒΆ

  • Exchange Type: Centralized Exchange (CEX)
  • Market Type: Central Limit Order Book (CLOB)
Component Status Connector Version V2 Strategies Notes
πŸ”€ Spot Connector βœ… v2.1 Yes Supports MARKET order type
πŸ”€ Perp Connector βœ… v2.1 Yes Supports testnet
πŸ•― Spot Candles Feed Not available
πŸ•― Perp Candles Feed Not available

ℹ️ Exchange InfoΒΆ

πŸ”‘ How to ConnectΒΆ

Generate API KeysΒΆ

  • Log in to your Bybit account or Sign Up for a Bybit account.

  • Click on your account icon at the top right corner of the screen, and select API from the drop-down menu.

  • Navigate to the API Management tab and click on Create New Key.

  • Select System-generated API Keys.

  • Select API Transaction, and name the API key.

  • Set the permissions for the API key (e.g., account information, order placement, position information) and click on Submit

  • Copy the API key and secret, and save them somewhere safe.

  • Log in to the third-party application and link the saved API.

Add Keys to HummingbotΒΆ

From inside the Hummingbot client, run connect bybit:

Enter your bybit API key >>>
Enter your bybit secret key >>>

If connection is successful:

You are now connected to bybit

πŸ”€ Spot ConnectorΒΆ

Integration to spot markets API endpoints

Order TypesΒΆ

This connector supports the following OrderType constants:

  • LIMIT
  • LIMIT_MAKER
  • MARKET

Paper TradingΒΆ

Access the Paper Trade version of this connector by running connect bybit_paper_trade instead of connect bybit.

If this is not available by default, you can configure Hummingbot to add this paper trade exchange. See Adding Exchanges for more information.

πŸ”€ Perp ConnectorΒΆ

Integration to perpetual futures markets API endpoints

Order TypesΒΆ

This connector supports the following OrderType constants:

  • LIMIT
  • MARKET

Position ModesΒΆ

This connector supports the following position modes:

  • One-way
  • Hedge

Paper TradingΒΆ

This perp exchange offers a paper trading mode: https://testnet.bybit.com/en-US/trade/spot/BTC/USDT

Afer you create an account and create the API keys, you can enter them by using the connect bybit_perpetual_testnet command within the Hummingbot client. Once connected, you should be able to use the testnet with the available perpetual strategies / scripts.

Was this page helpful?