This is a simple Python script that generates a funding rate heatmap for the top 30 cryptocurrencies by volume using the style of Coinglass. The heatmap uses data from the Binance API.
This is a well known heatmap for cryptocurrency traders. The goal is to provide a quick overview of the funding rates of current popular cryptocurrencies on Binance. I used the chart found on Coinglass as a reference. The data is then plotted using Matplotlib and Seaborn.
The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block after cloning the repository:
pip install -r requirements.txt
To generate the chart, simply run the script using the following command:
python src/main.py
The settings can be adjusted at the top of the main.py file.
The following chart is an example of the output generated by the script.
The following image was used as a reference to create the funding rate heatmap.
This project is part of a series of projects that I have created. You can find the other projects in the following list: