Skip to main content

A tool to balance a cryptocurrency portfolio

Project description

Crypto Portfolio Balancer

Crypto Portfolio Balancer is a Python script that helps you balance your cryptocurrency portfolio between two specified currencies using the Binance API. It reads the target balance ratio and other settings from a configuration file and can handle three currencies with a specified base currency. It can also handle the case where the base currency is equal to one of the other currencies.

Features

  • Balances your virtual portfolio between two cryptocurrencies
  • Reads configuration from a TOML file
  • Supports three currencies with a specified base currency
  • Can handle the case where the base currency is equal to one of the other currencies
  • Shows the history of your portfolio
  • Reports transaction details when executed

Installation

  1. Clone this repository or download the source code.
  2. Install Python 3 if you haven't already.
  3. Install the required packages using the following command:
pip install -r requirements.txt
poetry build
pip install -U dist/portfolio_balancer-0.1.0-py3-none-any.whl

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portfolio-balancer-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

portfolio_balancer-0.1.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page