Add StubsAvoidImplicitsAttribute to avoid generating implicit types in stubs (#8718)
This allows the stubs generator to know when to not generate Union types for parameters that can accept multiple types, like Symbol | str | BaseContract
This commit is contained in:
@@ -856,6 +856,7 @@ namespace QuantConnect.AlgorithmFactory.Python.Wrappers
|
||||
/// override then this method will not be called without a called to base.OnEndOfDay(string)
|
||||
/// </remarks>
|
||||
/// <param name="symbol">Asset symbol for this end of day event. Forex and equities have different closing hours.</param>
|
||||
[StubsAvoidImplicits]
|
||||
public void OnEndOfDay(Symbol symbol)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user