@@ -89,11 +89,6 @@ public override void OnEndOfAlgorithm()
89
89
{
90
90
throw new Exception ( $ "Expected no unsettled cash at end of algorithm, found { Portfolio . UnsettledCash } ") ;
91
91
}
92
-
93
- if ( Securities . ContainsKey ( _optionSymbol ) )
94
- {
95
- throw new Exception ( $ "Expected the option contract { _optionSymbol } to haven been removed from the securities at end of algorithm") ;
96
- }
97
92
}
98
93
99
94
/// <summary>
@@ -109,7 +104,7 @@ public override void OnEndOfAlgorithm()
109
104
/// <summary>
110
105
/// Data Points count of all timeslices of algorithm
111
106
/// </summary>
112
- public long DataPoints => 3943 ;
107
+ public long DataPoints => 7122 ;
113
108
114
109
/// <summary>
115
110
/// Data Points count of the algorithm history
@@ -121,31 +116,31 @@ public override void OnEndOfAlgorithm()
121
116
/// </summary>
122
117
public Dictionary < string , string > ExpectedStatistics => new Dictionary < string , string >
123
118
{
124
- { "Total Trades" , "1 " } ,
119
+ { "Total Trades" , "2 " } ,
125
120
{ "Average Win" , "0%" } ,
126
- { "Average Loss" , "0 %" } ,
127
- { "Compounding Annual Return" , "271.453 %" } ,
128
- { "Drawdown" , "2.200 %" } ,
129
- { "Expectancy" , "0 " } ,
130
- { "Net Profit" , "1.692 %" } ,
131
- { "Sharpe Ratio" , "8.854 " } ,
121
+ { "Average Loss" , "-0.36 %" } ,
122
+ { "Compounding Annual Return" , "-15.857 %" } ,
123
+ { "Drawdown" , "0.400 %" } ,
124
+ { "Expectancy" , "-1 " } ,
125
+ { "Net Profit" , "-0.362 %" } ,
126
+ { "Sharpe Ratio" , "0 " } ,
132
127
{ "Sortino Ratio" , "0" } ,
133
- { "Probabilistic Sharpe Ratio" , "67.609 %" } ,
134
- { "Loss Rate" , "0 %" } ,
128
+ { "Probabilistic Sharpe Ratio" , "0 %" } ,
129
+ { "Loss Rate" , "100 %" } ,
135
130
{ "Win Rate" , "0%" } ,
136
131
{ "Profit-Loss Ratio" , "0" } ,
137
- { "Alpha" , "-0.005 " } ,
138
- { "Beta" , "0.996 " } ,
139
- { "Annual Standard Deviation" , "0.222 " } ,
140
- { "Annual Variance" , "0.049 " } ,
141
- { "Information Ratio" , "-14.565 " } ,
142
- { "Tracking Error" , "0.001 " } ,
143
- { "Treynor Ratio" , "1.97 " } ,
144
- { "Total Fees" , "$3.44 " } ,
145
- { "Estimated Strategy Capacity" , "$56000000 .00" } ,
146
- { "Lowest Capacity Asset" , "SPY R735QTJ8XC9X " } ,
147
- { "Portfolio Turnover" , "19.93 %" } ,
148
- { "OrderListHash" , "0c0f9328786b0c9e8f88d271673d16c3 " }
132
+ { "Alpha" , "0 " } ,
133
+ { "Beta" , "0" } ,
134
+ { "Annual Standard Deviation" , "0" } ,
135
+ { "Annual Variance" , "0" } ,
136
+ { "Information Ratio" , "2.537 " } ,
137
+ { "Tracking Error" , "0.104 " } ,
138
+ { "Treynor Ratio" , "0 " } ,
139
+ { "Total Fees" , "$2.00 " } ,
140
+ { "Estimated Strategy Capacity" , "$150000 .00" } ,
141
+ { "Lowest Capacity Asset" , "GOOCV WRCOZDXBITL2|GOOCV VP83T1ZUHROL " } ,
142
+ { "Portfolio Turnover" , "1.06 %" } ,
143
+ { "OrderListHash" , "490dd9430dec6cb3daadcca495ff5f12 " }
149
144
} ;
150
145
}
151
146
}
0 commit comments