Script to visualise and analyse performance of high-frequency crypto trading bots using Hummingbot (https://github.com/hummingbot/hummingbot)
Installation and use of the script:
- Download script (hummingbot-postprocess.py) from Github to the system where hummingbot crypto trading bots are being used
- Open the script in any text editor and modify the input parameters listed below
- Run the script (python hummingbot-postprocess.py) and obtain the output plot and statistics
Inputs to be provided | Sample inputs |
---|---|
exchange | 'ascendex' / 'binance' / 'kucoin' |
pair | 'CNTR/USDT |
start_time | datetime(2022, 2, 9, 22, 00, 00) #Year, Month, Day, Hour, Minute, Second |
trades_path | '/Users/xxx/CNTR_bot/hummingbot_data/trades.csv' |
fees_percent | 0.2 |
Sample outputs: