Update regression algorithms

This commit is contained in:
Jhonathan Abreu
2025-10-17 10:58:41 -04:00
parent 0678de396d
commit 30c19e22a8
24 changed files with 62 additions and 99 deletions
@@ -24,7 +24,7 @@ using static QuantConnect.Algorithm.CSharp.CustomDataRegressionAlgorithm;
namespace QuantConnect.Algorithm.CSharp
{
/// <summary>
/// Regression algorithm used to verify that GetData<T> correctly retrieves
/// Regression algorithm used to verify that GetData<T> correctly retrieves
/// the latest custom data stored in the security cache.
/// </summary>
public class CustomDataSecurityCacheGetDataRegressionAlgorithm : QCAlgorithm, IRegressionAlgorithmDefinition
@@ -35,9 +35,6 @@ namespace QuantConnect.Algorithm.CSharp
SetEndDate(2020, 01, 10);
AddData<Bitcoin>("BTC", Resolution.Daily);
var seeder = new FuncSecuritySeeder(GetLastKnownPrices);
SetSecurityInitializer(security => seeder.SeedSecurity(security));
}
public override void OnData(Slice slice)