quantconnect-stubs 17397__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 (62) 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 +365 -310
  7. QuantConnect/AlgorithmFactory/Python/Wrappers/__init__.pyi +12 -11
  8. QuantConnect/Api/Serialization/__init__.pyi +1 -3
  9. QuantConnect/Api/__init__.pyi +67 -8
  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 +82 -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 +44 -45
  22. QuantConnect/DataSource/__init__.pyi +7 -7
  23. QuantConnect/Indicators/__init__.pyi +238 -98
  24. QuantConnect/Interfaces/__init__.pyi +24 -23
  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/Lean/Engine/Results/__init__.pyi +0 -38
  31. QuantConnect/Notifications/__init__.pyi +1 -3
  32. QuantConnect/Optimizer/Parameters/__init__.pyi +1 -3
  33. QuantConnect/Orders/Fees/__init__.pyi +35 -0
  34. QuantConnect/Orders/__init__.pyi +75 -28
  35. QuantConnect/Python/__init__.pyi +1 -1
  36. QuantConnect/Report/__init__.pyi +3 -5
  37. QuantConnect/Research/__init__.pyi +17 -16
  38. QuantConnect/Scheduling/__init__.pyi +17 -17
  39. QuantConnect/Securities/Cfd/__init__.pyi +2 -2
  40. QuantConnect/Securities/Crypto/__init__.pyi +2 -2
  41. QuantConnect/Securities/CryptoFuture/__init__.pyi +1 -1
  42. QuantConnect/Securities/Equity/__init__.pyi +1 -1
  43. QuantConnect/Securities/Forex/__init__.pyi +1 -1
  44. QuantConnect/Securities/Future/__init__.pyi +8 -8
  45. QuantConnect/Securities/FutureOption/__init__.pyi +9 -9
  46. QuantConnect/Securities/Index/__init__.pyi +2 -2
  47. QuantConnect/Securities/IndexOption/__init__.pyi +3 -3
  48. QuantConnect/Securities/Option/StrategyMatcher/__init__.pyi +6 -6
  49. QuantConnect/Securities/Option/__init__.pyi +54 -54
  50. QuantConnect/Securities/Positions/__init__.pyi +6 -6
  51. QuantConnect/Securities/__init__.pyi +80 -81
  52. QuantConnect/Statistics/__init__.pyi +2 -2
  53. QuantConnect/Util/__init__.pyi +36 -37
  54. QuantConnect/__init__.pyi +69 -68
  55. System/ComponentModel/DataAnnotations/__init__.pyi +1 -1
  56. System/ComponentModel/__init__.pyi +1 -1
  57. System/IO/__init__.pyi +12 -0
  58. System/Threading/__init__.pyi +3 -3
  59. {quantconnect_stubs-17397.dist-info → quantconnect_stubs-17412.dist-info}/METADATA +1 -1
  60. {quantconnect_stubs-17397.dist-info → quantconnect_stubs-17412.dist-info}/RECORD +62 -62
  61. {quantconnect_stubs-17397.dist-info → quantconnect_stubs-17412.dist-info}/WHEEL +0 -0
  62. {quantconnect_stubs-17397.dist-info → quantconnect_stubs-17412.dist-info}/top_level.txt +0 -0
@@ -936,7 +936,7 @@ class TradeBuilder(System.Object, QuantConnect.Interfaces.ITradeBuilder):
936
936
  """
937
937
  ...
938
938
 
939
- def has_open_position(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
939
+ def has_open_position(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
940
940
  """
941
941
  Returns true if there is an open position for the symbol
942
942
 
@@ -964,7 +964,7 @@ class TradeBuilder(System.Object, QuantConnect.Interfaces.ITradeBuilder):
964
964
  """
965
965
  ...
966
966
 
967
- def set_market_price(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], price: float) -> None:
967
+ def set_market_price(self, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], price: float) -> None:
968
968
  """
969
969
  Sets the current market price for the symbol
970
970
 
@@ -21,7 +21,6 @@ import System.Text
21
21
  import System.Text.RegularExpressions
22
22
  import System.Threading
23
23
 
24
- JsonConverter = typing.Any
25
24
  QuantConnect_Util_MarketHoursDatabaseJsonConverter_MarketHoursDatabaseJson = typing.Any
26
25
  Expression = typing.Any
27
26
 
@@ -132,7 +131,7 @@ class PerformanceTrackingTool(System.Object):
132
131
  ...
133
132
 
134
133
 
