quantconnect-stubs 17488__py3-none-any.whl → 17490__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.
@@ -16648,189 +16648,6 @@ class Fred(QuantConnect.Data.BaseData):
16648
16648
  ...
16649
16649
 
16650
16650
 
16651
- class FredApi(QuantConnect.Data.BaseData):
16652
- """This class has no documentation."""
16653
-
16654
- class Observation(System.Object):
16655
- """This class has no documentation."""
16656
-
16657
- @property
16658
- def realtime_start(self) -> str:
16659
- ...
16660
-
16661
- @realtime_start.setter
16662
- def realtime_start(self, value: str) -> None:
16663
- ...
16664
-
16665
- @property
16666
- def realtime_end(self) -> str:
16667
- ...
16668
-
16669
- @realtime_end.setter
16670
- def realtime_end(self, value: str) -> None:
16671
- ...
16672
-
16673
- @property
16674
- def date(self) -> datetime.datetime:
16675
- ...
16676
-
16677
- @date.setter
16678
- def date(self, value: datetime.datetime) -> None:
16679
- ...
16680
-
16681
- @property
16682
- def value(self) -> str:
16683
- ...
16684
-
16685
- @value.setter
16686
- def value(self, value: str) -> None:
16687
- ...
16688
-
16689
- DATA_SOURCE_ID: int
16690
- """Data source ID"""
16691
-
16692
- @property
16693
- def realtime_start(self) -> str:
16694
- ...
16695
-
16696
- @realtime_start.setter
16697
- def realtime_start(self, value: str) -> None:
16698
- ...
16699
-
16700
- @property
16701
- def realtime_end(self) -> str:
16702
- ...
16703
-
16704
- @realtime_end.setter
16705
- def realtime_end(self, value: str) -> None:
16706
- ...
16707
-
16708
- @property
16709
- def observation_start(self) -> str:
16710
- ...
16711
-
16712
- @observation_start.setter
16713
- def observation_start(self, value: str) -> None:
16714
- ...
16715
-
16716
- @property
16717
- def observation_end(self) -> str:
16718
- ...
16719
-
16720
- @observation_end.setter
16721
- def observation_end(self, value: str) -> None:
16722
- ...
16723
-
16724
- @property
16725
- def units(self) -> str:
16726
- ...
16727
-
16728
- @units.setter
16729
- def units(self, value: str) -> None:
16730
- ...
16731
-
16732
- @property
16733
- def output_type(self) -> int:
16734
- ...
16735
-
16736
- @output_type.setter
16737
- def output_type(self, value: int) -> None:
16738
- ...
16739
-
16740
- @property
16741
- def file_type(self) -> str:
16742
- ...
16743
-
16744
- @file_type.setter
16745
- def file_type(self, value: str) -> None:
16746
- ...
16747
-
16748
- @property
16749
- def order_by(self) -> str:
16750
- ...
16751
-
16752
- @order_by.setter
16753
- def order_by(self, value: str) -> None:
16754
- ...
16755
-
16756
- @property
16757
- def sort_order(self) -> str:
16758
- ...
16759
-
16760
- @sort_order.setter
16761
- def sort_order(self, value: str) -> None:
16762
- ...
16763
-
16764
- @property
16765
- def count(self) -> int:
16766
- ...
16767
-
16768
- @count.setter
16769
- def count(self, value: int) -> None:
16770
- ...
16771
-
16772
- @property
16773
- def offset(self) -> int:
16774
- ...
16775
-
16776
- @offset.setter
16777
- def offset(self, value: int) -> None:
16778
- ...
16779
-
16780
- @property
16781
- def limit(self) -> int:
16782
- ...
16783
-
16784
- @limit.setter
16785
- def limit(self, value: int) -> None:
16786
- ...
16787
-
16788
- @property
16789
- def observations(self) -> typing.List[QuantConnect.DataSource.FredApi.Observation]:
16790
- ...
16791
-
16792
- @observations.setter
16793
- def observations(self, value: typing.List[QuantConnect.DataSource.FredApi.Observation]) -> None:
16794
- ...
16795
-
16796
- auth_code: str
16797
- """Gets the FRED API token."""
16798
-
16799
- is_auth_code_set: bool
16800
- """Returns true if the FRED API token has been set."""
16801
-
16802
- def get_source(self, config: QuantConnect.Data.SubscriptionDataConfig, date: datetime.datetime, is_live_mode: bool) -> QuantConnect.Data.SubscriptionDataSource:
16803
- """
16804
- Return the URL string source of the file. This will be converted to a stream
16805
-
16806
- :param config: Configuration object
16807
- :param date: Date of this source file
16808
- :param is_live_mode: true if we're in live mode, false for backtesting mode
16809
- :returns: String URL of source file.
16810
- """
16811
- ...
16812
-
16813
- def reader(self, config: QuantConnect.Data.SubscriptionDataConfig, content: str, date: datetime.datetime, is_live_mode: bool) -> QuantConnect.Data.BaseData:
16814
- """
16815
- Readers the specified configuration.
16816
-
16817
- :param config: The configuration.
16818
- :param content: The content.
16819
- :param date: The date.
16820
- :param is_live_mode: if set to true <is live mode>.
16821
- """
16822
- ...
16823
-
16824
- @staticmethod
16825
- def set_auth_code(auth_code: str) -> None:
16826
- """
16827
- Sets the EIA API token.
16828
-
16829
- :param auth_code: The EIA API token
16830
- """
16831
- ...
16832
-
16833
-
16834
16651
  class CBOE(QuantConnect.Data.Market.TradeBar):
