Performance metrics (fynance.metrics)¶
Risk-adjusted ratios, return and drawdown metrics to evaluate a strategy
out-of-sample. A metric evaluates a series — distinct from
fynance.features, which builds inputs.
Ratios & returns¶
|
Compute the Sharpe ratio for each X' series. |
|
Compute the Sortino ratio for each X' series. |
|
Compute the Calmar Ratio for each X' series. |
|
Compute compouned annual returns of each X' series. |
|
Compute the annualized volatility of each X' series. |
|
Compute diversification ratio of a portfolio. |
|
Compute performance of prices or index values along time axis. |
|
Compute performance of returns along time axis. |
|
Compute the performance of strategies for each X' series. |
|
Compute the returns of strategies for each X' series. |
Drawdown¶
|
Measures the drawdown of each X' series. |
|
Compute the maximum drawdown for each X' series. |
Rolling versions¶
|
Compute rolling sharpe ratio of each X' series. |
|
Compute the rolling Calmar ratio of each X' series. |
|
Compute rolling compouned annual returns of each X' series. |
|
Compute the annualized volatility of each X' series. |
|
Measures the rolling drawdown of each X' series. |
|
Compute the rolling maximum drawdown for each X' series. |
Aggregated report¶
|
Standard performance summary of an equity/price curve. |