Skip to content

Engineering

Hummingbot 2024 Technical Roadmap: Innovating for the Future

cover

After a year of significant milestones in 2023, we're excited to announce the 2024 Hummingbot technical roadmap! Our plans are geared towards enhancing the usability, functionality, and scalability of our platform. Building on the emergence of the V2 framework, we are excited to introduce a range of innovative features that will redefine algorithmic trading for our users.

Here what we expect to deliver from a technical standpoint in 2024:

2023: A Year of Innovation at Hummingbot

cover

As we are assembling the roadmap for the new year, it's important to reflect on the strides Hummingbot has made from an engineering standpoint in 2023.

In the 2023 Technical Roadmap, we defined 4 key goals:

  1. Expand Top Exchange Connectors: Update connectors to latest standards, support market orders and lending/staking
  2. Optimize Hummingbot codebase: Streamline maintenance and move Gateway DEX connectors into a separate repo
  3. Expand Scripts Framework: Integrate indicators into the Scripts framework, add more examples, and make them configurable
  4. Support External Modules: Support community-built external modules like the Brokers orchestration repo

Let’s review each of these milestones versus the actual progress made in 2023:

Introducing V2 Strategies

We are excited to formally introduce the V2 Strategy Framework! After months of testing by us and our community, we are confident that using this new framework to design and deploy strategies will improve your algo trading P&L!

V2 strategies bring unparalleled modularity, real-time adaptability, and backtesting capabilities to your trading arsenal, allowing you to design and deploy powerful, custom strategies with only a few tweaks to the template.

Revolutionizing Strategy Design with Modularity and Flexibility

V2 Strategies marks a departure from the more rigid structure of V1 strategies. It's crafted to enable users to create powerful, custom strategies, even those who may not have extensive Python programming experience.

Key Features:

  • Composable: The core of V2 strategies lies in their modularity, allowing users to create complex and customized trading strategies using simple modifications in the provided templates.
  • Real-Time: Leveraging real-time market data, V2 strategies dynamically adjust spreads and shift prices. This responsiveness to market changes optimizes profitability and minimizes risk, surpassing the capabilities of the static V1 strategies.
  • Backtestable: A crucial component of any trading strategy is the ability to test and refine it. V2 strategies excel in this aspect, offering comprehensive backtesting tools that enable detailed simulations with historical market data, accessible through the Dashboard.

Hummingbot Gateway Architecture - Part 2

cover

by Martin Kou

Update (February 2023): Hummingbot Gateway v2 is now available as a standalone Github repository: https://github.com/hummingbot/gateway. Most of the functionality listed in this post has now been implemented, and we welcome contributions from the community.

Introduction

In Part 1 of this series, we have discussed the architectural changes we are making to Hummingbot Gateway v2 to improve its robustness and reliability, to bring it up to the service quality level expected of production trading systems.

Hummingbot Gateway Architecture - Part 1

cover

by Martin Kou

Update (February 2023): Hummingbot Gateway v2 is now available as a standalone Github repository: https://github.com/hummingbot/gateway. Most of the functionality listed in this post has now been implemented, and we welcome contributions from the community.

Introduction

Hummingbot Gateway is a software that allows Hummingbot to connect to decentralized exchanges like Uniswap.

The Hummingbot Gateway is a separate piece of software apart from Hummingbot, because software libraries needed for accessing decentralized exchanges, e.g. the Uniswap Smart Order Router, are usually not written in Python. The gateway provides Hummingbot access to these decentralized exchanges with their differing software stacks, by exposing a secure and unified API interface to Hummingbot. This API interface can also be used by other potential gateway clients, such as proprietary trading software.

Hummingbot Architecture - Part 2

Introduction

In the last article - Hummingbot Architecture - Part 1 - of this series, we've discussed the design motivations behind Hummingbot, the clock and the market connectors. Today, we'll be discussing the architecture behind trading strategies - the very component that decides Hummingbot trades with your money. We will also discuss how you can diagnose problems and debug Hummingbot in live trading.

Technical Deep Dive into the Avellaneda & Stoikov Strategy

cover

In our previous blog post, we introduced the new avellaneda_market_making strategy. This time, we delve deeper into the mathematical aspects of this strategy. We aim to explain how we adapted the original Avellaneda-Stoikov model for the cryptocurrency market and simplified the calculation of key parameters, known as greeks.

This article mathematically substantiates the assumptions and calculations that made the authors' model more suitable for Hummingbot traders.

Original Model and Our Proposed Extensions

Let's start by revisiting the core equations from the Avellaneda-Stoikov paper:

Hummingbot Architecture - Part 1

Introduction

Hummingbot is a modular framework for building highly reliable, and high performance trading bots. While the official Hummingbot package already allows you to run high frequency trading strategies on a number of cryptocurrency exchanges, the underlying framework is freely extensible for building custom strategies, custom market connectors, and more.

In this blog post, we will discuss some of the key architectural features in Hummingbot, and the rationales behind their designs.

Scaling the Hummingbot developer community

cover

From the beginning, we conceived of Hummingbot as a shared public utility: an open source project that helps you create trading bots on any crypto exchange without having to write low-level integrations to exchange APIs.

We knew that we would have to create the first few exchange integrations, but we hoped that over time, the open source nature of the Hummingbot codebase would allow others to contribute their own exchange connectors and strategies.

Since we launched last year, 58 unique developers have contributed to the open source Hummingbot codebase. But we’re also aware we should be doing more to support the many developers, both professional and individuals, who want to customize Hummingbot for their own needs and contribute to the open source codebase.