Skip to content

Commit

Permalink
Minor data fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonabreul committed Dec 27, 2024
1 parent e5ac38a commit 079fcfd
Show file tree
Hide file tree
Showing 50 changed files with 114 additions and 55 deletions.
3 changes: 1 addition & 2 deletions Algorithm.CSharp/BasicTemplateContinuousFutureAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
using QuantConnect.Orders;
using QuantConnect.Interfaces;
using System.Collections.Generic;
using System.Linq;
using QuantConnect.Data.UniverseSelection;
using QuantConnect.Indicators;
using QuantConnect.Securities;
Expand Down Expand Up @@ -118,7 +117,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 162530;
public long DataPoints => 162555;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 504483;
public long DataPoints => 504508;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
2 changes: 1 addition & 1 deletion Algorithm.CSharp/BasicTemplateFutureRolloverAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void Dispose()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 712;
public long DataPoints => 727;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
4 changes: 2 additions & 2 deletions Algorithm.CSharp/BasicTemplateFuturesAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 40303;
public long DataPoints => 40308;

/// <summary>
/// Data Points count of the algorithm history
Expand All @@ -169,7 +169,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
{"Total Orders", "2700"},
{"Average Win", "0.00%"},
{"Average Loss", "0.00%"},
{"Compounding Annual Return", "-99.777%"},
{"Compounding Annual Return", "-99.597%"},
{"Drawdown", "4.400%"},
{"Expectancy", "-0.724"},
{"Start Equity", "1000000"},
Expand Down
2 changes: 1 addition & 1 deletion Algorithm.CSharp/BasicTemplateFuturesDailyAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public virtual long DataPoints => 5830;
public virtual long DataPoints => 5845;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
2 changes: 1 addition & 1 deletion Algorithm.CSharp/BasicTemplateFuturesHourlyAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class BasicTemplateFuturesHourlyAlgorithm : BasicTemplateFuturesDailyAlgo
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 25281;
public override long DataPoints => 25296;

/// <summary>
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 117074;
public long DataPoints => 117079;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class BasicTemplateFuturesWithExtendedMarketDailyAlgorithm : BasicTemplat
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 6206;
public override long DataPoints => 6221;

/// <summary>
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class BasicTemplateFuturesWithExtendedMarketHourlyAlgorithm : BasicTempla
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 69693;
public override long DataPoints => 69708;

/// <summary>
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 162526;
public long DataPoints => 162551;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 172653;
public long DataPoints => 172678;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public virtual long DataPoints => 5454;
public virtual long DataPoints => 5469;

