Là một dự án mã nguồn mở, stefan-jansen/pyfolio-reloaded đã đạt 625 sao trên GitHub, ngôn ngữ Jupyter Notebook. Portfolio and risk analytics in Python
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
pyfolio is a Python library for performance and risk analysis of financial portfolios.
It accepts returns, positions, and transactions from your own backtester, with optional
integration for Zipline.
Maintenance and new development
Pyfolio Reloaded is in minimal maintenance. Further work is limited to critical bug fixes,
security issues, and essential compatibility updates.
All new feature development focuses on the current ML4T libraries,
including ML4T Diagnostic.
For new projects, we recommend evaluating Diagnostic through its
migration guide,
which includes a runnable portfolio example and explains differences between the workflows.
See the Diagnostic documentation for its supported APIs.
Trading Strategy Analysis with pyfolio
At the core of pyfolio are various tear sheets that combine various individual plots and summary statistics to
provide a comprehensive view of the performance of a trading algorithm.
Here's an example of a simple tear sheet analyzing a strategy executed with the Zipline backtesting engine:
Performance Metrics
The tear sheet presents performance and risk metrics for the strategy separately during the backtest and out-of-sample periods:
Performance Plots
In addition, it visualizes how several risk and return metrics behave over time:
Installation
Pyfolio 0.10.0 and this source version support Python 3.11-3.15. Python 3.9 and 3.10
are retired. Existing release artifacts retain their
original Python requirements. See the Python support schedule.
This source version supports pandas 3.0 and 3.1 on Python 3.11-3.15, alongside
the existing pandas 1.5/2.x combinations where supported by the interpreter.
Pandas 3.2 and later are not yet qualified.
Published 0.10.0 permits pandas 3.0 only on Python 3.15.
Pandas 3.1 requires NumPy 2.0.2 or newer on Python 3.11-3.13. The dependency
resolver applies its requirements alongside the Python-specific floors below.
When sharing an environment with Zipline, its dependency constraints also apply.
Zipline Reloaded 3.2.0 requires pandas below 3.0; use a compatible pandas 2.x
environment for that integration. Pyfolio itself does not require Zipline.
Python 3.14 requires pandas 2.3.3 or newer and NumPy 2.3.3 or newer. Python 3.15 requires
pandas 3.0.6 and NumPy 2.5.4 or newer; pandas 2.3.3 crashes during date-range
construction in the stable CPython 3.15 Linux qualification. The dependency markers
select the appropriate combination. Bottleneck currently builds from source on
Python 3.15, so that installation needs a C compiler.
To install a published Pyfolio release into a supported environment, run:
pip install pyfolio-reloaded
The Conda channel contains historical releases:
conda install -c ml4t pyfolio-reloaded
The frozen Conda 0.9.4 recipe and existing channel artifacts are preserved.
That recipe does not build this source version, and its publishing workflow is retired.
Development
Clone this repository, then create an isolated environment and install the declared extras:
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 community.
Support
Please open an issue for support.
Contributing
Read the contribution guide
before submitting an issue or pull request. This library accepts bug, security and compatibility fixes.
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.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/stefan-jansen/pyfolio-reloaded là nguồn chính thức.
stefan-jansen/pyfolio-reloaded có bao nhiêu sao?
stefan-jansen/pyfolio-reloaded có 625 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/stefan-jansen/pyfolio-reloaded. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
stefan-jansen/pyfolio-reloaded có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho stefan-jansen/pyfolio-reloaded. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
stefan-jansen/pyfolio-reloaded còn đang phát triển không?
Commit gần nhất trên stefan-jansen/pyfolio-reloaded là 21 ngày trước (theo timestamp GitHub). Repo có 181 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
stefan-jansen/pyfolio-reloaded viết bằng ngôn ngữ gì?
stefan-jansen/pyfolio-reloaded chủ yếu viết bằng Jupyter Notebook. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về pyfolio-reloaded?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về pyfolio-reloaded.