135
- class TypeChangeJsonConverter(typing.Generic[QuantConnect_Util_TypeChangeJsonConverter_T, QuantConnect_Util_TypeChangeJsonConverter_TResult], JsonConverter, metaclass=abc.ABCMeta):
134
+ class TypeChangeJsonConverter(typing.Generic[QuantConnect_Util_TypeChangeJsonConverter_T, QuantConnect_Util_TypeChangeJsonConverter_TResult], metaclass=abc.ABCMeta):
136
135
  """
137
136
  Provides a base class for a JsonConverter that serializes a
138
137
  an input type as some other output type
@@ -542,7 +541,7 @@ class ConcurrentSet(typing.Generic[QuantConnect_Util_ConcurrentSet_T], System.Ob
542
541
  ...
543
542
 
544
543
 
545
- class DateTimeJsonConverter(JsonConverter):
544
+ class DateTimeJsonConverter:
546
545
  """Provides a json converter that allows defining the date time format used"""
547
546
 
548
547
  @property
@@ -1340,7 +1339,7 @@ class CurrencyPairUtil(System.Object):
1340
1339
  """The two currency pairs are the inverse of each other"""
1341
1340
 
1342
1341
  @staticmethod
1343
- def compare_pair(pair_a: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], base_currency_b: str, quote_currency_b: str) -> QuantConnect.Util.CurrencyPairUtil.Match:
1342
+ def compare_pair(pair_a: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], base_currency_b: str, quote_currency_b: str) -> QuantConnect.Util.CurrencyPairUtil.Match:
1344
1343
  """
1345
1344
  Returns how two currency pairs are related to each other
1346
1345
 
@@ -1353,7 +1352,7 @@ class CurrencyPairUtil(System.Object):
1353
1352
 
1354
1353
  @staticmethod
1355
1354
  @overload
1356
- def currency_pair_dual(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], known_symbol: str) -> str:
1355
+ def currency_pair_dual(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], known_symbol: str) -> str:
1357
1356
  """
1358
1357
  You have currency_pair AB and one known symbol (A or B). This function returns the other symbol (B or A).
1359
1358
 
@@ -1377,7 +1376,7 @@ class CurrencyPairUtil(System.Object):
1377
1376
  ...
1378
1377
 
1379
1378
  @staticmethod
1380
- def decompose_currency_pair(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], base_currency: typing.Optional[str], quote_currency: typing.Optional[str], default_quote_currency: str = ...) -> typing.Tuple[None, str, str]:
1379
+ def decompose_currency_pair(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], base_currency: typing.Optional[str], quote_currency: typing.Optional[str], default_quote_currency: str = ...) -> typing.Tuple[None, str, str]:
1381
1380
  """
1382
1381
  Decomposes the specified currency pair into a base and quote currency provided as out parameters
1383
1382
 
@@ -1389,7 +1388,7 @@ class CurrencyPairUtil(System.Object):
1389
1388
  ...
1390
1389
 
1391
1390
  @staticmethod
1392
- def is_decomposable(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
1391
+ def is_decomposable(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
1393
1392
  """
1394
1393
  Checks whether a symbol is decomposable into a base and a quote currency
1395
1394
 
@@ -1413,7 +1412,7 @@ class CurrencyPairUtil(System.Object):
1413
1412
  ...
1414
1413
 
1415
1414
  @staticmethod
1416
- def try_decompose_currency_pair(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], base_currency: typing.Optional[str], quote_currency: typing.Optional[str]) -> typing.Tuple[bool, str, str]:
1415
+ def try_decompose_currency_pair(currency_pair: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], base_currency: typing.Optional[str], quote_currency: typing.Optional[str]) -> typing.Tuple[bool, str, str]:
1417
1416
  """
1418
1417
  Tries to decomposes the specified currency pair into a base and quote currency provided as out parameters
1419
1418
 
@@ -1466,7 +1465,7 @@ class LeanDataPathComponents(System.Object):
1466
1465
  """Gets the tick type from the file name"""
1467
1466
  ...
1468
1467
 
1469
- def __init__(self, security_type: QuantConnect.SecurityType, market: str, resolution: QuantConnect.Resolution, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], filename: str, date: typing.Union[datetime.datetime, datetime.date], tick_type: QuantConnect.TickType) -> None:
1468
+ def __init__(self, security_type: QuantConnect.SecurityType, market: str, resolution: QuantConnect.Resolution, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], filename: str, date: typing.Union[datetime.datetime, datetime.date], tick_type: QuantConnect.TickType) -> None:
1470
1469
  """Initializes a new instance of the LeanDataPathComponents class"""