/// <summary>
/// Data Points count of the algorithm history
Expand Down Expand Up @@ -160,7 +160,7 @@ public override void OnSecuritiesChanged(SecurityChanges changes)
{"Tracking Error", "0"},
{"Treynor Ratio", "0"},
{"Total Fees", "$2.15"},
{"Estimated Strategy Capacity", "$100000000.00"},
{"Estimated Strategy Capacity", "$130000000.00"},
{"Lowest Capacity Asset", "ES VP274HSU1AF5"},
{"Portfolio Turnover", "41.23%"},
{"OrderListHash", "b9f8e1a0704c086944e5df07e0ab04d6"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ public override void Initialize()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 9064;
public override long DataPoints => 9079;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 10878;
public long DataPoints => 10883;

/// <summary>
/// Data Points count of the algorithm history
Expand All @@ -98,7 +98,7 @@ public override void OnEndOfAlgorithm()
{"Total Orders", "1"},
{"Average Win", "0%"},
{"Average Loss", "0%"},
{"Compounding Annual Return", "-99.258%"},
{"Compounding Annual Return", "-99.012%"},
{"Drawdown", "6.300%"},
{"Expectancy", "0"},
{"Start Equity", "100000"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public virtual long DataPoints => 159259;
public virtual long DataPoints => 159274;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
2 changes: 1 addition & 1 deletion Algorithm.CSharp/ContinuousFutureRegressionAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 162530;
public long DataPoints => 162555;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverDailyExchangeTimeZoneAheadOfDataRegressionA
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 456;
public override long DataPoints => 471;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverDailyExchangeTimeZoneBehindOfDataRegression
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 464;
public override long DataPoints => 479;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverDailyExchangeTimeZoneSameAsDataRegressionAl
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 456;
public override long DataPoints => 471;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverHourExchangeTimeZoneAheadOfDataRegressionAl
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 7409;
public override long DataPoints => 7424;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverHourExchangeTimeZoneBehindOfDataRegressionA
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 7425;
public override long DataPoints => 7440;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverHourExchangeTimeZoneSameAsDataRegressionAlg
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 7419;
public override long DataPoints => 7434;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverMinuteExchangeTimeZoneAheadOfDataRegression
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 444144;
public override long DataPoints => 444159;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverMinuteExchangeTimeZoneBehindOfDataRegressio
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 445108;
public override long DataPoints => 445123;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public class ContinuousFutureRolloverMinuteExchangeTimeZoneSameAsDataRegressionA
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 444742;
public override long DataPoints => 444757;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 833;
public long DataPoints => 848;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DelistedFutureLiquidateDailyRegressionAlgorithm : DelistedFutureLiq
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 1220;
public override long DataPoints => 1235;

/// <summary>
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public override void OnOrderEvent(OrderEvent orderEvent)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public virtual long DataPoints => 288125;
public virtual long DataPoints => 288140;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public override void OnOrderEvent(OrderEvent orderEvent)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 36198;
public long DataPoints => 36213;

/// <summary>
/// Data Points count of the algorithm history
Expand All @@ -150,7 +150,7 @@ public override void OnOrderEvent(OrderEvent orderEvent)
{"Total Orders", "8"},
{"Average Win", "0.69%"},
{"Average Loss", "-2.47%"},
{"Compounding Annual Return", "-99.966%"},
{"Compounding Annual Return", "-99.946%"},
{"Drawdown", "28.600%"},
{"Expectancy", "-0.680"},
{"Start Equity", "100000"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ select futuresContract
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 19038;
public long DataPoints => 19043;

/// <summary>
/// Data Points count of the algorithm history
Expand All @@ -114,7 +114,7 @@ select futuresContract
{"Total Orders", "1"},
{"Average Win", "0%"},
{"Average Loss", "0%"},
{"Compounding Annual Return", "-99.310%"},
{"Compounding Annual Return", "-98.880%"},
{"Drawdown", "4.400%"},
{"Expectancy", "0"},
{"Start Equity", "100000"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void Assert(BaseData bar)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public virtual long DataPoints => 16298;
public virtual long DataPoints => 16313;

/// </summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class FutureMarketOpenConsolidatorWithExtendedMarketRegressionAlgorithm :
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public override long DataPoints => 51918;
public override long DataPoints => 51933;

/// <summary>
/// This is used by the regression test system to indicate what the expected statistics are from running the algorithm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public override void OnData(Slice slice)
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 11763;
public long DataPoints => 11768;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all time slices of algorithm
/// </summary>
public long DataPoints => 41471;
public long DataPoints => 41486;

/// <summary>
/// Data Points count of the algorithm history
Expand All @@ -139,7 +139,7 @@ public override void OnEndOfAlgorithm()
{"Total Orders", "10"},
{"Average Win", "0%"},
{"Average Loss", "-0.02%"},
{"Compounding Annual Return", "-6.736%"},
{"Compounding Annual Return", "-6.419%"},
{"Drawdown", "0.100%"},
{"Expectancy", "-1"},
{"Start Equity", "100000"},
Expand Down
2 changes: 1 addition & 1 deletion Algorithm.CSharp/FuturesExpiredContractRegression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 24483;
public long DataPoints => 24508;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 2182;
public long DataPoints => 2079;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 953;
public long DataPoints => 968;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public override void OnEndOfAlgorithm()
/// <summary>
/// Data Points count of all timeslices of algorithm
/// </summary>
public long DataPoints => 953;
public long DataPoints => 968;

/// <summary>
/// Data Points count of the algorithm history
Expand Down
Loading

0 comments on commit 079fcfd

Please sign in to comment.