All Projects → quantopian → Pyfolio

quantopian / Pyfolio

Licence: apache-2.0
Portfolio and risk analytics in Python

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pyfolio

Qtrader
Reinforcement Learning for Portfolio Management
Stars: ✭ 363 (-91.29%)
Mutual labels:  jupyter-notebook
Kaggle titanic
the data and ipython notebook of my attempt to solve the kaggle titanic problem
Stars: ✭ 363 (-91.29%)
Mutual labels:  jupyter-notebook
Nerf pl
NeRF (Neural Radiance Fields) and NeRF in the Wild using pytorch-lightning
Stars: ✭ 362 (-91.31%)
Mutual labels:  jupyter-notebook
Workshops
lecture notes for cyberwizard workshops
Stars: ✭ 363 (-91.29%)
Mutual labels:  jupyter-notebook
Articles
A repository for the source code, notebooks, data, files, and other assets used in the data science and machine learning articles on LearnDataSci
Stars: ✭ 350 (-91.6%)
Mutual labels:  jupyter-notebook
Sagemaker Deployment
Code and associated files for the deploying ML models within AWS SageMaker
Stars: ✭ 361 (-91.34%)
Mutual labels:  jupyter-notebook
Natural Language Image Search
Search photos on Unsplash using natural language
Stars: ✭ 359 (-91.38%)
Mutual labels:  jupyter-notebook
Integrated Gradients
Attributing predictions made by the Inception network using the Integrated Gradients method
Stars: ✭ 365 (-91.24%)
Mutual labels:  jupyter-notebook
Advanced Tensorflow
Little More Advanced TensorFlow Implementations
Stars: ✭ 364 (-91.26%)
Mutual labels:  jupyter-notebook
Intro programming
A set of IPython notebooks and learning resources for an Introduction to Programming class, focusing on Python.
Stars: ✭ 366 (-91.22%)
Mutual labels:  jupyter-notebook
Vilbert beta
Stars: ✭ 359 (-91.38%)
Mutual labels:  jupyter-notebook
Lagom
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms.
Stars: ✭ 364 (-91.26%)
Mutual labels:  jupyter-notebook
Sdv
Synthetic Data Generation for tabular, relational and time series data.
Stars: ✭ 360 (-91.36%)
Mutual labels:  jupyter-notebook
Datascience
A Python library for introductory data science
Stars: ✭ 363 (-91.29%)
Mutual labels:  jupyter-notebook
Easy Deep Learning With Keras
Keras tutorial for beginners (using TF backend)
Stars: ✭ 367 (-91.19%)
Mutual labels:  jupyter-notebook
Deepstream python apps
A project demonstrating use of Python for DeepStream sample apps given as a part of SDK (that are currently in C,C++).
Stars: ✭ 359 (-91.38%)
Mutual labels:  jupyter-notebook
Optunity
optimization routines for hyperparameter tuning
Stars: ✭ 362 (-91.31%)
Mutual labels:  jupyter-notebook
Audionotebooks
Collection of notebooks and scripts related to audio processing and machine learning.
Stars: ✭ 366 (-91.22%)
Mutual labels:  jupyter-notebook
Carnd Vehicle Detection
Vehicle detection using YOLO in Keras runs at 21FPS
Stars: ✭ 367 (-91.19%)
Mutual labels:  jupyter-notebook
Tts
🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
Stars: ✭ 305 (-92.68%)
Mutual labels:  jupyter-notebook

pyfolio

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. Quantopian also offers a fully managed service for professionals that includes Zipline, Alphalens, Pyfolio, FactSet data, and more.

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's an example of a simple tear sheet analyzing a strategy:

simple tear 0 simple tear 1

Also see slides of a talk about pyfolio.

Installation

To install pyfolio, run:

pip install pyfolio

Development

For development, you may want to use a virtual environment to avoid dependency conflicts between pyfolio and other Python projects you have. To get set up with a virtual env, run:

mkvirtualenv pyfolio

Next, clone this git repository and run python setup.py develop and edit the library files directly.

Matplotlib on OSX

If you are on OSX and using a non-framework build of Python, you may need to set your backend:

echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc

Usage

A good way to get started is to run the pyfolio examples in a Jupyter notebook. To do this, you first want to start a Jupyter notebook server:

jupyter notebook

From the notebook list page, navigate to the pyfolio examples directory and open a notebook. Execute the code in a notebook cell by clicking on it and hitting Shift+Enter.

Questions?

If you find a bug, feel free to open an issue in this repository.

You can also join our mailing list or our Gitter channel.

Support

Please open an issue for support.

Contributing

If you'd like to contribute, a great place to look is the issues marked with help-wanted.

For a list of core developers and outside collaborators, see the GitHub contributors list.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].