GithubHelp home page GithubHelp logo

fintrek / binance-portfolio-management Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfredholmes/crypocurrency-portfolio-management

0.0 1.0 0.0 290 KB

Implementation of PAMR portfolio management for binance cryptocurrency assets.

License: MIT License

Python 100.00%

binance-portfolio-management's Introduction

Automated Portfolio Management Analysis for Binance Cryptocurrency Exchange

Implementation of PAMR and MAMR portfolio management algorithms for analysis and online portfolio management of cryptocurrency assets.

Performance - with the trading fee of 0.1%

Parameters fitted to maximise the mean daily return, algorithm runs every 30 minutes PAMR-2 Performance

Current portfolio consists of 8 large market cap coins.

Portfolio through time

Portfolio through time

Requirements

pip3 install requests numpy scipy  

To run PAMR simulation

git clone https://github.com/alfredholmes/binancePAMR.git
cd binancePAMR
python3 data/get_candles.py 
python3 analysis/PAMR.py

References / useful papers

Passive aggressive mean reversion

Li, B., Zhao, P., Hoi, S.C.H. et al. PAMR: Passive aggressive mean reversion strategy for portfolio selection. Mach Learn 87, 221โ€“258 (2012). https://doi.org/10.1007/s10994-012-5281-z https://link.springer.com/content/pdf/10.1007/s10994-012-5281-z.pdf

Multiperiodical Asymmetric Mean Reversion

Peng, Zijin & Xu, Weijun & Li, Hongyi. (2020). A Novel Online Portfolio Selection Strategy with Multiperiodical Asymmetric Mean Reversion. Discrete Dynamics in Nature and Society. 2020. 1-13. 10.1155/2020/5956146. http://downloads.hindawi.com/journals/ddns/2020/5956146.pdf

binance-portfolio-management's People

Contributors

alfredholmes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.