quantconnect-stubs 17410__py3-none-any.whl → 17412__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. Common/Data/Consolidators/__init__.pyi +1 -1
  2. QuantConnect/Algorithm/Framework/Alphas/__init__.pyi +18 -18
  3. QuantConnect/Algorithm/Framework/Execution/__init__.pyi +2 -2
  4. QuantConnect/Algorithm/Framework/Portfolio/__init__.pyi +14 -14
  5. QuantConnect/Algorithm/Framework/Selection/__init__.pyi +3 -3
  6. QuantConnect/Algorithm/__init__.pyi +332 -308
  7. QuantConnect/AlgorithmFactory/Python/Wrappers/__init__.pyi +10 -10
  8. QuantConnect/Api/Serialization/__init__.pyi +1 -3
  9. QuantConnect/Api/__init__.pyi +34 -5
  10. QuantConnect/Benchmarks/__init__.pyi +1 -1
  11. QuantConnect/Brokerages/Authentication/__init__.pyi +10 -2
  12. QuantConnect/Brokerages/LevelOneOrderBook/__init__.pyi +6 -5
  13. QuantConnect/Brokerages/__init__.pyi +11 -11
  14. QuantConnect/Commands/__init__.pyi +3 -2
  15. QuantConnect/Data/Auxiliary/__init__.pyi +13 -13
  16. QuantConnect/Data/Common/__init__.pyi +1 -1
  17. QuantConnect/Data/Custom/Tiingo/__init__.pyi +2 -1
  18. QuantConnect/Data/Fundamental/__init__.pyi +11 -12
  19. QuantConnect/Data/Market/__init__.pyi +42 -42
  20. QuantConnect/Data/UniverseSelection/__init__.pyi +29 -29
  21. QuantConnect/Data/__init__.pyi +43 -44
  22. QuantConnect/DataSource/__init__.pyi +7 -7
  23. QuantConnect/Indicators/__init__.pyi +238 -98
  24. QuantConnect/Interfaces/__init__.pyi +22 -22
  25. QuantConnect/Lean/Engine/DataFeeds/Enumerators/__init__.pyi +1 -1
  26. QuantConnect/Lean/Engine/DataFeeds/Queues/__init__.pyi +2 -1
  27. QuantConnect/Lean/Engine/DataFeeds/WorkScheduling/__init__.pyi +3 -2
  28. QuantConnect/Lean/Engine/DataFeeds/__init__.pyi +19 -19
  29. QuantConnect/Lean/Engine/HistoricalData/__init__.pyi +1 -1
  30. QuantConnect/Notifications/__init__.pyi +1 -3
  31. QuantConnect/Optimizer/Parameters/__init__.pyi +1 -3
  32. QuantConnect/Orders/__init__.pyi +26 -28
  33. QuantConnect/Python/__init__.pyi +1 -1
  34. QuantConnect/Report/__init__.pyi +3 -5
  35. QuantConnect/Research/__init__.pyi +17 -16
  36. QuantConnect/Scheduling/__init__.pyi +17 -17
  37. QuantConnect/Securities/Cfd/__init__.pyi +2 -2
  38. QuantConnect/Securities/Crypto/__init__.pyi +2 -2
  39. QuantConnect/Securities/CryptoFuture/__init__.pyi +1 -1
  40. QuantConnect/Securities/Equity/__init__.pyi +1 -1
  41. QuantConnect/Securities/Forex/__init__.pyi +1 -1
  42. QuantConnect/Securities/Future/__init__.pyi +8 -8
  43. QuantConnect/Securities/FutureOption/__init__.pyi +9 -9
  44. QuantConnect/Securities/Index/__init__.pyi +2 -2
  45. QuantConnect/Securities/IndexOption/__init__.pyi +3 -3
  46. QuantConnect/Securities/Option/StrategyMatcher/__init__.pyi +6 -6
  47. QuantConnect/Securities/Option/__init__.pyi +54 -54
  48. QuantConnect/Securities/Positions/__init__.pyi +6 -6
  49. QuantConnect/Securities/__init__.pyi +79 -80
  50. QuantConnect/Statistics/__init__.pyi +2 -2
  51. QuantConnect/Util/__init__.pyi +36 -37
  52. QuantConnect/__init__.pyi +66 -68
  53. System/ComponentModel/DataAnnotations/__init__.pyi +1 -1
  54. System/ComponentModel/__init__.pyi +1 -1
  55. {quantconnect_stubs-17410.dist-info → quantconnect_stubs-17412.dist-info}/METADATA +1 -1
  56. {quantconnect_stubs-17410.dist-info → quantconnect_stubs-17412.dist-info}/RECORD +58 -58
  57. {quantconnect_stubs-17410.dist-info → quantconnect_stubs-17412.dist-info}/WHEEL +0 -0
  58. {quantconnect_stubs-17410.dist-info → quantconnect_stubs-17412.dist-info}/top_level.txt +0 -0
