GithubHelp home page GithubHelp logo

cmorgan / pyfolio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quantopian/pyfolio

0.0 2.0 1.0 45.58 MB

Portfolio and risk analytics in Python

Home Page: http://quantopian.github.io/pyfolio

License: Apache License 2.0

Shell 0.05% Python 99.95%

pyfolio's Introduction

pyfolio

Join the chat at https://gitter.im/quantopian/pyfolio build status

pyfolio is a Python library for performance and risk analysis of financial portfolios developed by Quantopian Inc. It works well with the Zipline open source backtesting library.

At the core of pyfolio is a so-called tear sheet that consists of various individual plots that provide a comprehensive image of the performance of a trading algorithm. Here is an example of a tear sheet of a the Zipline algo included as one of our example notebooks:

example tear 1 example tear 2 example tear 3 example tear 4

See also slides of a recent talk about pyfolio.

Installation

To install pyfolio via pip issue the following command:

pip install pyfolio

For development, clone the git repo and run python setup.py develop and edit the library files directly. Make sure to reload or restart the IPython kernel when you make changes.

pyfolio has the following dependencies:

  • numpy
  • scipy
  • pandas
  • matplotlib
  • seaborn
  • pymc3 (optional)
  • zipline (optional; requires master, not 0.7.0)

Questions?

If you find a bug, feel free to open an issue on our github tracker.

You can also join our mailing list.

Contribute

If you want to contribute, a great place to start would be the help-wanted issues.

Credits

For a full list of contributors, see https://github.com/quantopian/pyfolio/graphs/contributors.

pyfolio's People

Contributors

twiecki avatar gusgordon avatar a-campbell avatar sbussmann avatar justinlent avatar ssanderson avatar adzuci avatar jonathanng avatar jkrauss82 avatar mriduls avatar gitter-badger avatar jlopezpena avatar dat-boris avatar

Watchers

James Cloos avatar Peter avatar

Forkers

hal2001

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.