Lean  $LEAN_TAG$
ReportKey.cs
1 /*
2  * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
3  * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14 */
15 
16 namespace QuantConnect.Report
17 {
18  /// <summary>
19  /// Helper shortcuts for report injection points.
20  /// </summary>
21  internal static class ReportKey
22  {
23  public const string Stylesheet = @"{{$REPORT-STYLESHEET}}";
24  public const string StrategyName = @"{{$TEXT-STRATEGY-NAME}}";
25  public const string StrategyDescription = @"{{$TEXT-STRATEGY-DESCRIPTION}}";
26  public const string StrategyVersion = @"{{$TEXT-STRATEGY-VERSION}}";
27  public const string LiveMarker = @"{{$LIVE-MARKER}}";
28  public const string ParametersPageStyle = @"{{$CSS-PARAMETERS-PAGE-STYLE}}";
29  public const string Parameters = @"{{$PARAMETERS}}";
30 
31  public const string CAGR = @"{{$KPI-CAGR}}";
32  public const string Turnover = @"{{$KPI-TURNOVER}}";
33  public const string MaxDrawdown = @"{{$KPI-DRAWDOWN}}";
34  public const string KellyEstimate = @"{{$KPI-KELLY-ESTIMATE}}";
35  public const string SharpeRatio = @"{{$KPI-SHARPE}}";
36  public const string SortinoRatio = @"{{$KPI-SORTINO}}";
37  public const string BacktestDays = @"{{$KPI-BACKTEST-DAYS}}";
38  public const string DaysLive = @"{{$KPI-DAYS-LIVE}}";
39  public const string InformationRatio = @"{{$KPI-INFORMATION-RATIO}}";
40  public const string TradesPerDay = @"{{$KPI-TRADES-PER-DAY}}";
41  public const string Markets = @"{{$KPI-MARKETS}}";
42  public const string PSR = @"{{$KPI-PSR}}";
43  public const string StrategyCapacity = @"{{$KPI-STRATEGY-CAPACITY}}";
44 
45  public const string MonthlyReturns = @"{{$PLOT-MONTHLY-RETURNS}}";
46  public const string CumulativeReturns = @"{{$PLOT-CUMULATIVE-RETURNS}}";
47  public const string AnnualReturns = @"{{$PLOT-ANNUAL-RETURNS}}";
48  public const string ReturnsPerTrade = @"{{$PLOT-RETURNS-PER-TRADE}}";
49  public const string AssetAllocation = @"{{$PLOT-ASSET-ALLOCATION}}";
50  public const string Drawdown = @"{{$PLOT-DRAWDOWN}}";
51  public const string DailyReturns = @"{{$PLOT-DAILY-RETURNS}}";
52  public const string RollingBeta = @"{{$PLOT-BETA}}";
53  public const string RollingSharpe = @"{{$PLOT-SHARPE}}";
54  public const string LeverageUtilization = @"{{$PLOT-LEVERAGE}}";
55  public const string Exposure = @"{{$PLOT-EXPOSURE}}";
56  public const string CrisisPageStyle = @"{{$CSS-CRISIS-PAGE-STYLE}}";
57  public const string CrisisPlots = @"{{$HTML-CRISIS-PLOTS}}";
58  public const string CrisisTitle = @"{{$TEXT-CRISIS-TITLE}}";
59  public const string CrisisContents = @"{{$PLOT-CRISIS-CONTENT}}";
60  }
61 }