Hummingbot Academy

[Academy Level 4] A. Professional — Setting custom scripts & webhooks

Advanced TWAP strategy

Advanced TWAP

The “twap_plus” strategy highly involves the Relative Strength Indicator (RSI) trend of a certain trading pair to execute trades. This way users can setup bots to match whenever the RSI levels are theoretically giving “Buy” signals or “Sell” signals and decide potential entry and exit points.

This strategy is a simple bot that places a series of limit orders on an exchange, while allowing users to control order size, price, and duration.

We recommend this strategy as a starting point for developers looking to build their own strategies, and it is used as reference for articles in Developer Reference: Strategies.

Advanced TWAP Strategy


TWAP - Hummingbot Foundation

Building your custom strategy

Here are some starting guides to building your custom strategy:

Coding practice: strategy coding for dummies

Here’s a great coding in practice that you can try by following the instructions in the following blog post written by developer and Hummingbot trader Ben. In this example, you will learn how to change some basic parameters for Hummingbot’s cross exchange market making strategy:

[Coding in Practice] Strategy coding for dummies by trader Ben

Using Tradingview and webhooks to automate Hummingbot

In this post, we explain the advantages of using TradingView alerts and the steps required to create and connect them to your Hummingbot to help streamline and automate your trading experience.

How to automate Webhooks and use trading view

DISCLAIMER: The websites located at,, (collectively, the "Site") are copyrighted works belonging to CoinAlpha, Inc. ("Company", "us", "our", and "we"). Certain features of the Site may be subject to additional guidelines, terms, or rules, which will be posted on the Site in connection with such features. All such additional terms, guidelines, and rules are incorporated by reference into these Terms. These terms of use (these "Terms") set forth the legally binding terms and conditions that govern your use of the Site. By accessing or using the Site, you are accepting these Terms (on behalf of yourself or the entity that you represent), and you represent and warrant that you have the right, authority, and capacity to enter into these terms (on behalf of yourself or the entity that you represent). You may not access or use the Site or accept the terms if you are not at least 18 years old. If you do not agree with all of the provisions of these terms, do not access and/or use the Site.