@@ -373,7 +373,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
373
373
  """
374
374
  ...
375
375
 
376
- def add_future_contract(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = 0, extended_market_hours: bool = False) -> QuantConnect.Securities.Future.Future:
376
+ def add_future_contract(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = 0, extended_market_hours: bool = False) -> QuantConnect.Securities.Future.Future:
377
377
  """
378
378
  Creates and adds a new single Future contract to the algorithm
379
379
 
@@ -386,7 +386,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
386
386
  """
387
387
  ...
388
388
 
389
- def add_option_contract(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = 0, extended_market_hours: bool = False) -> QuantConnect.Securities.Option.Option:
389
+ def add_option_contract(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = 0, extended_market_hours: bool = False) -> QuantConnect.Securities.Option.Option:
390
390
  """
391
391
  Creates and adds a new single Option contract to the algorithm
392
392
 
@@ -417,7 +417,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
417
417
  ...
418
418
 
419
419
  @overload
420
- def add_security(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = ..., extended_market_hours: bool = False, data_mapping_mode: typing.Optional[QuantConnect.DataMappingMode] = None, data_normalization_mode: typing.Optional[QuantConnect.DataNormalizationMode] = None, contract_depth_offset: int = 0) -> QuantConnect.Securities.Security:
420
+ def add_security(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: typing.Optional[QuantConnect.Resolution] = None, fill_forward: bool = True, leverage: float = ..., extended_market_hours: bool = False, data_mapping_mode: typing.Optional[QuantConnect.DataMappingMode] = None, data_normalization_mode: typing.Optional[QuantConnect.DataNormalizationMode] = None, contract_depth_offset: int = 0) -> QuantConnect.Securities.Security:
421
421
  """
422
422
  Set a required SecurityType-symbol and resolution for algorithm
423
423
 
@@ -471,7 +471,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
471
471
  """
472
472
  ...
473
473
 
474
- def get_last_known_price(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.BaseData:
474
+ def get_last_known_price(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.BaseData:
475
475
  """
476
476
  Get the last known price using the history provider.
477
477
  Useful for seeding securities with the correct price
@@ -482,7 +482,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
482
482
  ...
483
483
 
484
484
  @overload
485
- def get_last_known_prices(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> typing.Iterable[QuantConnect.Data.BaseData]:
485
+ def get_last_known_prices(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> typing.Iterable[QuantConnect.Data.BaseData]:
486
486
  """
487
487
  Yields data to warmup a security for all it's subscribed data types
488
488
 
@@ -549,7 +549,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
549
549
  """Initialise the Algorithm and Prepare Required Data:"""
550
550
  ...
551
551
 
552
- def liquidate(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract] = None, asynchronous: bool = False, tag: str = "Liquidated", order_properties: QuantConnect.Interfaces.IOrderProperties = None) -> typing.List[QuantConnect.Orders.OrderTicket]:
552
+ def liquidate(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security] = None, asynchronous: bool = False, tag: str = "Liquidated", order_properties: QuantConnect.Interfaces.IOrderProperties = None) -> typing.List[QuantConnect.Orders.OrderTicket]:
553
553
  """
554
554
  Liquidate your portfolio holdings
555
555
 
@@ -712,7 +712,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
712
712
  """
713
713
  ...
714
714
 
715
- def remove_security(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], tag: str = None) -> bool:
715
+ def remove_security(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], tag: str = None) -> bool:
716
716
  """
717
717
  Removes the security with the specified symbol. This will cancel all
718
718
  open orders and then liquidate any existing holdings
@@ -958,7 +958,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
958
958
  """
959
959
  ...
960
960
 
961
- def shortable(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], short_quantity: float, update_order_id: typing.Optional[int] = None) -> bool:
961
+ def shortable(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], short_quantity: float, update_order_id: typing.Optional[int] = None) -> bool:
962
962
  """
963
963
  Determines if the Symbol is shortable at the brokerage
964
964
 
@@ -971,7 +971,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
971
971
  """
972
972
  ...
973
973
 
