Hummingbot Academy

[Academy Level 3] B. Intermediate — Managing your bot performance: Intro guide to managing P&L

How does Hummingbot measure PnL ?


Hummingbot calculates profitability by determining the portfolio value of the starting balance and the current balance in terms of the current exchange rate.

Screenshot 2022-03-02 at 12.42.11 PM

To learn more about how and why we calculate PnL:

How to measure performance in crypto trading

Tips for capital deployment

Different traders have different preferences for capital deployment. In this article, Hummingbot trader and community member Dalskie provides tips on capital deployment from past experience:

[Trader Tips] Capital Deployment for Hummingbot by Trader Dalskie

Managing your bot

Some resources for you to manage your bot performance :

Simple performance statistics: GitHub repo


Simple program contributed by our user @JamesPMagic that plots the trades and provides simple performance statistics

Screenshot 2022-03-07 at 3.57.19 PM

Github repo:

https://github.com/rkc2000/Hummingbot-Postprocess

PnL Analysis Jupyter notebook


PnL Analysis Jupyter Notebook created by one of our community members

PNL analysis notebook tutorial

DISCLAIMER: The websites located at https://hummingbot.io, https://docs.hummingbot.io, https://miners.hummingbot.io (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.