Skip to content

Commit 09db45c

Browse files
authored
Universes immediate selection (QuantConnect#7785)
* Make sure continuous futures universe selection is performed right away on the start of the algorithm. This ensures the Future.Mapped is not null * Minor changes * Minor fixes * Update regression algorithms stats * Add DC futures map file * Update DC futures map file * Update regression algorithms stats * Include ETFs for immediate universe selection * Include Coarse Fundamentals for immediate universe selection * Include Futures Chain Universe for immediate selection * Add Option Chain Universe test * Include custom universes for immediate selection * Minor updates * Include constituents universes for immediate selection * Minor update * Minor changes, docs and stats updates * Minor changes * Minor changes and clean up * Minor regression algorithm stat update
1 parent 64fe4ba commit 09db45c

File tree

80 files changed

+2828
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+2828
-216
lines changed

Algorithm.CSharp/AddFutureContractWithContinuousRegressionAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
116116
/// <summary>
117117
/// Data Points count of all timeslices of algorithm
118118
/// </summary>
119-
public long DataPoints => 63;
119+
public long DataPoints => 74;
120120

121121
/// <summary>
122122
/// Data Points count of the algorithm history

Algorithm.CSharp/AddFutureOptionContractFromFutureChainRegressionAlgorithm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public override void OnData(Slice data)
9393
/// <summary>
9494
/// Data Points count of all timeslices of algorithm
9595
/// </summary>
96-
public long DataPoints => 12164;
96+
public long DataPoints => 12170;
9797

9898
/// <summary>
9999
/// Data Points count of the algorithm history
@@ -129,7 +129,7 @@ public override void OnData(Slice data)
129129
{"Estimated Strategy Capacity", "$2600000.00"},
130130
{"Lowest Capacity Asset", "ES 31C3JQS9D84PW|ES XCZJLC9NOB29"},
131131
{"Portfolio Turnover", "495.15%"},
132-
{"OrderListHash", "39179b5e977b8bf5411fbd31896a7953"}
132+
{"OrderListHash", "51ae811a9f7a26ae8eb96cdcefe1ab59"}
133133
};
134134
}
135135
}

Algorithm.CSharp/AddFutureOptionSingleOptionChainSelectedInUniverseFilterRegressionAlgorithm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public override void OnEndOfAlgorithm()
220220
/// <summary>
221221
/// Data Points count of all timeslices of algorithm
222222
/// </summary>
223-
public long DataPoints => 608372;
223+
public long DataPoints => 608378;
224224

225225
/// <summary>
226226
/// Data Points count of the algorithm history
@@ -256,7 +256,7 @@ public override void OnEndOfAlgorithm()
256256
{"Estimated Strategy Capacity", "$760000.00"},
257257
{"Lowest Capacity Asset", "ES XCZJLDQX2SRO|ES XCZJLC9NOB29"},
258258
{"Portfolio Turnover", "32.31%"},
259-
{"OrderListHash", "b508146aff4ac449e9c6f502928e2115"}
259+
{"OrderListHash", "8d248c2234fec09fbe09f86735fefd99"}
260260
};
261261
}
262262
}

Algorithm.CSharp/BasicTemplateContinuousFutureAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
118118
/// <summary>
119119
/// Data Points count of all timeslices of algorithm
120120
/// </summary>
121-
public long DataPoints => 713394;
121+
public long DataPoints => 713395;
122122

123123
/// <summary>
124124
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateContinuousFutureWithExtendedMarketAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
123123
/// <summary>
124124
/// Data Points count of all timeslices of algorithm
125125
/// </summary>
126-
public long DataPoints => 2217324;
126+
public long DataPoints => 2217325;
127127

128128
/// <summary>
129129
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateFutureRolloverAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void Dispose()
176176
/// <summary>
177177
/// Data Points count of all timeslices of algorithm
178178
/// </summary>
179-
public long DataPoints => 1333;
179+
public long DataPoints => 1334;
180180

181181
/// <summary>
182182
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateFuturesAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
151151
/// <summary>
152152
/// Data Points count of all timeslices of algorithm
153153
/// </summary>
154-
public long DataPoints => 75401;
154+
public long DataPoints => 75403;
155155

156156
/// <summary>
157157
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateFuturesDailyAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ select futuresContract
117117
/// <summary>
118118
/// Data Points count of all timeslices of algorithm
119119
/// </summary>
120-
public virtual long DataPoints => 14036;
120+
public virtual long DataPoints => 14038;
121121

122122
/// <summary>
123123
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateFuturesFrameworkAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public override IEnumerable<IPortfolioTarget> CreateTargets(QCAlgorithm algorith
136136
/// <summary>
137137
/// Data Points count of all timeslices of algorithm
138138
/// </summary>
139-
public virtual long DataPoints => 57752;
139+
public virtual long DataPoints => 57754;
140140

141141
/// <summary>
142142
/// Data Points count of the algorithm history

Algorithm.CSharp/BasicTemplateFuturesFrameworkWithExtendedMarketAlgorithm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class BasicTemplateFuturesFrameworkWithExtendedMarketAlgorithm : BasicTem
4141
/// <summary>
4242
/// Data Points count of all timeslices of algorithm
4343
/// </summary>
44-
public override long DataPoints => 163392;
44+
public override long DataPoints => 163410;
4545

4646
/// <summary>
4747
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm

0 commit comments

Comments
 (0)