Hummingbot vs Uniswap: two approaches to liquidity

博客»Hummingbot vs Uniswap: two approaches to liquidity
cover

Michael Feng

2019-04-12 · 4 min read

Since both Hummingbot and Uniswap are both open source projects that allow users to make money by providing liquidity, many people have asked how they compare to each other.

Below, we shed more light on their similarities and differences and explain why the two projects are highly complementary.

What is Uniswap?

Uniswap is an Ethereum-based automated market maker that uses an elegant "constant product" design which calculates the exchange rate for any trade such the value of its token reserves stays equivalent both before and after the trade transpires.

Funded by an Ethereum Foundation grant, Uniswap is truly decentralized with no token or company behind it. Uniswap also boasts a simple yet intuitive user interface. Because of these factors, it has grown into an indispensable public utility within the Ethereum ecosystem:

ETH locked in Uniswap: https://mikemcdonald.github.io/eth-defi/

Many great articles already describe Uniswapanalyze its profitability, and explain the theory behind automated market makers.

While rehashing those articles is outside the scope of this post, we note that there are three types of users in the Uniswap ecosystem:

The 3 types of Uniswap users

  • Traders: users who use Uniswap to swap tokens

  • Liquidity providers : users who provide the token reserves used by Uniswap to facilitate trades. These users earn fees charged on each swap (currently 0.3%).

  • Arbitrageurs : rather than an external price feed, Uniswap relies upon external market participants to keep its prices in line with other markets. When the Uniswap price for a trading pair deviates from other markets, arbitrageurs (mostly bots) can buy from the lower price market and sell in the higher price market, thereby making an arbitrage profit while helping to align prices.

How are Hummingbot and Uniswap similar?

Both Hummingbot and Uniswap enable users to profit from providing liquidity, a huge problem for many crypto projects. In past blog posts, we've written about why liquidity is beneficial and what happens when liquidity is missing.

Moreover, both Hummingbot and Uniswap users can provide liquidity for decentralized, non-custodial trading venues. Lack of liquidity currently prevents decentralized, non-custodial exchanges (DEX) from being a compelling alternative to centralized exchanges. As Hummingbot, Uniswap, and other projects improve liquidity for DEXs, we believe that more and more users will choose them over centralized exchanges that carry the risk of hacks and outright frauds.

Finally, both Hummingbot and Uniswap are open source. In a world where malicious backdoor code can potentially wipe out a user's life savings, the transparency of an open source code base is critical.

How are Hummingbot and Uniswap different?

User interfaces: Hummingbot (left) vs Uniswap (right)

From a side-by-side comparison of the user interfaces, it's clear that Hummingbot and Uniswap target two different types of liquidity providers:

  • Hummingbot is for power users (developers, quants, and active traders) who value configurability, flexibility, and control

  • Uniswap is for mainstream users who want convenience, ease of use, and simplicity

Since Uniswap uses a pre-determined, immutable formula to calculate its buy and sell offer prices, its liquidity providers just need to deposit tokens in order to start earning fees. While it's dead simple to use, liquidity providers cannot alter the formula and may incur losses depending on how prices change.

On the other hand, Hummingbot is a highly configurable, open source algo trading platform that supports different strategies and exchanges, both centralized and decentralized. Because trading is a competitive sport, we encourage users to create and customize our strategy templates. In return for a steeper learning curve and a longer installation and configuration process, Hummingbot grants users the power to experiment with various strategies on different markets.

Hummingbot 🐦 + Uniswap 🦄

Recall that Uniswap depends upon arbitrageurs to keep prices fair and aligned with the rest of the market. Meanwhile, Hummingbot's arbitrage strategy helps you create a bot that exploits price differences across different exchanges. Boom💥!

We're excited to announce an upcoming Uniswap connector for Hummingbot. Soon, Hummingbot users will be able to play the Arbitrageur role in the Uniswap ecosystem by running an arbitrage bot that monitors the price differences between Uniswap, Binance, Coinbase Pro, Radar Relay, DDEX, and other exchanges.

When prices differ between Uniswap and other markets, the bot will automatically buy low and sell high, improving Uniswap market efficiency while earning arbitrage profits for Hummingbot users.


Both Hummingbot and Uniswap are open source projects that share the same mission: improving liquidity in decentralized finance. We target different user personas who have different needs, allowing both projects to better serve the entire market.

相关帖子

Hummingbot closes $8 million Series A round led by Initialized Capital
Hummingbot closes $8 million Series A round led by Initialized Capital
Hummingbot Roadmap - Q2 2021
Hummingbot Roadmap - Q2 2021
Hummingbot Architecture Part 2
Hummingbot Architecture Part 2

免责声明:位于https://hummingbot.io、https://docs.hummingbot.io、https://miners.hummingbot.io的网站(统称为“网站”)是属于CoinAlpha, Inc.(“公司”、“我们”和“我们的”)的受版权保护的作品。本网站的某些功能可能受附加指南、条款或规则的约束,这些指南、条款或规则将发布在与此类功能相关的网站上。所有此类附加条款、指南和规则均通过引用纳入本条款。这些使用条款(以下简称“条款”)规定了具有法律约束力的条款和条件,以规范您对本网站的使用。访问或使用本网站,即表示贵方接受这些条款(代表贵方自己或贵方所代表的实体),并且贵方声明并保证贵方有权利、权限和能力签订这些条款(代表贵方自己或贵方所代表的实体)。如果贵方未满18岁,则不得访问、使用本网站或接受这些条款。如果贵方不同意这些条款的所有规定,请勿访问和/或使用本网站。