quantconnect-stubs 17419__py3-none-any.whl → 17420__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.
- QuantConnect/Brokerages/Authentication/__init__.pyi +0 -9
- QuantConnect/Brokerages/__init__.pyi +37 -1
- {quantconnect_stubs-17419.dist-info → quantconnect_stubs-17420.dist-info}/METADATA +1 -1
- {quantconnect_stubs-17419.dist-info → quantconnect_stubs-17420.dist-info}/RECORD +6 -6
- {quantconnect_stubs-17419.dist-info → quantconnect_stubs-17420.dist-info}/WHEEL +0 -0
- {quantconnect_stubs-17419.dist-info → quantconnect_stubs-17420.dist-info}/top_level.txt +0 -0
|
@@ -165,15 +165,6 @@ class OAuthTokenHandler(typing.Generic[QuantConnect_Brokerages_Authentication_OA
|
|
|
165
165
|
"""
|
|
166
166
|
...
|
|
167
167
|
|
|
168
|
-
def dispose(self, disposing: bool) -> None:
|
|
169
|
-
"""
|
|
170
|
-
Disposes of resources
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
This codeEntityType is protected.
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
168
|
def get_access_token(self, cancellation_token: System.Threading.CancellationToken) -> QuantConnect.Brokerages.Authentication.TokenCredentials:
|
|
178
169
|
"""
|
|
179
170
|
Retrieves a valid access token from the Lean platform.
|
|
@@ -3,6 +3,7 @@ from enum import IntEnum
|
|
|
3
3
|
import abc
|
|
4
4
|
import datetime
|
|
5
5
|
import typing
|
|
6
|
+
import warnings
|
|
6
7
|
|
|
7
8
|
import QuantConnect
|
|
8
9
|
import QuantConnect.Benchmarks
|
|
@@ -1761,11 +1762,27 @@ class BaseWebsocketsBrokerage(QuantConnect.Brokerages.Brokerage, metaclass=abc.A
|
|
|
1761
1762
|
|
|
1762
1763
|
|
|
1763
1764
|
This codeEntityType is protected.
|
|
1765
|
+
|
|
1766
|
+
RestClient is deprecated. Use HttpClient property instead
|
|
1764
1767
|
"""
|
|
1765
|
-
|
|
1768
|
+
warnings.warn("RestClient is deprecated. Use HttpClient property instead", DeprecationWarning)
|
|
1766
1769
|
|
|
1767
1770
|
@rest_client.setter
|
|
1768
1771
|
def rest_client(self, value: typing.Any) -> None:
|
|
1772
|
+
warnings.warn("RestClient is deprecated. Use HttpClient property instead", DeprecationWarning)
|
|
1773
|
+
|
|
1774
|
+
@property
|
|
1775
|
+
def http_client(self) -> typing.Any:
|
|
1776
|
+
"""
|
|
1777
|
+
The HTTP client instance
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
This codeEntityType is protected.
|
|
1781
|
+
"""
|
|
1782
|
+
...
|
|
1783
|
+
|
|
1784
|
+
@http_client.setter
|
|
1785
|
+
def http_client(self, value: typing.Any) -> None:
|
|
1769
1786
|
...
|
|
1770
1787
|
|
|
1771
1788
|
@property
|
|
@@ -1866,6 +1883,23 @@ class BaseWebsocketsBrokerage(QuantConnect.Brokerages.Brokerage, metaclass=abc.A
|
|
|
1866
1883
|
"""
|
|
1867
1884
|
...
|
|
1868
1885
|
|
|
1886
|
+
@overload
|
|
1887
|
+
def initialize(self, wss_url: str, websocket: QuantConnect.Brokerages.IWebSocket, http_client: typing.Any, api_key: str, api_secret: str) -> None:
|
|
1888
|
+
"""
|
|
1889
|
+
Initialize the instance of this class
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
This codeEntityType is protected.
|
|
1893
|
+
|
|
1894
|
+
:param wss_url: The web socket base url
|
|
1895
|
+
:param websocket: Instance of websockets client
|
|
1896
|
+
:param http_client: Instance of HTTP client
|
|
1897
|
+
:param api_key: Api key
|
|
1898
|
+
:param api_secret: Api secret
|
|
1899
|
+
"""
|
|
1900
|
+
...
|
|
1901
|
+
|
|
1902
|
+
@overload
|
|
1869
1903
|
def initialize(self, wss_url: str, websocket: QuantConnect.Brokerages.IWebSocket, rest_client: typing.Any, api_key: str, api_secret: str) -> None:
|
|
1870
1904
|
"""
|
|
1871
1905
|
Initialize the instance of this class
|
|
@@ -1873,6 +1907,8 @@ class BaseWebsocketsBrokerage(QuantConnect.Brokerages.Brokerage, metaclass=abc.A
|
|
|
1873
1907
|
|
|
1874
1908
|
This codeEntityType is protected.
|
|
1875
1909
|
|
|
1910
|
+
This Initialize method is deprecated. Use the overload that takes an HttpClient instance instead.
|
|
1911
|
+
|
|
1876
1912
|
:param wss_url: The web socket base url
|
|
1877
1913
|
:param websocket: instance of websockets client
|
|
1878
1914
|
:param rest_client: instance of rest client
|
|
@@ -63,9 +63,9 @@ QuantConnect/Api/Serialization/__init__.pyi,sha256=QazreRB94wRgy4QlYKWcInFeJ4b3N
|
|
|
63
63
|
QuantConnect/Benchmarks/__init__.py,sha256=R88R40175vAvKWO1FE5DBtSow5VJ53ElRMOVRBqhzuI,1226
|
|
64
64
|
QuantConnect/Benchmarks/__init__.pyi,sha256=S3-44iVW-mbeczSdZ8agEINZd8UAZaf3hnxP5U65KWM,3045
|
|
65
65
|
QuantConnect/Brokerages/__init__.py,sha256=KZQ1Lua5IgmaUv8xJ-styLeGrIR4hX1LiBiNasKdvYY,1226
|
|
66
|
-
QuantConnect/Brokerages/__init__.pyi,sha256=
|
|
66
|
+
QuantConnect/Brokerages/__init__.pyi,sha256=GWjSjr2NcganAmtlTtNfemUG3-727QfGHp7ilMzpKoo,176379
|
|
67
67
|
QuantConnect/Brokerages/Authentication/__init__.py,sha256=4QsOVrHtOapg0AWqnB8ub_6FkqXH_En8h7pDoywdcek,1271
|
|
68
|
-
QuantConnect/Brokerages/Authentication/__init__.pyi,sha256=
|
|
68
|
+
QuantConnect/Brokerages/Authentication/__init__.pyi,sha256=C5slVstsknd94OH1C1Tnxel-MeyiIvdZauJioY5bHZs,8628
|
|
69
69
|
QuantConnect/Brokerages/Backtesting/__init__.py,sha256=eey6rPGZqPTgs5OOlxJEUc-oLXtULP33yL6vmq43suM,1262
|
|
70
70
|
QuantConnect/Brokerages/Backtesting/__init__.pyi,sha256=SINYxE2YnG5tkSsF7NxQ7Ul_LsyF2FoGOQp6Dt5SDVk,5395
|
|
71
71
|
QuantConnect/Brokerages/CrossZero/__init__.py,sha256=3xxnGST0qYy7V8LtYWlfNNwen9FQfaAdWLGbL10-dUw,1256
|
|
@@ -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-
|
|
406
|
-
quantconnect_stubs-
|
|
407
|
-
quantconnect_stubs-
|
|
408
|
-
quantconnect_stubs-
|
|
405
|
+
quantconnect_stubs-17420.dist-info/METADATA,sha256=74bTP2Iwxdir856dqVhGzQ6_hplnu-EC1sT8P6ARiq8,1332
|
|
406
|
+
quantconnect_stubs-17420.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
407
|
+
quantconnect_stubs-17420.dist-info/top_level.txt,sha256=-TybN6WLciSHclJ3a7i35Q5iL86nl5wAmrg1ghSzPvE,92
|
|
408
|
+
quantconnect_stubs-17420.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|