Performance#
The performance module provides tools for evaluating and summarizing
portfolio and strategy performance. It exposes a clean public API for
calculating returns, risk metrics, and visualizing performance, while keeping
internal computation details hidden.
Generate portfolio returns from given portfolio weights. |
|
Generate portfolio, benchmark, and active returns from given portfolio weights. |
|
Calculate leverage from portfolio weights. |
|
Calculate drawdowns for each portfolio over time. |
|
Generate a summary statistics table for single portfolio returns. |
|
Generate a summary statistics table for multiple portfolio returns. |
|
Generate a summary statistics table for portfolio leverage. |
|
Generate a summary statistics table for portfolio drawdowns. |
|
Plot cumulative portfolio returns over time. |
|
Plot cumulative portfolio returns over time for multiple portfolios. |
|
Plot portfolio leverage over time. |
|
Plot portfolio drawdowns over time. |
|
Compute Information Coefficients (ICs) between previous-day alpha and realized returns. |
|
Plot cumulative Information Coefficient (IC) over time. |
|
Compute summary statistics for two-sided portfolio turnover. |
|
Plot rolling two-sided turnover over time. |