16835
16652
  """CBOE data source"""
16836
16653
 
@@ -12,25 +12,89 @@ class Base64(System.Object):
12
12
  """This class has no documentation."""
13
13
 
14
14
  @staticmethod
15
+ @overload
16
+ def decode_from_chars(source: System.ReadOnlySpan[str], destination: System.Span[int], chars_consumed: typing.Optional[int], bytes_written: typing.Optional[int], is_final_block: bool = True) -> typing.Tuple[System.Buffers.OperationStatus, int, int]:
17
+ ...
18
+
19
+ @staticmethod
20
+ @overload
21
+ def decode_from_chars(source: System.ReadOnlySpan[str], destination: System.Span[int]) -> int:
22
+ ...
23
+
24
+ @staticmethod
25
+ @overload
26
+ def decode_from_chars(source: System.ReadOnlySpan[str]) -> typing.List[int]:
27
+ ...
28
+
29
+ @staticmethod
30
+ @overload
15
31
  def decode_from_utf_8(utf_8: System.ReadOnlySpan[int], bytes: System.Span[int], bytes_consumed: typing.Optional[int], bytes_written: typing.Optional[int], is_final_block: bool = True) -> typing.Tuple[System.Buffers.OperationStatus, int, int]:
16
32
  ...
17
33
 
34
+ @staticmethod
35
+ @overload
36
+ def decode_from_utf_8(source: System.ReadOnlySpan[int], destination: System.Span[int]) -> int:
37
+ ...
38
+
39
+ @staticmethod
40
+ @overload
41
+ def decode_from_utf_8(source: System.ReadOnlySpan[int]) -> typing.List[int]:
42
+ ...
43
+
18
44
  @staticmethod
19
45
  def decode_from_utf_8_in_place(buffer: System.Span[int], bytes_written: typing.Optional[int]) -> typing.Tuple[System.Buffers.OperationStatus, int]:
20
46
  ...
21
47
 
22
48
  @staticmethod
49
+ @overload
50
+ def encode_to_chars(source: System.ReadOnlySpan[int], destination: System.Span[str], bytes_consumed: typing.Optional[int], chars_written: typing.Optional[int], is_final_block: bool = True) -> typing.Tuple[System.Buffers.OperationStatus, int, int]:
51
+ ...
52
+
53
+ @staticmethod
54
+ @overload
55
+ def encode_to_chars(source: System.ReadOnlySpan[int], destination: System.Span[str]) -> int:
56
+ ...
57
+
58
+ @staticmethod
59
+ @overload
60
+ def encode_to_chars(source: System.ReadOnlySpan[int]) -> typing.List[str]:
61
+ ...
62
+
63
+ @staticmethod
64
+ def encode_to_string(source: System.ReadOnlySpan[int]) -> str:
65
+ ...
66
+
67
+ @staticmethod
68
+ @overload
23
69
  def encode_to_utf_8(bytes: System.ReadOnlySpan[int], utf_8: System.Span[int], bytes_consumed: typing.Optional[int], bytes_written: typing.Optional[int], is_final_block: bool = True) -> typing.Tuple[System.Buffers.OperationStatus, int, int]:
24
70
  ...
25
71
 
72
+ @staticmethod
73
+ @overload
74
+ def encode_to_utf_8(source: System.ReadOnlySpan[int], destination: System.Span[int]) -> int:
75
+ ...
76
+
77
+ @staticmethod
78
+ @overload
79
+ def encode_to_utf_8(source: System.ReadOnlySpan[int]) -> typing.List[int]:
80
+ ...
81
+
26
82
  @staticmethod
27
83
  def encode_to_utf_8_in_place(buffer: System.Span[int], data_length: int, bytes_written: typing.Optional[int]) -> typing.Tuple[System.Buffers.OperationStatus, int]:
28
84
  ...
29
85
 
86
+ @staticmethod
87
+ def get_encoded_length(bytes_length: int) -> int:
88
+ ...
89
+
30
90
  @staticmethod
31
91
  def get_max_decoded_from_utf_8_length(length: int) -> int:
32
92
  ...
33
93
 
94
+ @staticmethod
95
+ def get_max_decoded_length(base_64_length: int) -> int:
96
+ ...
97
+
34
98
  @staticmethod
35
99
  def get_max_encoded_to_utf_8_length(length: int) -> int:
36
100
  ...
@@ -55,6 +119,26 @@ class Base64(System.Object):
55
119
  def is_valid(base_64_text_utf_8: System.ReadOnlySpan[int], decoded_length: typing.Optional[int]) -> typing.Tuple[bool, int]:
56
120
  ...
57
121
 
122
+ @staticmethod
123
+ def try_decode_from_chars(source: System.ReadOnlySpan[str], destination: System.Span[int], bytes_written: typing.Optional[int]) -> typing.Tuple[bool, int]:
124
+ ...
125
+
126
+ @staticmethod
127
+ def try_decode_from_utf_8(source: System.ReadOnlySpan[int], destination: System.Span[int], bytes_written: typing.Optional[int]) -> typing.Tuple[bool, int]:
128
+ ...
129
+
130
+ @staticmethod
131
+ def try_encode_to_chars(source: System.ReadOnlySpan[int], destination: System.Span[str], chars_written: typing.Optional[int]) -> typing.Tuple[bool, int]:
132
+ ...
133
+
134
+ @staticmethod
135
+ def try_encode_to_utf_8(source: System.ReadOnlySpan[int], destination: System.Span[int], bytes_written: typing.Optional[int]) -> typing.Tuple[bool, int]:
136
+ ...
137
+
138
+ @staticmethod
139
+ def try_encode_to_utf_8_in_place(buffer: System.Span[int], data_length: int, bytes_written: typing.Optional[int]) -> typing.Tuple[bool, int]:
140
+ ...
141
+
58
142
 
59
143
  class Base64Url(System.Object):