974
- def shortable_quantity(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> int:
974
+ def shortable_quantity(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> int:
975
975
  """
976
976
  Gets the quantity shortable for the given asset
977
977
 
@@ -1000,7 +1000,7 @@ class AlgorithmPythonWrapper(QuantConnect.Python.BasePythonWrapper[QuantConnect.
1000
1000
  """
1001
1001
  ...
1002
1002
 
1003
- def ticker(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
1003
+ def ticker(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
1004
1004
  """
1005
1005
  For the given symbol will resolve the ticker it used at the current algorithm date
1006
1006
 
@@ -6,10 +6,8 @@ import QuantConnect.Api
6
6
  import QuantConnect.Api.Serialization
7
7
  import System
8
8
 
9
- JsonConverter = typing.Any
10
9
 
11
-
12
- class ProductJsonConverter(JsonConverter):
10
+ class ProductJsonConverter:
13
11
  """Provides an implementation of JsonConverter that can deserialize Product"""
14
12
 
15
13
  @property
@@ -21,10 +21,35 @@ import System.Collections.Generic
21
21
  import System.Collections.Specialized
22
22
  import System.Text.RegularExpressions
23
23
 
24
- JsonConverter = typing.Any
25
24
 
25
+ class ApiUtils(System.Object):
26
+ """API utility methods"""
26
27
 
27
- class ApiConnection(System.Object):
28
+ @staticmethod
29
+ def create_json_post_request(endpoint: str, payload: typing.Any = None, json_serializer_settings: typing.Any = None) -> typing.Any:
30
+ """
31
+ Creates a POST HttpRequestMessage with the specified endpoint and payload as json body
32
+
33
+ :param endpoint: The request endpoint
34
+ :param payload: The request payload
35
+ :param json_serializer_settings: Settings for the json serializer
36
+ :returns: The POST request.
37
+ """
38
+ ...
39
+
40
+ @staticmethod
41
+ def create_post_request(endpoint: str, payload: typing.List[System.Collections.Generic.KeyValuePair[str, str]] = None) -> typing.Any:
42
+ """
43
+ Creates a POST HttpRequestMessage with the specified endpoint and payload as form url encoded content.
44
+
45
+ :param endpoint: The request endpoint
46
+ :param payload: The request payload
47
+ :returns: The POST request.
48
+ """
49
+ ...
50
+
51
+
52
+ class ApiConnection(System.Object, System.IDisposable):
28
53
  """API Connection and Hash Manager"""
29
54
 
30
55
  @property
@@ -69,6 +94,10 @@ class ApiConnection(System.Object):
69
94
  """
70
95
  ...
71
96
 
97
+ def dispose(self) -> None:
98
+ """Disposes of the HTTP client"""
99
+ ...
100
+
72
101
  def set_client(self, base_url: str, default_headers: System.Collections.Generic.Dictionary[str, str] = None, timeout: int = 0) -> None:
73
102
  """
74
103
  Overrides the current client
@@ -3591,7 +3620,7 @@ class Authentication(System.Object):
3591
3620
  ...
3592
3621
 
3593
3622
 
3594
- class LiveAlgorithmResultsJsonConverter(JsonConverter):
3623
+ class LiveAlgorithmResultsJsonConverter:
3595
3624
  """Custom JsonConverter for LiveResults data for live algorithms"""
3596
3625
 
3597
3626
  @property
@@ -3635,7 +3664,7 @@ class AuthenticationResponse(QuantConnect.Api.RestResponse):
3635
3664
  """Verify if the credentials are OK."""
3636
3665
 
3637
3666
 
3638
- class ParameterSetJsonConverter(JsonConverter):
3667
+ class ParameterSetJsonConverter:
3639
3668
  """Json converter for ParameterSet which creates a light weight easy to consume serialized version"""
3640
3669
 
3641
3670
  def can_convert(self, object_type: typing.Type) -> bool:
@@ -3664,7 +3693,7 @@ class ParameterSetJsonConverter(JsonConverter):
3664
3693
  ...
3665
3694
 
3666
3695
 
3667
- class OptimizationBacktestJsonConverter(JsonConverter):
3696
+ class OptimizationBacktestJsonConverter:
3668
3697
  """Json converter for OptimizationBacktest which creates a light weight easy to consume serialized version"""
3669
3698
 
3670
3699
  def can_convert(self, object_type: typing.Type) -> bool:
@@ -37,7 +37,7 @@ class SecurityBenchmark(System.Object, QuantConnect.Benchmarks.IBenchmark):
37
37
  ...
38
38
 
39
39
  @staticmethod
40
- def create_instance(securities: QuantConnect.Securities.SecurityManager, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Benchmarks.SecurityBenchmark:
40
+ def create_instance(securities: QuantConnect.Securities.SecurityManager, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Benchmarks.SecurityBenchmark:
41
41
  """
42
42
  Helper function that will create a security with the given SecurityManager
43
43
  for a specific symbol and then create a SecurityBenchmark for it
@@ -10,7 +10,6 @@ import System
10
10
  import System.Threading
11
11
  import System.Threading.Tasks
12
12
 
13
- DelegatingHandler = typing.Any
14
13
  AuthenticationHeaderValue = typing.Any
15
14
  HttpResponseMessage = typing.Any
16
15
 
@@ -91,7 +90,7 @@ class TokenCredentials(System.Object):
91
90
  ...
92
91
 
93
92
 
94
- class TokenHandler(DelegatingHandler, metaclass=abc.ABCMeta):
93
+ class TokenHandler(metaclass=abc.ABCMeta):
95
94
  """
96
95
  Provides base functionality for token-based HTTP request handling,
97
96
  including automatic retries and token refresh on unauthorized responses.
@@ -166,6 +165,15 @@ class OAuthTokenHandler(typing.Generic[QuantConnect_Brokerages_Authentication_OA
166
165
  """
167
166
  ...
168
167
 
168
+ def dispose(self, disposing: bool) -> None:
169
+ """
170
+ Disposes of resources
171
+
172
+
173
+ This codeEntityType is protected.
174
+ """
175
+ ...
176
+
169
177
  def get_access_token(self, cancellation_token: System.Threading.CancellationToken) -> QuantConnect.Brokerages.Authentication.TokenCredentials:
170
178
  """
171
179
  Retrieves a valid access token from the Lean platform.
@@ -7,6 +7,7 @@ import QuantConnect
7
7
  import QuantConnect.Brokerages.LevelOneOrderBook
8
8
  import QuantConnect.Data
9
9
  import QuantConnect.Data.Market
10
+ import QuantConnect.Securities
10
11
  import System
11
12
 
12
13
  QuantConnect_Brokerages_LevelOneOrderBook__EventContainer_Callable = typing.TypeVar("QuantConnect_Brokerages_LevelOneOrderBook__EventContainer_Callable")
@@ -51,7 +52,7 @@ class LevelOneServiceManager(System.Object, System.IDisposable):
51
52
  """
52
53
  ...
53
54
 
54
- def handle_last_trade(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], trade_date_time_utc: typing.Optional[datetime.datetime], last_quantity: typing.Optional[float], last_price: typing.Optional[float], sale_condition: str = ..., exchange: str = ...) -> None:
55
+ def handle_last_trade(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], trade_date_time_utc: typing.Optional[datetime.datetime], last_quantity: typing.Optional[float], last_price: typing.Optional[float], sale_condition: str = ..., exchange: str = ...) -> None:
55
56
  """
56
57
  Handles incoming last trade data for a symbol and routes it to the corresponding LevelOneMarketData instance.
57
58
 
@@ -64,7 +65,7 @@ class LevelOneServiceManager(System.Object, System.IDisposable):
64
65
  """
65
66
  ...
66
67
 
67
- def handle_open_interest(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], open_interest_date_time_utc: typing.Optional[datetime.datetime], open_interest: typing.Optional[float]) -> None:
68
+ def handle_open_interest(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], open_interest_date_time_utc: typing.Optional[datetime.datetime], open_interest: typing.Optional[float]) -> None:
68
69
  """
69
70
  Handles open interest updates for the specified symbol.
70
71
  If the symbol is subscribed, forwards the open interest data to the corresponding
@@ -76,7 +77,7 @@ class LevelOneServiceManager(System.Object, System.IDisposable):
76
77
  """
