Update regression algorithms
This commit is contained in:
@@ -47,7 +47,7 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
SetStartDate(StartTimeToUse);
|
||||
SetEndDate(EndTimeToUse);
|
||||
|
||||
var seeder = new FuncSecuritySeeder((security) =>
|
||||
SetSecurityInitializer(security =>
|
||||
{
|
||||
if (!_securityInializationCounts.TryGetValue(security, out var count))
|
||||
{
|
||||
@@ -55,10 +55,8 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
}
|
||||
_securityInializationCounts[security] = count + 1;
|
||||
|
||||
Debug($"[{Time}] Seeding {security.Symbol}");
|
||||
return GetLastKnownPrices(security);
|
||||
Debug($"[{Time}] Initializing security for {security.Symbol}");
|
||||
});
|
||||
SetSecurityInitializer(security => seeder.SeedSecurity(security));
|
||||
|
||||
_security = AddSecurityImpl();
|
||||
|
||||
@@ -192,7 +190,7 @@ namespace QuantConnect.Algorithm.CSharp
|
||||
/// <summary>
|
||||
/// Data Points count of the algorithm history
|
||||
/// </summary>
|
||||
public virtual int AlgorithmHistoryDataPoints => 7696;
|
||||
public virtual int AlgorithmHistoryDataPoints => 3848;
|
||||
|
||||
/// <summary>
|
||||
/// Final status of the algorithm
|
||||
|
||||
Reference in New Issue
Block a user