Pyfolio - Portfolio and risk analytics in Python

  •        71

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.Also see slides of a talk about pyfolio.



Related Projects

alphalens - Performance analysis of predictive (alpha) stock factors

Alphalens is a Python Library for performance analysis of predictive (alpha) stock factors. Alphalens works great with the Zipline open source backtesting library, and Pyfolio which provides performance and risk analysis of financial portfolios.Check out the example notebooks for more on how to read and use the factor tear sheet.


CreditAnalytics is a full featured financial fixed-income credit analytics, credit risk, bond analytics and bond trading library.


CreditAnalytics is a full featured financial fixed-income credit analytics, credit risk, bond analytics and bond risk library, developed with a special focus towards the needs of the credit trading and bond trading community (CDS, CDX, CDO, and bonds of all types and variants).


DerivaQuant aims at creating a robust derivatives risk-analysis software for hedge funds and proprietary trading firms. It offers a variety of option pricing models, links with databases, real-time risk analysis and porfolio risk analysis.

iTrade - Trading and Charting System

Trading system written in Python including Quotes Management, Historical and live data, Import/Export data, Charting, Candlestick, Technical analysis, automated alerts, portfolio management, risk management, currency exchange, and much much more ...

Stock Monster

Stock Monster ... One stop resource shop for your share trading. It contains a portfolio manager, Historic Data internet downloads, Metastock conversions, risk/ reward position sizing plus a simple double entry personal finance management system.

Risk Quantify Financial Engine

Risk Quantify aims to provide a comprehensive framework for the trading, risk analysis and back office management of financial derivatives. Initially the system will support FX, Interest Rate and Equity-based products.

trading-financial-risk-mgmt - Seminar paper for "Trading and Financial Risk Management"

Seminar paper for "Trading and Financial Risk Management"

rquantlib - R interface to the QuantLib library

The RQuantLib package makes parts of QuantLib visible to the R user. Currently a number option pricing functions are included, both vanilla and exotic, as well as a broad range of fixed-income functions. Also included are general calendaring and holiday utilities. Further software contributions are welcome.The QuantLib project aims to provide a comprehensive software framework for quantitative finance. The goal is to provide a standard open source library for quantitative analysis, modeling, trading, and risk management of financial assets.

Zipline - A Pythonic Algorithmic Trading Library

Zipline is a Pythonic algorithmic trading library. It is an event-driven system that supports both backtesting and live-trading. Zipline is currently used in production as the backtesting and live-trading engine powering Quantopian -- a free, community-centered, hosted platform for building and executing trading strategies.Note: Installing Zipline via pip is slightly more involved than the average Python package. Simply running pip install zipline will likely fail if you've never installed any scientific Python packages before. - Risk On Risk Off analytics

Risk On Risk Off analytics


Solves the problem of finding the best way to allocate funds among different assets in a investment portfolio. This optimal allocation of funds will give us the lowest risk for a given desired percentage return of the portfolio desired by the investor. While any given desired return will have a set of practically infinite allocation combinations. This ruby code will give the combination with the lowest possible risk.

empyrical - Common financial risk and performance metrics. Used by zipline and pyfolio.

Common financial risk metrics.Please open an issue for support.

ISO 1799 Risk Analysis Toolkit

ISO 17799 Risk Analysis Toolkit. Opensource toolkit for risk analysis of security in enterprises or public organization based on the ISO 17799. It generates security policies based on questions and answers.

CORAS Risk Assessment Platform

Platform for risk analysis of security critical IT systems using UML, based on the CORAS model-based risk assessment methodology. Contains an XML and UML repository, facilitating management and reuse of analysis results.


A quantitative finance C++ library for modeling, pricing, trading, and risk management in real-life. A cross-platform free/open-source tool for derivatives and financial engineering.

StockSharp - Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, bitcoins and options)

StockSharp (shortly S#) – are free set of programs for trading at any markets of the world (American, European, Asian, Russian, stocks, futures, options, Bitcoins, forex, etc.). You will be able to trade manually or automated trading (algorithmic trading robots, conventional or HFT).Available connections: FIX/FAST, LMAX, Rithmic, Fusion/Blackwood, Interactive Brokers, OpenECry, Sterling, IQFeed, ITCH, FXCM, QuantHouse, E*Trade, BTCE, BitStamp and many other. Any broker or partner broker (benefits).

Risk Management Framework

This Project is one of my dreams , it is a total solution for a Risk Management in banks - phase one market risk - phase two credit risk - phase three operational this is a huge project that i can't handle alone , so I'd like others to join me Please Leave your feed back

aburisk - Minimal Risk game implementation (Space Risk)

Minimal Risk game implementation (Space Risk)