77
78
  ...
78
79
 
79
- def handle_quote(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], quote_date_time_utc: typing.Optional[datetime.datetime], bid_price: typing.Optional[float], bid_size: typing.Optional[float], ask_price: typing.Optional[float], ask_size: typing.Optional[float]) -> None:
80
+ def handle_quote(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], quote_date_time_utc: typing.Optional[datetime.datetime], bid_price: typing.Optional[float], bid_size: typing.Optional[float], ask_price: typing.Optional[float], ask_size: typing.Optional[float]) -> None:
80
81
  """
81
82
  Handles incoming quote data for a symbol.
82
83
  Deduplicates updates and routes changes to the relevant LevelOneMarketData instance.
@@ -90,7 +91,7 @@ class LevelOneServiceManager(System.Object, System.IDisposable):
90
91
  """
91
92
  ...
92
93
 
93
- def set_ignore_zero_size_updates(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], ignore_zero_size_updates: bool) -> None:
94
+ def set_ignore_zero_size_updates(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], ignore_zero_size_updates: bool) -> None:
94
95
  """
95
96
  Sets the LevelOneMarketData.ignore_zero_size_updates flag for the specified symbol,
96
97
  controlling how zero-sized quote updates are handled for that symbol's market data stream.
@@ -216,7 +217,7 @@ class LevelOneMarketData(System.Object):
216
217
  def ignore_zero_size_updates(self, value: bool) -> None:
217
218
  ...
218
219
 
219
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
220
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
220
221
  """
221
222
  Initializes a new instance of the LevelOneMarketData class for a given symbol.
222
223
 