1471
1470
  ...
1472
1471
 
@@ -1610,7 +1609,7 @@ class LeanData(System.Object):
1610
1609
  """The different SecurityType used for data paths"""
1611
1610
 
1612
1611
  @staticmethod
1613
- def aggregate_quote_bars(bars: typing.List[QuantConnect.Data.Market.QuoteBar], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.QuoteBar]:
1612
+ def aggregate_quote_bars(bars: typing.List[QuantConnect.Data.Market.QuoteBar], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.QuoteBar]:
1614
1613
  """
1615
1614
  Aggregates a list of second/minute bars at the requested resolution
1616
1615
 
@@ -1622,7 +1621,7 @@ class LeanData(System.Object):
1622
1621
  ...
1623
1622
 
1624
1623
  @staticmethod
1625
- def aggregate_ticks(ticks: typing.List[QuantConnect.Data.Market.Tick], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.QuoteBar]:
1624
+ def aggregate_ticks(ticks: typing.List[QuantConnect.Data.Market.Tick], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.QuoteBar]:
1626
1625
  """
1627
1626
  Aggregates a list of ticks at the requested resolution
1628
1627
 
@@ -1634,7 +1633,7 @@ class LeanData(System.Object):
1634
1633
  ...
1635
1634
 
1636
1635
  @staticmethod
1637
- def aggregate_ticks_to_trade_bars(ticks: typing.List[QuantConnect.Data.Market.Tick], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.TradeBar]:
1636
+ def aggregate_ticks_to_trade_bars(ticks: typing.List[QuantConnect.Data.Market.Tick], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.TradeBar]:
1638
1637
  """
1639
1638
  Aggregates a list of ticks at the requested resolution
1640
1639
 
@@ -1646,7 +1645,7 @@ class LeanData(System.Object):
1646
1645
  ...
1647
1646
 
1648
1647
  @staticmethod
1649
- def aggregate_trade_bars(bars: typing.List[QuantConnect.Data.Market.TradeBar], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.TradeBar]:
1648
+ def aggregate_trade_bars(bars: typing.List[QuantConnect.Data.Market.TradeBar], symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: datetime.timedelta) -> typing.Iterable[QuantConnect.Data.Market.TradeBar]:
1650
1649
  """
1651
1650
  Aggregates a list of second/minute bars at the requested resolution
1652
1651
 
@@ -1675,23 +1674,23 @@ class LeanData(System.Object):
1675
1674
  ...
1676
1675
 
1677
1676
  @staticmethod
