Yet Another Portfolio Management Toolbox.
IMPORTANT: Live Trading at your own risk.
pip install mercurius
# Uniform Constant Rebalanced Portfolio
from mercurius.strategy import ucrp
up = ucrp()
up.trade(input_data, tc=0.025)
result = up.finish(True, True)
print(result['portfolio'])
- Data Augmentation
- Concat different assets ohlcv
- Concat different assets ticker
- Backtest
- Trading algorithms full list
TODOs (Check ISSUES)
Disclaimer
This project is based on OLPS1 and PGPortfolio2. Many thanks to the authors.