@@ -34,7 +34,7 @@ QuantConnect_Brokerages__EventContainer_ReturnType = typing.TypeVar("QuantConnec
34
34
  class ISymbolMapper(metaclass=abc.ABCMeta):
35
35
  """Provides the mapping between Lean symbols and brokerage specific symbols."""
36
36
 
37
- def get_brokerage_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
37
+ def get_brokerage_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
38
38
  """
39
39
  Converts a Lean symbol instance to a brokerage symbol
40
40
 
@@ -86,7 +86,7 @@ class BestBidAskUpdatedEventArgs(System.EventArgs):
86
86
  """Gets the new best ask size"""
87
87
  ...
88
88
 
89
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], best_bid_price: float, best_bid_size: float, best_ask_price: float, best_ask_size: float) -> None:
89
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], best_bid_price: float, best_bid_size: float, best_ask_price: float, best_ask_size: float) -> None:
90
90
  """
91
91
  Initializes a new instance of the BestBidAskUpdatedEventArgs class
92
92
 
@@ -522,7 +522,7 @@ class DefaultOrderBook(System.Object, QuantConnect.Brokerages.IOrderBookUpdater[
522
522
  """The best ask size"""
523
523
  ...
524
524
 
525
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
525
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
526
526
  """
527
527
  Initializes a new instance of the DefaultOrderBook class
528
528
 
@@ -1214,7 +1214,7 @@ class OptionNotificationEventArgs(System.EventArgs):
1214
1214
  ...
1215
1215
 
1216
1216
  @overload
1217
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], position: float) -> None:
1217
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], position: float) -> None:
1218
1218
  """
1219
1219
  Initializes a new instance of the OptionNotificationEventArgs class
1220
1220
 
@@ -1224,7 +1224,7 @@ class OptionNotificationEventArgs(System.EventArgs):
1224
1224
  ...
1225
1225
 
1226
1226
  @overload
1227
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], position: float, tag: str) -> None:
1227
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], position: float, tag: str) -> None:
1228
1228
  """
1229
1229
  Initializes a new instance of the OptionNotificationEventArgs class
1230
1230
 
@@ -1247,7 +1247,7 @@ class DelistingNotificationEventArgs(System.Object):
1247
1247
  """Gets the option symbol which has received a notification"""
1248
1248
  ...
1249
1249
 
1250
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
1250
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
1251
1251
  """
1252
1252
  Initializes a new instance of the DelistingNotificationEventArgs class
1253
1253
 
@@ -1947,7 +1947,7 @@ class BrokerageMultiWebSocketEntry(System.Object):
1947
1947
  """
1948
1948
  ...
1949
1949
 
1950
- def add_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
1950
+ def add_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
1951
1951
  """
1952
1952
  Adds a symbol to the entry
1953
1953
 
@@ -1955,7 +1955,7 @@ class BrokerageMultiWebSocketEntry(System.Object):
1955
1955
  """
1956
1956
  ...
1957
1957
 
1958
- def contains(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
1958
+ def contains(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
1959
1959
  """
1960
1960
  Returns whether the symbol is subscribed
1961
1961
 
@@ -1963,7 +1963,7 @@ class BrokerageMultiWebSocketEntry(System.Object):
1963
1963
  """
1964
1964
  ...
1965
1965
 
1966
- def remove_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
1966
+ def remove_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
1967
1967
  """
1968
1968
  Removes a symbol from the entry
1969
1969
 