60
144
  """This class has no documentation."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantconnect-stubs
3
- Version: 17488
3
+ Version: 17490
4
4
  Summary: Type stubs for QuantConnect's Lean
5
5
  Home-page: https://github.com/QuantConnect/quantconnect-stubs-generator
6
6
  Author: QuantConnect
@@ -105,7 +105,7 @@ QuantConnect/Data/Shortable/__init__.pyi,sha256=3BFyzy1LZMeAnqfLjeruF5Tb5Ir0k_FG
105
105
  QuantConnect/Data/UniverseSelection/__init__.py,sha256=1nYsuv9pAXd26biwf66HITQ5IM4Ge6p0k6bEgSDTsXk,1262
106
106
  QuantConnect/Data/UniverseSelection/__init__.pyi,sha256=g3sIFYzKO9asMuAVqzHqsymPWr44dM7BAGR4JG6TeCY,114208
107
107
  QuantConnect/DataSource/__init__.py,sha256=XhzMxvu4vYUEBXNYCxWesFoxDgdR2QsqGq_WT7OHjhY,1226
108
- QuantConnect/DataSource/__init__.pyi,sha256=m9ISuYwj4TFfEO5DYdA3-Jo7gQ2y0xsjxXCylRE7RqY,813937
108
+ QuantConnect/DataSource/__init__.pyi,sha256=Vs9SdKM6AXxOtzGqYJwyzPnlBA4uOBJNzvyaoVH6sYg,809821
109
109
  QuantConnect/DownloaderDataProvider/__init__.py,sha256=rMgch8Yi5NmCyai5eMhJl4f3OmqeJ4w5H7Ii5pzMyp4,1262
110
110
  QuantConnect/DownloaderDataProvider/Launcher/__init__.py,sha256=OOFCYmObcWKnx2yG70DyKat-svQddrX8xNbS1ptEzYY,1289
111
111
  QuantConnect/DownloaderDataProvider/Launcher/__init__.pyi,sha256=Li4CAJgjiEYy0BG09zpZ5hR9UvXr5Crw6gQD1xn5dj4,2276
@@ -248,7 +248,7 @@ System/Buffers/__init__.pyi,sha256=ng89Y2uVRFHl_oTJ4z4OoNsq1JdokIyayT9RZO0QKAE,5
248
248
  System/Buffers/Binary/__init__.py,sha256=B1m_zPfNABaCUMzmkuulpd_vp4f9U6u6824gy0HpaU0,1214
249
249
  System/Buffers/Binary/__init__.pyi,sha256=0X3wh4R3nTb4RXejfqWQykI7qvqjfoLenDrfujdTnzY,16484
250
250
  System/Buffers/Text/__init__.py,sha256=4Ikrl1NOYdCFTkkWxk7-gURhbOXCXlqBqMoTGoNJcKM,1208
251
- System/Buffers/Text/__init__.pyi,sha256=VsBUUbDnq0_qR0xRxRhh3u5mDW4yedICLvTCcoy8EBY,9667
251
+ System/Buffers/Text/__init__.pyi,sha256=s_gYsSRtteNGrU9lDN3M9fn1YHxo88pp2SZPGE0xN2U,12574
252
252
  System/CodeDom/__init__.py,sha256=hgw6Sh2maQ9WHzo9fapbJLaj2Xtf0uvQFgByR5oCOoE,1193
253
253
  System/CodeDom/Compiler/__init__.py,sha256=lK7n9FC1tzJYmeTnI1Ka2fbCo9EhGFuZjPQIUybvPJY,1220
254
254
  System/CodeDom/Compiler/__init__.pyi,sha256=n85LaJ1KoL9cYcFHId3h4dFfwdrnTw1kVS5UCLkyr9s,5569
@@ -402,7 +402,7 @@ clr/__init__.pyi,sha256=21MB2O5_ACzDS7l56ETyFFH9c0TOSGov39Xs1a1r6ik,418
402
402
  clr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
403
403
  exports/__init__.py,sha256=ioORXBph-UrMrE_0Rghav2MU6fWzjozXikRm9MmxAkw,1173
404
404
  exports/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
- quantconnect_stubs-17488.dist-info/METADATA,sha256=eTJEeMtsofzgUy04pvyZRkhvYPlCWX4A9jy832UjDE4,1504
406
- quantconnect_stubs-17488.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
- quantconnect_stubs-17488.dist-info/top_level.txt,sha256=-TybN6WLciSHclJ3a7i35Q5iL86nl5wAmrg1ghSzPvE,92
408
- quantconnect_stubs-17488.dist-info/RECORD,,
405
+ quantconnect_stubs-17490.dist-info/METADATA,sha256=7Q6PeZ1UIuGmIduqvfEo1e4PnTcti-BhLF32LE_b9z0,1504
406
+ quantconnect_stubs-17490.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
+ quantconnect_stubs-17490.dist-info/top_level.txt,sha256=-TybN6WLciSHclJ3a7i35Q5iL86nl5wAmrg1ghSzPvE,92
408
+ quantconnect_stubs-17490.dist-info/RECORD,,