Skip to content
A Binance Exchange Portfolio Rebalancer
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
config.py
data.json
main.py
rebalance.py

README.md

Librio

Librio is a python script that rebalances your Binance Exchange Portfolio according to the percentage allocations in data.json

Getting Started

  • You will need python installed.
  • You need to have a Binance account with some $$$ in crypto.
  • You will also need to have an api key enabled. Please be very careful with this key.
  • Don't upload it to anything and if possible set the api setting to limit IP addresses.

Installing

Copy your API KEY and SECRET to the appropriate places in config.py Using the python binance client from https://github.com/sammchardy/python-binance

pip install python-binance
git clone https://github.com/Daniel-Wang/librio.git
cd librio

Running the script

Take some time to adjust the numbers and the symbols of your preferred portfolio composition in data.json.

Set OFFLINE to false in config.py

python main.py

Contributing

If you want to help improve Librio please submit a Pull Request. Some possible suggestions on things to submit:

  • Improve rebalancing algorithm (current one is brute force simple)
  • Add support for more exchanges
  • Improve the user experience

Authors

Daniel Wang

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License.

Acknowledgments

You can’t perform that action at this time.