@@ -2041,7 +2041,7 @@ class SymbolPropertiesDatabaseSymbolMapper(System.Object, QuantConnect.Brokerage
2041
2041
  """
2042
2042
  ...
2043
2043
 
2044
- def get_brokerage_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
2044
+ def get_brokerage_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
2045
2045
  """
2046
2046
  Converts a Lean symbol instance to a brokerage symbol
2047
2047
 
@@ -2073,7 +2073,7 @@ class SymbolPropertiesDatabaseSymbolMapper(System.Object, QuantConnect.Brokerage
2073
2073
  """
2074
2074
  ...
2075
2075
 
2076
- def is_known_lean_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
2076
+ def is_known_lean_symbol(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
2077
2077
  """
2078
2078
  Checks if the Lean symbol is supported by the brokerage
2079
2079
 
@@ -9,6 +9,7 @@ import QuantConnect.Data.Market
9
9
  import QuantConnect.Interfaces
10
10
  import QuantConnect.Orders
11
11
  import QuantConnect.Packets
12
+ import QuantConnect.Securities
12
13
  import System
13
14
  import System.IO
14
15
 
@@ -172,7 +173,7 @@ class BaseCommand(System.Object, QuantConnect.Commands.ICommand, metaclass=abc.A
172
173
  def id(self, value: str) -> None:
173
174
  ...
174
175
 
175
- def get_symbol(self, ticker: str, security_type: QuantConnect.SecurityType, market: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract] = None) -> QuantConnect.Symbol:
176
+ def get_symbol(self, ticker: str, security_type: QuantConnect.SecurityType, market: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security] = None) -> QuantConnect.Symbol:
176
177
  """
177
178
  Creats symbol using symbol properties.
178
179
 
@@ -552,7 +553,7 @@ class AddSecurityCommand(QuantConnect.Commands.BaseCommand):
552
553
  def symbol(self, value: QuantConnect.Symbol) -> None:
553
554
  ...
554
555
 
555
- def __init__(self, command: QuantConnect.Commands.AddSecurityCommand, success: bool, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
556
+ def __init__(self, command: QuantConnect.Commands.AddSecurityCommand, success: bool, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
556
557
  """Initializes a new instance of the Result class"""
557
558
  ...
558
559
 
@@ -317,7 +317,7 @@ class FactorFile(typing.Generic[QuantConnect_Data_Auxiliary_FactorFile_T], Syste
317
317
  """Gets the price scale factor for the specified search date"""
318
318
  ...
319
319
 
320
- def write_to_file(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
320
+ def write_to_file(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
321
321
  """
322
322
  Write the factor file to the correct place in the default Data folder
323
323
 
@@ -392,7 +392,7 @@ class CorporateFactorRow(System.Object, QuantConnect.Data.Auxiliary.IFactorRow):
392
392
  """
393
393
  ...
394
394
 
395
- def get_dividend(self, next_corporate_factor_row: QuantConnect.Data.Auxiliary.CorporateFactorRow, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], exchange_hours: QuantConnect.Securities.SecurityExchangeHours, decimal_places: int = 2) -> QuantConnect.Data.Market.Dividend:
395
+ def get_dividend(self, next_corporate_factor_row: QuantConnect.Data.Auxiliary.CorporateFactorRow, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], exchange_hours: QuantConnect.Securities.SecurityExchangeHours, decimal_places: int = 2) -> QuantConnect.Data.Market.Dividend:
396
396
  """
397
397
  Creates a new dividend from this factor file row and the one chronologically in front of it
398
398
  This dividend may have a distribution of zero if this row doesn't represent a dividend
@@ -409,7 +409,7 @@ class CorporateFactorRow(System.Object, QuantConnect.Data.Auxiliary.IFactorRow):
409
409
  """Writes factor file row into it's file format"""
410
410
  ...
411
411
 
412
- def get_split(self, next_corporate_factor_row: QuantConnect.Data.Auxiliary.CorporateFactorRow, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> QuantConnect.Data.Market.Split:
412
+ def get_split(self, next_corporate_factor_row: QuantConnect.Data.Auxiliary.CorporateFactorRow, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> QuantConnect.Data.Market.Split:
413
413
  """
414
414
  Creates a new split from this factor file row and the one chronologically in front of it
415
415
  This split may have a split factor of one if this row doesn't represent a split
@@ -468,7 +468,7 @@ class CorporateFactorProvider(QuantConnect.Data.Auxiliary.FactorFile[QuantConnec
468
468
  """Gets price and split factors to be applied at the specified date"""
469
469
  ...
470
470
 
471
- def get_splits_and_dividends(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], exchange_hours: QuantConnect.Securities.SecurityExchangeHours, decimal_places: int = 2) -> typing.List[QuantConnect.Data.BaseData]:
471
+ def get_splits_and_dividends(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], exchange_hours: QuantConnect.Securities.SecurityExchangeHours, decimal_places: int = 2) -> typing.List[QuantConnect.Data.BaseData]:
472
472
  """
473
473
  Gets all of the splits and dividends represented by this factor file
474
474
 
@@ -513,7 +513,7 @@ class LocalDiskFactorFileProvider(System.Object, QuantConnect.Interfaces.IFactor
513
513
  """Creates a new instance of the LocalDiskFactorFileProvider"""
514
514
  ...
515
515
 
516
- def get(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
516
+ def get(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
517
517
  """
518
518
  Gets a FactorFile{T} instance for the specified symbol, or null if not found
519
519
 
@@ -659,12 +659,12 @@ class PriceScalingExtensions(System.Object):
659
659
  """Set of helper methods for factor files and price scaling operations"""
660
660
 
661
661
  @staticmethod
662
- def get_empty_factor_file(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
662
+ def get_empty_factor_file(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
663
663
  """Helper method to return an empty factor file"""
664
664
  ...
665
665
 
666
666
  @staticmethod
667
- def get_factor_file_symbol(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Symbol:
667
+ def get_factor_file_symbol(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Symbol:
668
668
  """Determines the symbol to use to fetch it's factor file"""
669
669
  ...
670
670
 
@@ -788,7 +788,7 @@ class AuxiliaryDataKey(System.Object):
788
788
 
789
789
  @staticmethod
790
790
  @overload
791
- def create(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.Auxiliary.AuxiliaryDataKey:
791
+ def create(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.Auxiliary.AuxiliaryDataKey:
792
792
  """Helper method to create a new instance from a Symbol"""
793
793
  ...
794
794
 
@@ -915,7 +915,7 @@ class SymbolDateRange:
915
915
  """Ticker End Date Time in Local"""
916
916
  ...
917
917
 
918
- def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], start_date_time_local: typing.Union[datetime.datetime, datetime.date], end_date_time_local: typing.Union[datetime.datetime, datetime.date]) -> None:
918
+ def __init__(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], start_date_time_local: typing.Union[datetime.datetime, datetime.date], end_date_time_local: typing.Union[datetime.datetime, datetime.date]) -> None:
919
919
  """
920
920
  Create the instance of SymbolDateRange struct.
921
921
 
@@ -943,7 +943,7 @@ class MappingExtensions(System.Object):
943
943
 
944
944
  @staticmethod
945
945
  @overload
946
- def resolve_map_file(map_file_resolver: QuantConnect.Data.Auxiliary.MapFileResolver, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], data_type: str = None) -> QuantConnect.Data.Auxiliary.MapFile:
946
+ def resolve_map_file(map_file_resolver: QuantConnect.Data.Auxiliary.MapFileResolver, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], data_type: str = None) -> QuantConnect.Data.Auxiliary.MapFile:
947
947
  """
948
948
  Helper method to resolve the mapping file to use.
949
949
 
@@ -955,7 +955,7 @@ class MappingExtensions(System.Object):
955
955
  ...
956
956
 
957
957
  @staticmethod
958
- def retrieve_all_mapped_symbol_in_date_range(map_file_provider: QuantConnect.Interfaces.IMapFileProvider, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> typing.Iterable[QuantConnect.Data.Auxiliary.SymbolDateRange]:
958
+ def retrieve_all_mapped_symbol_in_date_range(map_file_provider: QuantConnect.Interfaces.IMapFileProvider, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> typing.Iterable[QuantConnect.Data.Auxiliary.SymbolDateRange]:
959
959
  """
960
960
  Retrieves all Symbol from map files based on specific Symbol.
961
961
 
@@ -966,7 +966,7 @@ class MappingExtensions(System.Object):
966
966
  ...
967
967
 
968
968
  @staticmethod
969
- def retrieve_symbol_historical_definitions_in_date_range(map_file_provider: QuantConnect.Interfaces.IMapFileProvider, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], start_date_time: typing.Union[datetime.datetime, datetime.date], end_date_time: typing.Union[datetime.datetime, datetime.date]) -> typing.Iterable[QuantConnect.Data.Auxiliary.TickerDateRange]:
969
+ def retrieve_symbol_historical_definitions_in_date_range(map_file_provider: QuantConnect.Interfaces.IMapFileProvider, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], start_date_time: typing.Union[datetime.datetime, datetime.date], end_date_time: typing.Union[datetime.datetime, datetime.date]) -> typing.Iterable[QuantConnect.Data.Auxiliary.TickerDateRange]:
970
970
  """
971
971
  Some historical provider supports ancient data. In fact, the ticker could be restructured to new one.
972
972
 
@@ -1052,7 +1052,7 @@ class LocalZipFactorFileProvider(System.Object, QuantConnect.Interfaces.IFactorF
1052
1052
  """Creates a new instance of the LocalZipFactorFileProvider class."""
1053
1053
  ...
1054
1054
 
1055
- def get(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
1055
+ def get(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.Auxiliary.IFactorProvider:
1056
1056
  """
1057
1057
  Gets a FactorFile{T} instance for the specified symbol, or null if not found
1058
1058
 
@@ -160,7 +160,7 @@ class MarketHourAwareConsolidator(System.Object, QuantConnect.Data.Consolidators
160
160
  """
161
161
  ...
162
162
 
163
- def use_strict_end_time(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
163
+ def use_strict_end_time(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
164
164
  """
165
165
  Useful for testing
166
166
 
@@ -7,6 +7,7 @@ import QuantConnect
7
7
  import QuantConnect.Data
8
8
  import QuantConnect.Data.Custom.Tiingo
9
9
  import QuantConnect.Data.Market
10
+ import QuantConnect.Securities
10
11
  import System
11
12
 
12
13
 
@@ -245,7 +246,7 @@ class TiingoSymbolMapper(System.Object):
245
246
  ...
246
247
 
247
248
  @staticmethod
248
- def get_tiingo_ticker(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
249
+ def get_tiingo_ticker(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
249
250
  """Maps a given Symbol instance to it's Tiingo equivalent"""
250
251
  ...
251
252
 
@@ -9,15 +9,14 @@ import QuantConnect.Data
9
9
  import QuantConnect.Data.Fundamental
10
10
  import QuantConnect.Data.Market
11
11
  import QuantConnect.Data.UniverseSelection
12
+ import QuantConnect.Securities
12
13
  import System
13
14
  import System.Collections.Generic
14
15
 
15
- ReusuableCLRObject = typing.Any
16
-
17
16
  QuantConnect_Data_Fundamental_MultiPeriodField_T = typing.TypeVar("QuantConnect_Data_Fundamental_MultiPeriodField_T")
18
17
 
19
18
 
20
- class FundamentalTimeDependentProperty(ReusuableCLRObject, metaclass=abc.ABCMeta):
19
+ class FundamentalTimeDependentProperty(metaclass=abc.ABCMeta):
21
20
  """Simple base class shared by top layer fundamental properties which depend on a time provider"""
22
21
 
23
22
  @property
@@ -14745,7 +14744,7 @@ class EffectiveTaxRateAsReportedIncomeStatement(QuantConnect.Data.Fundamental.Mu
14745
14744
  ...
14746
14745
 
14747
14746
 
14748
- class IncomeStatement(ReusuableCLRObject):
14747
+ class IncomeStatement:
14749
14748
  """Definition of the IncomeStatement class"""
14750
14749
 
14751
14750
  @property
@@ -36917,7 +36916,7 @@ class TotalEquityAsReportedBalanceSheet(QuantConnect.Data.Fundamental.MultiPerio
36917
36916
  ...
36918
36917
 
36919
36918
 
36920
- class BalanceSheet(ReusuableCLRObject):
36919
+ class BalanceSheet:
36921
36920
  """Definition of the BalanceSheet class"""
36922
36921
 
36923
36922
  @property
@@ -53202,7 +53201,7 @@ class ChangeinCashSupplementalAsReportedCashFlowStatement(QuantConnect.Data.Fund
53202
53201
  ...
53203
53202
 
53204
53203
 
53205
- class CashFlowStatement(ReusuableCLRObject):
53204
+ class CashFlowStatement:
53206
53205
  """Definition of the CashFlowStatement class"""
53207
53206
 
53208
53207
  @property
@@ -63462,7 +63461,7 @@ class FundamentalInstanceProvider(System.Object):
63462
63461
  """Per symbol we will have a fundamental class provider so the instances can be reused"""
63463
63462
 
63464
63463
  @staticmethod
63465
- def get(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> QuantConnect.Data.Fundamental.FundamentalInstanceProvider:
63464
+ def get(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> QuantConnect.Data.Fundamental.FundamentalInstanceProvider:
63466
63465
  """
63467
63466
  Get's the fundamental instance provider for the requested symbol
63468
63467
 
@@ -63580,12 +63579,12 @@ class FineFundamental(QuantConnect.Data.UniverseSelection.CoarseFundamental):
63580
63579
  ...
63581
63580
 
63582
63581
  @overload
63583
- def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
63582
+ def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
63584
63583
  """Creates a new instance for the given time and security"""
63585
63584
  ...
63586
63585
 
63587
63586
  @overload
63588
- def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], fundamental_instance_provider: QuantConnect.Data.Fundamental.FundamentalInstanceProvider) -> None:
63587
+ def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], fundamental_instance_provider: QuantConnect.Data.Fundamental.FundamentalInstanceProvider) -> None:
63589
63588
  """Creates a new instance for the given time and security"""
63590
63589
  ...
63591
63590
 
@@ -63652,7 +63651,7 @@ class Fundamental(QuantConnect.Data.Fundamental.FineFundamental):
63652
63651
  ...
63653
63652
 
63654
63653
  @overload
63655
- def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
63654
+ def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
63656
63655
  """
63657
63656
  Creates a new instance
63658
63657
 
@@ -63699,7 +63698,7 @@ class FundamentalUniverse(QuantConnect.Data.UniverseSelection.BaseDataCollection
63699
63698
  ...
63700
63699
 
63701
63700
  @overload
63702
- def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> None:
63701
+ def __init__(self, time: typing.Union[datetime.datetime, datetime.date], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> None:
63703
63702
  """
63704
63703
  Creates a new instance
63705
63704
 
@@ -71075,7 +71074,7 @@ class Period(System.Object):
71075
71074
  """Period constant for ten years"""
71076
71075
 
71077
71076
 
71078
- class MultiPeriodField(typing.Generic[QuantConnect_Data_Fundamental_MultiPeriodField_T], ReusuableCLRObject, metaclass=abc.ABCMeta):
71077
+ class MultiPeriodField(typing.Generic[QuantConnect_Data_Fundamental_MultiPeriodField_T], metaclass=abc.ABCMeta):
71079
71078
  """Abstract base class for multi-period fields"""
71080
71079
 
71081
71080
  NO_VALUE: QuantConnect_Data_Fundamental_MultiPeriodField_T