Hummingbot 2.4 Adds Solana DEX and Derive Trading Connectors
Summary
Hummingbot version 2.4 adds Gateway connectors for the Solana decentralized exchanges Meteora and Raydium, with standardized interfaces for automated market makers, concentrated liquidity market makers, and swaps. Gateway can also run as a standalone command-line tool. The release adds Derive connectors for spot and perpetual trading on a decentralized central limit order book protocol. These integrations expand the venues and market types available to trading systems built with Hummingbot.
The notes also describe an upcoming direction: Hummingbot scripts could use the new liquidity connectors to manage liquidity positions by opening, monitoring, and closing them against user-defined parameters. This is a preview, not a demonstrated performance result or a complete strategy specification. The release notes provide no backtest, live trading evidence, fee analysis, or risk assessment, so they explain platform capabilities rather than establish that any strategy using them is profitable. Other changes concern software maintenance, testing infrastructure, and existing exchange integrations.
Key ideas
- Gateway adds Meteora and Raydium connectors for Solana decentralized exchanges.
- Standardized interfaces cover swaps, automated market makers, and concentrated liquidity market makers.
- Derive support includes spot and perpetual trading through a decentralized central limit order book.
- The notes preview scripts for managing liquidity positions, but provide no strategy performance evidence.
Tags
Full text
# Hummingbot v2.4.0 Release Notes
# Hummingbot v2.4.0 Release Notes
*Released on March 3, 2025*
| Repository | Description | GitHub Release | DockerHub Release |
|------------|-------------|----------------|-------------------|
| [Hummingbot](https://github.com/hummingbot/hummingbot) | Core Client | [`v2.4.0`](https://github.com/hummingbot/hummingbot/releases/tag/v2.4.0) | [`version-2.4.0`](https://hub.docker.com/r/hummingbot/hummingbot/tags?name=version-2.4.0) |
| [Gateway](https://github.com/hummingbot/gateway) | DEX Middleware | [`v2.4.0`](https://github.com/hummingbot/gateway/releases/tag/v2.4.0) | [`version-2.4.0`](https://hub.docker.com/r/hummingbot/gateway/tags?name=version-2.4.0) |
!!! note
Other Hummingbot repositories such as [Dashboard](https://github.com/hummingbot/dashboard), [Backend-API](https://github.com/hummingbot/backend-api), [Quant-Lab](https://github.com/hummingbot/quant-lab), and [Deploy](https://github.com/hummingbot/deploy) follow a continuous deployment model without fixed version releases. Use the `main` branch for these repositories.
See the full changelogs on GitHub:
- [Hummingbot v2.4.0 Changelog](https://github.com/hummingbot/hummingbot/releases/tag/v2.4.0)
- [Gateway v2.4.0 Changelog](https://github.com/hummingbot/gateway/releases/tag/v2.4.0)
## How to Update
### Docker
Re-run the [Deploy](https://github.com/hummingbot/deploy) setup script:
```bash
git clone https://github.com/hummingbot/deploy.git
cd deploy
bash setup.sh
```
For individual images, exit running containers, pull the latest images, and restart:
```bash
docker compose down
docker pull hummingbot/hummingbot:latest
docker compose up -d
```
### Source
Update the branches of each repo to this release by running:
```bash
git pull origin master # Hummingbot
git pull origin main # Gateway
```
Afterwards, follow the instructions to re-install dependencies and compile the codebase for each repository. See [Install Hummingbot from Source](../installation/hummingbot-client.md) and [Install Gateway from Source](../gateway/installation.md).
## Release Highlights
### New Solana DEX Connectors
With the continuous refactor of Gateway approved in [NCP-22](https://snapshot.box/#/s:hbot-ncp.eth/proposal/0x5cc3540ee219787d5c842bc1ccdb11aab46203bb7f0be658b6b40858501a8e4c), this release introduces new connectors for Solana DEXs [Meteora](https://app.meteora.ag/) and [Raydium](https://raydium.io/), as well as standardized request and response interfaces for CLMM, AMM, and Swap request and responses in Gateway. In addition, Gateway can now be used as a standalone CLI. This marks a significant step towards a flexible yet standardized blueprint for adding back past Gateway connectors and supporting future DEX connectors.
The next release (2.5.0) will begin modifying the Hummingbot client to take advantage of the new CLMM and AMM connectors in Gateway, including sample Hummingbot scripts leveraging that showcase how traders can build effective strategies using these new components. As a preview, check out the video demo below for a Hummingbot script that automate Meteora LP positions by dynamically opens, monitors, and closes positions based on user-defined parameters.
<iframe style="width:100%; min-height:400px;" src="https://www.youtube.com/embed/40EffY-c3g8?si=sHCfPqjZjRBLZ_7j" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Pull Requests: [Hummingbot - #7457](https://github.com/hummingbot/hummingbot/pull/7457) | [Gateway -#403](https://github.com/hummingbot/gateway/pull/403)
### Core Environment Upgrade and Tests
This release introduces significant updates to modernize the Hummingbot environment and improve its performance and maintainability. It replaces the outdated `nose` test framework with `pytest`, removes the legacy, deprecated Telegram integration in preparation for an forthcoming update, and upgrades important libraries like Pydantic for faster performance. Collectively, these changes streamline dependency management, provide a more robust and modern testing suite, and make the codebase leaner and easier to maintain.
Pull Request: [Hummingbot #7403](https://github.com/hummingbot/hummingbot/pull/7403)
### New Derive Spot and Perpetual Connector
This release adds support for spot and perpetual connectors to [Derive](https://www.derive.xyz/), a decentralized CLOB trading protocol. See pull request [Hummingbot #7432](https://github.com/hummingbot/hummingbot/pull/7432) which was supported by a [bounty](https://github.com/hummingbot/hummingbot/issues/7344) funded by the Derive team.
While the bounty was just for the CLOB perpetual connector, the developer also generously added the CLO spot connector in [Hummingbot #7383](https://github.com/hummingbot/hummingbot/pull/7383). **Thanks to [isreallee82](https://github.com/isreallee82) for this contribution! 🙏**
See the [Derive](../exchanges/derive/index.md) documentation for more information.
### Improvements to Existing Exchange Connectors
- [#7315](https://github.com/hummingbot/hummingbot/pull/7315) - Updated [Bitmart](../exchanges/bitmart/index.md) to latest API version **Thanks to [babcoccl](https://github.com/babcoccl) for this fix! 🙏**
- [#7421](https://github.com/hummingbot/hummingbot/pull/7421) - Fixed `last_price` bug in [Dexalot](../exchanges/dexalot.md) **Thanks to [yancong001](https://github.com/yancong001) for this fix! 🙏**
- [#7441](https://github.com/hummingbot/hummingbot/pull/7441) - Updated [Bybit](../exchanges/bybit.md) to latest API version **Thanks to [tomasgaudino](https://github.com/tomasgaudino) for this fix! 🙏**
- [#7442](https://github.com/hummingbot/hummingbot/pull/7442) - Updated [Bitmart](../exchanges/bitmart/index.md) ticker parsing **Thanks to [tomasgaudino](https://github.com/tomasgaudino) for this fix! 🙏**
- [#7448](https://github.com/hummingbot/hummingbot/pull/7448) - Updated [Injective](../exchanges/injective.md) library version to 1.8 **Thanks to [aarmoa](https://github.com/aarmoa) for this fix! 🙏**
### Other Updates
**Hummingbot**
- [#7452](https://github.com/hummingbot/hummingbot/pull/7452) - Removed connectors that did not reach minimum HBOT voting threshold based on latest polls
- [#7455](https://github.com/hummingbot/hummingbot/pull/7455) - Resolved issue where executor actions loop when `stop` command is triggered **Thanks to [riven314](https://github.com/riven314) for this fix! 🙏**
- [#7456](https://github.com/hummingbot/hummingbot/pull/7456) - Removed `ethkeyfile` to resolve an error with the Hummingbot library
- [#7457](https://github.com/hummingbot/hummingbot/pull/7457) - Fixed restart error for Gateway core 2.4 and added support for CLMM and AMM connector types
- [#7461](https://github.com/hummingbot/hummingbot/pull/7461) - Improved the method of how executors are storedShown in full with attribution under the source's licence. Licence: Apache-2.0
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.