https://github.com/dexhunter/mercurius
https://github.com/dexhunter/mercurius
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dexhunter/mercurius
- Owner: dexhunter
- License: gpl-3.0
- Created: 2018-08-24T20:40:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T16:04:18.000Z (about 5 years ago)
- Last Synced: 2025-04-23T13:18:34.270Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 2.67 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Yet Another Portfolio Management Toolbox.
IMPORTANT: **Live Trading at your own risk.**
## Installation
```
pip install mercurius
```
## Example Usage
```
# 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'])
```
## Features
* Data Augmentation
* Concat different assets ohlcv
* Concat different assets ticker
* Backtest
* Trading algorithms [full list](docs/algorithms.md)
## Contributing
TODOs (Check [ISSUES](https://github.com/dexhunter/mercurius/issues))
---
Disclaimer
This project is based on OLPS1 and PGPortfolio2. Many thanks to the authors.
1. https://github.com/olps/olps
2. https://github.com/zhengyaoJiang/PGPortfolio