Lean
$LEAN_TAG$
|
PerformanceMetrics contains the names of the various performance metrics used for evaluation purposes. More...
Static Public Attributes | |
const string | Alpha = "Alpha" |
Algorithm "Alpha" statistic - abnormal returns over the risk free rate and the relationshio (beta) with the benchmark returns. More... | |
const string | AnnualStandardDeviation = "Annual Standard Deviation" |
Annualized standard deviation More... | |
const string | AnnualVariance = "Annual Variance" |
Annualized variance statistic calculation using the daily performance variance and trading days per year. More... | |
const string | AverageLoss = "Average Loss" |
The average rate of return for losing trades More... | |
const string | AverageWin = "Average Win" |
The average rate of return for winning trades More... | |
const string | Beta = "Beta" |
Algorithm "beta" statistic - the covariance between the algorithm and benchmark performance, divided by benchmark's variance More... | |
const string | CompoundingAnnualReturn = "Compounding Annual Return" |
Annual compounded returns statistic based on the final-starting capital and years. More... | |
const string | Drawdown = "Drawdown" |
Drawdown maximum percentage. More... | |
const string | EstimatedStrategyCapacity = "Estimated Strategy Capacity" |
Total capacity of the algorithm More... | |
const string | Expectancy = "Expectancy" |
The expected value of the rate of return More... | |
const string | StartEquity = "Start Equity" |
Initial Equity Total Value More... | |
const string | EndEquity = "End Equity" |
Final Equity Total Value More... | |
const string | InformationRatio = "Information Ratio" |
Information ratio - risk adjusted return More... | |
const string | LossRate = "Loss Rate" |
The ratio of the number of losing trades to the total number of trades More... | |
const string | NetProfit = "Net Profit" |
Total net profit percentage More... | |
const string | ProbabilisticSharpeRatio = "Probabilistic Sharpe Ratio" |
Probabilistic Sharpe Ratio is a probability measure associated with the Sharpe ratio. It informs us of the probability that the estimated Sharpe ratio is greater than a chosen benchmark More... | |
const string | ProfitLossRatio = "Profit-Loss Ratio" |
The ratio of the average win rate to the average loss rate More... | |
const string | SharpeRatio = "Sharpe Ratio" |
Sharpe ratio with respect to risk free rate: measures excess of return per unit of risk. More... | |
const string | SortinoRatio = "Sortino Ratio" |
Sortino ratio with respect to risk free rate: measures excess of return per unit of downside risk. More... | |
const string | TotalFees = "Total Fees" |
Total amount of fees in the account currency More... | |
const string | TotalOrders = "Total Orders" |
Total amount of orders in the algorithm More... | |
const string | TrackingError = "Tracking Error" |
Tracking error volatility (TEV) statistic - a measure of how closely a portfolio follows the index to which it is benchmarked More... | |
const string | TreynorRatio = "Treynor Ratio" |
Treynor ratio statistic is a measurement of the returns earned in excess of that which could have been earned on an investment that has no diversifiable risk More... | |
const string | WinRate = "Win Rate" |
The ratio of the number of winning trades to the total number of trades More... | |
const string | LowestCapacityAsset = "Lowest Capacity Asset" |
Provide a reference to the lowest capacity symbol used in scaling down the capacity for debugging. More... | |
const string | PortfolioTurnover = "Portfolio Turnover" |
The average Portfolio Turnover More... | |
PerformanceMetrics contains the names of the various performance metrics used for evaluation purposes.
Definition at line 21 of file PerformanceMetrics.cs.
|
static |
Algorithm "Alpha" statistic - abnormal returns over the risk free rate and the relationshio (beta) with the benchmark returns.
Definition at line 26 of file PerformanceMetrics.cs.
|
static |
Annualized standard deviation
Definition at line 31 of file PerformanceMetrics.cs.
|
static |
Annualized variance statistic calculation using the daily performance variance and trading days per year.
Definition at line 36 of file PerformanceMetrics.cs.
|
static |
The average rate of return for losing trades
Definition at line 41 of file PerformanceMetrics.cs.
|
static |
The average rate of return for winning trades
Definition at line 46 of file PerformanceMetrics.cs.
|
static |
Algorithm "beta" statistic - the covariance between the algorithm and benchmark performance, divided by benchmark's variance
Definition at line 51 of file PerformanceMetrics.cs.
|
static |
Annual compounded returns statistic based on the final-starting capital and years.
Definition at line 56 of file PerformanceMetrics.cs.
|
static |
Drawdown maximum percentage.
Definition at line 61 of file PerformanceMetrics.cs.
|
static |
Total capacity of the algorithm
Definition at line 66 of file PerformanceMetrics.cs.
|
static |
The expected value of the rate of return
Definition at line 71 of file PerformanceMetrics.cs.
|
static |
Initial Equity Total Value
Definition at line 76 of file PerformanceMetrics.cs.
|
static |
Final Equity Total Value
Definition at line 81 of file PerformanceMetrics.cs.
|
static |
Information ratio - risk adjusted return
Definition at line 86 of file PerformanceMetrics.cs.
|
static |
The ratio of the number of losing trades to the total number of trades
Definition at line 91 of file PerformanceMetrics.cs.
|
static |
Total net profit percentage
Definition at line 96 of file PerformanceMetrics.cs.
|
static |
Probabilistic Sharpe Ratio is a probability measure associated with the Sharpe ratio. It informs us of the probability that the estimated Sharpe ratio is greater than a chosen benchmark
See https://www.quantconnect.com/forum/discussion/6483/probabilistic-sharpe-ratio/p1
Definition at line 103 of file PerformanceMetrics.cs.
|
static |
The ratio of the average win rate to the average loss rate
If the average loss rate is zero, ProfitLossRatio is set to 0
Definition at line 109 of file PerformanceMetrics.cs.
|
static |
Sharpe ratio with respect to risk free rate: measures excess of return per unit of risk.
With risk defined as the algorithm's volatility
Definition at line 115 of file PerformanceMetrics.cs.
|
static |
Sortino ratio with respect to risk free rate: measures excess of return per unit of downside risk.
With risk defined as the algorithm's volatility
Definition at line 121 of file PerformanceMetrics.cs.
|
static |
Total amount of fees in the account currency
Definition at line 126 of file PerformanceMetrics.cs.
|
static |
Total amount of orders in the algorithm
Definition at line 131 of file PerformanceMetrics.cs.
|
static |
Tracking error volatility (TEV) statistic - a measure of how closely a portfolio follows the index to which it is benchmarked
If algo = benchmark, TEV = 0
Definition at line 137 of file PerformanceMetrics.cs.
|
static |
Treynor ratio statistic is a measurement of the returns earned in excess of that which could have been earned on an investment that has no diversifiable risk
Definition at line 142 of file PerformanceMetrics.cs.
|
static |
The ratio of the number of winning trades to the total number of trades
If the total number of trades is zero, WinRate is set to zero
Definition at line 148 of file PerformanceMetrics.cs.
|
static |
Provide a reference to the lowest capacity symbol used in scaling down the capacity for debugging.
Definition at line 153 of file PerformanceMetrics.cs.
|
static |
The average Portfolio Turnover
Definition at line 158 of file PerformanceMetrics.cs.