dYdX logo
dYdX logodYdX icon
English
中文
日本語
한국어
русский
Türkçe
Français
Português
Español

Hummingbot Bounty Hunt

Product
Product
hummingbird-bounty-hunt
Product
Product

We are happy to announce a new round of bounties to challenge the Hummingbot developer community!

Hummingbot is working with us to distribute $15,000 in prizes among all the creative hackers and devs that help grow the community-driven Hummingbot open-source project.

If you want to discuss with other members of the community and our developers about your ideas (or maybe find a teammate to tackle the bounty challenges), make sure to visit the Hummingbot Reddit page!

The bounty is divided into three prizes:

  • New Strategy Bounty

     

    - $10,000

The first challenge is to create a new strategy to be used with the Hummingbot client, leveraging dYdX advantages (Check details below).

  • Content Bounty

     

    - $2,000

The next challenge is about creating excellent content teaching how to use Hummingbot + dYdX. Any format (video, guided tutorial, article, etc.) is eligible as long as the contents make the experience of starting firing up a Hummingbot instance with dYdX easier.

  • Tips

     

    - $3,000 shared among meaningful and interesting contributions

Even if your contribution isn’t the winner of the main prize, both Hummingbot and dYdX team will look into all contributions and share some tips among the runners-up.

Schedule

  • Start date: Monday, Aug 9, 2021

  • Last day for submissions: Friday, Oct 1, 2021

  • Winner announcement: 2 weeks after submission

Now, let’s learn more about each bounty!

New Strategy Bounty

Goal

Build a new strategy customized strategy for the dydx_perpetual connector

Background

Hummingbot currently has two dYdX connectors:

  • dydx

    : Connector to the spot market, on Ethereum Layer 1

  • dydx_perpetual

    : Connector to the perpetual markets on Ethereum Layer 2 that uses StarkWare ZK-Rollups

The goal of this bounty is to create a new strategy for the dydx_perpetual exchange. Check out the docs for more information.

At the moment, two strategies are available for dydx_perpetual:

  • spot_perpetual_arbitrage: Aims to capture the premium difference between spot and perpetual prices. More information here.

  • Perpetual_market_making: A standard market-making strategy that aims to capture the spread between buy and sell orders on a single exchange. More information here.

But there are still a lot of different strategies that can be created using Hummingbot as the codebase. Here are some ideas:

Perpetual-to-Perpetual Arbitrage

Many quant trading strategies exploit short-term differences in price amongst other exchanges. For instance, a perpetual market on Binance can trade at a different price than that same market on dYdX. Create a strategy that identifies and captures arbitrage opportunities between perpetual exchanges.

Funding rate arbitrage

Perpetual exchanges like dYdX use a funding rate mechanism to ensure that the perpetual swap price approximates the spot price. When funding rates are positive, short positions earn the funding rate, and when funding rates are negative, long positions earn the funding rate. Build a strategy that allows you to earn the funding rate on dYdX while hedging on another perpetual or spot exchange.

dYdX has subtle but potentially significant differences with other perpetual exchanges supported by Hummingbot. For example, dYdX funding rates are updated every hour, while Binance Futures’ funding rates are updated every 8 hours. The funding rates between exchanges are often different and thus can be arbitraged in a delta-neutral way while capturing the funding rate spread.

Perpetual-hedged market making

To reduce risk caused by large swings in inventory position from filling orders when the market is trending, professional market makers often hedge their exposure on perpetual markets. Create a strategy that places maker orders on a spot exchange while hedging significant changes in inventory by entering into long or short perpetual positions on dYdX.

Correlation trading

Many alt-coins are highly correlated with BTC and/or ETH, so alt-coin prices tend to move in response when prices of those large coins move. However, this price correlation may fluctuate or take longer to transpire on certain markets, creating opportunities for bots.

Build a bot that analyzes the recent price history of trading pairs on dYdX to detect trading opportunities based on price correlation reverting to the mean. Unlike spot exchanges, perpetual exchanges like dYdX allow you to long or short any token even if you only deposit one type of token ( USDC ), so this strategy should look at all dYdX pairs.

Submission acceptance criteria

To be accepted and reviewed, the submission must attend to the following requirements:

  • Find the

     

    dydx_bounty

     

    branch in the Hummingbot Github repo (link to be added after 0.42 release)

  • Fork the branch and add your code

  • Afterward, submit a pull request (PR) to the

     

    dydx_bounty

     

    branch and include “[dydx_bounty]” in the PR name

  • The PR must also contain all the details about how the strategy works (trading logic and what is the expected - outcome)

  • The PR must pass all Github validation and unit tests

  • The PR must contain no malicious code

  • The PR must follow the

     

    Contribution Guide

  • It must use version 0.42 as the base of the code, which will be the same as the

     

    dydx_bounty

     

    branch.

Content Bounty

Running a trading bot on a new exchange involved significant onboarding friction. Create a high-quality, creative piece of content that shows new users how to install, configure and run a Hummingbot strategy on dydx_perpetual.

Steps

Documentation

  • Install Hummingbot using Docker

  • Deposit tokens

  • Add API keys

  • Create and run a strategy

Submission Acceptance

  • Format: Google Doc, Youtube video, or both

Tips

We recognize that building a great strategy and creating high-quality educational content requires time and effort.

Hummingbot and dYdX will allocate $3,000 in Tip bounties to one or more bounty hunt participants at their sole discretion, rewarding community members for spending their time on this bounty, even if they ultimately don’t win

Documentation Reference

Hummingbot Client Documentation:

Blog Posts:

Technical Support

Hummingbot Development team can be reached on their Discord, on the channel #dev-general for general questions about the bounty.

For more detailed questions about how to achieve something specific with the Hummingbot codebase, post your question to the Hummingbot Reddit with the Dev flair, and our development team will answer as soon as possible.

Decision Process

After the last submission date (10/01), Hummingbot and dYdX teams will evaluate all the contributions and distribute the bounties to participants based on the following criteria:

  • Strategy usefulness and logic

  • Code quality

  • Strategy working as described

Afterward, Hummingbot will work with the winning developer to merge the strategy into the official Hummingbot codebase. Note that the developer may need to make specific changes to the PR as part of the review process for it to be merged.

Good Luck, and happy bounty hunting!


About dYdX

dYdX is the developer of a leading decentralized exchange on a mission to build open, secure, and powerful financial products. dYdX runs on audited smart contracts on Ethereum, which eliminates the need to trust a central exchange while trading. We combine the security and transparency of a decentralized exchange, with the speed and usability of a centralized exchange.