Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dexhunter/mercurius


https://github.com/dexhunter/mercurius

Last synced: 1 day ago
JSON representation

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