1678
- def generate_relative_factor_file_path(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
1677
+ def generate_relative_factor_file_path(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
1679
1678
  """Generates relative factor file paths for equities"""
1680
1679
  ...
1681
1680
 
1682
1681
  @staticmethod
1683
- def generate_relative_universes_directory(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
1682
+ def generate_relative_universes_directory(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
1684
1683
  """Generates the relative directory to the universe files for the specified symbol"""
1685
1684
  ...
1686
1685
 
1687
1686
  @staticmethod
1688
- def generate_relative_zip_file_directory(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: QuantConnect.Resolution) -> str:
1687
+ def generate_relative_zip_file_directory(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: QuantConnect.Resolution) -> str:
1689
1688
  """Generates the relative zip directory for the specified symbol/resolution"""
1690
1689
  ...
1691
1690
 
1692
1691
  @staticmethod
1693
1692
  @overload
1694
- def generate_relative_zip_file_path(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1693
+ def generate_relative_zip_file_path(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1695
1694
  """Generates the relative zip file path rooted in the /Data directory"""
1696
1695
  ...
1697
1696
 
@@ -1702,18 +1701,18 @@ class LeanData(System.Object):
1702
1701
  ...
1703
1702
 
1704
1703
  @staticmethod
1705
- def generate_universes_directory(data_directory: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> str:
1704
+ def generate_universes_directory(data_directory: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> str:
1706
1705
  """Generates the directory to the universe files for the specified symbol"""
1707
1706
  ...
1708
1707
 
1709
1708
  @staticmethod
1710
- def generate_zip_entry_name(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1709
+ def generate_zip_entry_name(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1711
1710
  """Generate's the zip entry name to hold the specified data."""
1712
1711
  ...
1713
1712
 
1714
1713
  @staticmethod
1715
1714
  @overload
1716
- def generate_zip_file_name(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1715
+ def generate_zip_file_name(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1717
1716
  """Generates the zip file name for the specified date of data."""
1718
1717
  ...
1719
1718
 
@@ -1725,7 +1724,7 @@ class LeanData(System.Object):
1725
1724
 
1726
1725
  @staticmethod
1727
1726
  @overload
1728
- def generate_zip_file_path(data_directory: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1727
+ def generate_zip_file_path(data_directory: str, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], date: typing.Union[datetime.datetime, datetime.date], resolution: QuantConnect.Resolution, tick_type: QuantConnect.TickType) -> str:
1729
1728
  """Generates the full zip file path rooted in the data_directory"""
1730
1729
  ...
1731
1730
 
@@ -1800,7 +1799,7 @@ class LeanData(System.Object):
1800
1799
  ...
1801
1800
 
1802
1801
  @staticmethod
1803
- def get_next_daily_end_time(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], exchange_time_zone_date: typing.Union[datetime.datetime, datetime.date], exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> datetime.datetime:
1802
+ def get_next_daily_end_time(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], exchange_time_zone_date: typing.Union[datetime.datetime, datetime.date], exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> datetime.datetime:
1804
1803
  """Helper method to get the next daily end time, taking into account strict end times if appropriate"""
1805
1804
  ...
1806
1805
 
@@ -1821,7 +1820,7 @@ class LeanData(System.Object):
1821
1820
  ...
1822
1821
 
1823
1822
  @staticmethod
1824
- def option_use_scale_factor(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]) -> bool:
1823
+ def option_use_scale_factor(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]) -> bool:
1825
1824
  """Helper method that defines the types of options that should use scale factor"""
1826
1825
  ...
1827
1826
 
@@ -1852,7 +1851,7 @@ class LeanData(System.Object):
1852
1851
  ...
1853
1852
 
1854
1853
  @staticmethod
1855
- def read_symbol_from_zip_entry(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], resolution: QuantConnect.Resolution, zip_entry_name: str) -> QuantConnect.Symbol:
1854
+ def read_symbol_from_zip_entry(symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], resolution: QuantConnect.Resolution, zip_entry_name: str) -> QuantConnect.Symbol:
1856
1855
  """
1857
1856
  Creates a symbol from the specified zip entry name
1858
1857
 
@@ -1885,7 +1884,7 @@ class LeanData(System.Object):
1885
1884
 
1886
1885
  @staticmethod
1887
1886
  @overload
1888
- def try_parse_path(file_path: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution], tick_type: typing.Optional[QuantConnect.TickType], data_type: typing.Optional[typing.Type]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution, QuantConnect.TickType, typing.Type]:
1887
+ def try_parse_path(file_path: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution], tick_type: typing.Optional[QuantConnect.TickType], data_type: typing.Optional[typing.Type]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution, QuantConnect.TickType, typing.Type]:
1889
1888
  """
1890
1889
  Parses file name into a Security and DateTime
1891
1890
 
@@ -1900,7 +1899,7 @@ class LeanData(System.Object):
1900
1899
 
1901
1900
  @staticmethod
1902
1901
  @overload
1903
- def try_parse_path(file_name: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution]:
1902
+ def try_parse_path(file_name: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution]:
1904
1903
  """
1905
1904
  Parses file name into a Security and DateTime
1906
1905
 
@@ -1913,7 +1912,7 @@ class LeanData(System.Object):
1913
1912
 
1914
1913
  @staticmethod
1915
1914
  @overload
1916
- def try_parse_path(file_name: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution], is_universes: typing.Optional[bool]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution, bool]:
1915
+ def try_parse_path(file_name: str, symbol: typing.Optional[typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security]], date: typing.Optional[typing.Union[datetime.datetime, datetime.date]], resolution: typing.Optional[QuantConnect.Resolution], is_universes: typing.Optional[bool]) -> typing.Tuple[bool, typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], typing.Union[datetime.datetime, datetime.date], QuantConnect.Resolution, bool]:
1917
1916
  """
1918
1917
  Parses file name into a Security and DateTime
1919
1918
 
@@ -1938,19 +1937,19 @@ class LeanData(System.Object):
1938
1937
 
1939
1938
  @staticmethod
1940
1939
  @overload
1941
- def use_daily_strict_end_times(settings: QuantConnect.Interfaces.IAlgorithmSettings, request: QuantConnect.Data.BaseDataRequest, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours = None) -> bool:
1940
+ def use_daily_strict_end_times(settings: QuantConnect.Interfaces.IAlgorithmSettings, request: QuantConnect.Data.BaseDataRequest, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours = None) -> bool:
1942
1941
  """Helper method to determine if we should use strict end time"""
1943
1942
  ...
1944
1943
 
1945
1944
  @staticmethod
1946
1945
  @overload
1947
- def use_daily_strict_end_times(settings: QuantConnect.Interfaces.IAlgorithmSettings, data_type: typing.Type, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1946
+ def use_daily_strict_end_times(settings: QuantConnect.Interfaces.IAlgorithmSettings, data_type: typing.Type, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1948
1947
  """Helper method to determine if we should use strict end time"""
1949
1948
  ...
1950
1949
 
1951
1950
  @staticmethod
1952
1951
  @overload
1953
- def use_daily_strict_end_times(daily_strict_end_time_enabled: bool, data_type: typing.Type, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1952
+ def use_daily_strict_end_times(daily_strict_end_time_enabled: bool, data_type: typing.Type, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1954
1953
  """Helper method to determine if we should use strict end time"""
1955
1954
  ...
1956
1955
 
@@ -1961,7 +1960,7 @@ class LeanData(System.Object):
1961
1960
  ...
1962
1961
 
1963
1962
  @staticmethod
1964
- def use_strict_end_time(daily_strict_end_time_enabled: bool, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1963
+ def use_strict_end_time(daily_strict_end_time_enabled: bool, symbol: typing.Union[QuantConnect.Symbol, str, QuantConnect.Data.Market.BaseContract, QuantConnect.Securities.Security], increment: datetime.timedelta, exchange_hours: QuantConnect.Securities.SecurityExchangeHours) -> bool:
1965
1964
  """
1966
1965
  Helper method to determine if we should use strict end time
1967
1966
 
@@ -1971,7 +1970,7 @@ class LeanData(System.Object):
1971
1970
  ...
1972
1971
 
1973
1972
 
1974
- class ChartPointJsonConverter(JsonConverter):
1973
+ class ChartPointJsonConverter:
1975
1974
  """Json Converter for ChartPoint which handles special reading"""
1976
1975
 
1977
1976
  def can_convert(self, object_type: typing.Type) -> bool:
@@ -1992,7 +1991,7 @@ class ChartPointJsonConverter(JsonConverter):
1992
1991
  ...
1993
1992
 
1994
1993
 
1995
- class JsonRoundingConverter(JsonConverter):
1994
+ class JsonRoundingConverter:
1996
1995
  """
1997
1996
  Helper JsonConverter that will round decimal and double types,
1998
1997
  to FRACTIONAL_DIGITS fractional digits
@@ -2080,7 +2079,7 @@ class ObjectActivator(System.Object):
2080
2079
  ...
2081
2080
 
2082
2081
 
2083
- class SingleValueListConverter(typing.Generic[QuantConnect_Util_SingleValueListConverter_T], JsonConverter):
2082
+ class SingleValueListConverter(typing.Generic[QuantConnect_Util_SingleValueListConverter_T]):
2084
2083
  """Reads json and always produces a List, even if the input has just an object"""
2085
2084
 
2086
2085
  def can_convert(self, object_type: typing.Type) -> bool:
@@ -2151,7 +2150,7 @@ class ComparisonOperator(System.Object):
2151
2150
  """Utility Comparison Operator class"""
2152
2151
 
2153
2152
 
2154
- class NullStringValueConverter(typing.Generic[QuantConnect_Util_NullStringValueConverter_T], JsonConverter):
2153
+ class NullStringValueConverter(typing.Generic[QuantConnect_Util_NullStringValueConverter_T]):
2155
2154
  """
2156
2155
  Converts the string "null" into a new instance of T.
2157
2156
  This converter only handles deserialization concerns.
@@ -2238,7 +2237,7 @@ class OptionPayoff(System.Object):
2238
2237
  ...
2239
2238
 
2240
2239
 
2241
- class CandlestickJsonConverter(JsonConverter):
2240
+ class CandlestickJsonConverter:
2242
2241
  """Candlestick Json Converter"""
2243
2242
 
2244
2243
  @property
@@ -2270,7 +2269,7 @@ class CandlestickJsonConverter(JsonConverter):
2270
2269
  ...
2271
2270
 
2272
2271
 
2273
- class SeriesJsonConverter(JsonConverter):
2272
+ class SeriesJsonConverter:
2274
2273
  """Json Converter for Series which handles special Pie Series serialization case"""
2275
2274
 
2276
2275
  def can_convert(self, object_type: typing.Type) -> bool: