This project aims to be fed with your own Binance API and to give you useful metrics. It is intended to be run each 24h or so, to save daily data and be able to generate metrics.
Some examples of already implemented metrics:
- Your Spot balance shown in Euros
- Your Earn balance shown in Euros
- Your Global balance shown in Euros
- Information about tokens:
- Current price
- Owning quantity in Spot market
- Owning quantity in Earn market
- Global balance for this token, including earn products and spot assets (binance does not show you this information!)
When finished running, this script will serialize your updated token collection with all attributes (for future uses).
- Deserialize saved file to obtain metrics
- Show some useful information like:
- Percentage of change for spot balance
- Percentage of change for earn balance
- Percentage of change for global balance
- Percentage of change for global balance for each token
Your ./secrets.ini
file should look like this:
{"binance_api_uri": "https://api.binance.com", "api_key": "Your API KEY here", "api_secret": "Your SECRET key here"}
Please change the following variables:
- api_key
- api_secret
You can get your own key at: https://www.binance.com/en/my/settings/api-management
To exec this script, use the following command:
python3 app.py