quantconnect-stubs 17486__py3-none-any.whl → 17488__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/Data/Market/__init__.pyi +5 -0
- QuantConnect/Packets/__init__.pyi +11 -20
- QuantConnect/Statistics/__init__.pyi +14 -3
- QuantConnect/__init__.pyi +11 -1
- {quantconnect_stubs-17486.dist-info → quantconnect_stubs-17488.dist-info}/METADATA +1 -1
- {quantconnect_stubs-17486.dist-info → quantconnect_stubs-17488.dist-info}/RECORD +8 -8
- {quantconnect_stubs-17486.dist-info → quantconnect_stubs-17488.dist-info}/WHEEL +0 -0
- {quantconnect_stubs-17486.dist-info → quantconnect_stubs-17488.dist-info}/top_level.txt +0 -0
|
@@ -2637,6 +2637,11 @@ class SessionBar(QuantConnect.Data.Market.TradeBar):
|
|
|
2637
2637
|
"""Closing price of the TradeBar. Defined as the price at Start Time + TimeSpan."""
|
|
2638
2638
|
...
|
|
2639
2639
|
|
|
2640
|
+
@property
|
|
2641
|
+
def end_time(self) -> datetime.datetime:
|
|
2642
|
+
"""The closing time of this bar, computed via the Time and Period"""
|
|
2643
|
+
...
|
|
2644
|
+
|
|
2640
2645
|
@property
|
|
2641
2646
|
def period(self) -> datetime.timedelta:
|
|
2642
2647
|
"""The period of this session bar"""
|
|
@@ -90,7 +90,16 @@ class BaseResultParameters(System.Object):
|
|
|
90
90
|
def algorithm_configuration(self, value: QuantConnect.AlgorithmConfiguration) -> None:
|
|
91
91
|
...
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
@property
|
|
94
|
+
def total_performance(self) -> QuantConnect.Statistics.AlgorithmPerformance:
|
|
95
|
+
"""Rolling window detailed statistics."""
|
|
96
|
+
...
|
|
97
|
+
|
|
98
|
+
@total_performance.setter
|
|
99
|
+
def total_performance(self, value: QuantConnect.Statistics.AlgorithmPerformance) -> None:
|
|
100
|
+
...
|
|
101
|
+
|
|
102
|
+
def __init__(self, charts: System.Collections.Generic.IDictionary[str, QuantConnect.Chart], orders: System.Collections.Generic.IDictionary[int, QuantConnect.Orders.Order], profit_loss: System.Collections.Generic.IDictionary[datetime.datetime, float], statistics: System.Collections.Generic.IDictionary[str, str], runtime_statistics: System.Collections.Generic.IDictionary[str, str], order_events: typing.List[QuantConnect.Orders.OrderEvent], total_performance: QuantConnect.Statistics.AlgorithmPerformance = None, algorithm_configuration: QuantConnect.AlgorithmConfiguration = None, state: System.Collections.Generic.IDictionary[str, str] = None) -> None:
|
|
94
103
|
"""Creates a new instance"""
|
|
95
104
|
...
|
|
96
105
|
|
|
@@ -107,15 +116,6 @@ class BacktestResultParameters(QuantConnect.Packets.BaseResultParameters):
|
|
|
107
116
|
def rolling_window(self, value: System.Collections.Generic.Dictionary[str, QuantConnect.Statistics.AlgorithmPerformance]) -> None:
|
|
108
117
|
...
|
|
109
118
|
|
|
110
|
-
@property
|
|
111
|
-
def total_performance(self) -> QuantConnect.Statistics.AlgorithmPerformance:
|
|
112
|
-
"""Rolling window detailed statistics."""
|
|
113
|
-
...
|
|
114
|
-
|
|
115
|
-
@total_performance.setter
|
|
116
|
-
def total_performance(self, value: QuantConnect.Statistics.AlgorithmPerformance) -> None:
|
|
117
|
-
...
|
|
118
|
-
|
|
119
119
|
def __init__(self, charts: System.Collections.Generic.IDictionary[str, QuantConnect.Chart], orders: System.Collections.Generic.IDictionary[int, QuantConnect.Orders.Order], profit_loss: System.Collections.Generic.IDictionary[datetime.datetime, float], statistics: System.Collections.Generic.IDictionary[str, str], runtime_statistics: System.Collections.Generic.IDictionary[str, str], rolling_window: System.Collections.Generic.Dictionary[str, QuantConnect.Statistics.AlgorithmPerformance], order_events: typing.List[QuantConnect.Orders.OrderEvent], total_performance: QuantConnect.Statistics.AlgorithmPerformance = None, algorithm_configuration: QuantConnect.AlgorithmConfiguration = None, state: System.Collections.Generic.IDictionary[str, str] = None) -> None:
|
|
120
120
|
"""Creates a new instance"""
|
|
121
121
|
...
|
|
@@ -1223,15 +1223,6 @@ class BacktestResult(QuantConnect.Result):
|
|
|
1223
1223
|
def rolling_window(self, value: System.Collections.Generic.Dictionary[str, QuantConnect.Statistics.AlgorithmPerformance]) -> None:
|
|
1224
1224
|
...
|
|
1225
1225
|
|
|
1226
|
-
@property
|
|
1227
|
-
def total_performance(self) -> QuantConnect.Statistics.AlgorithmPerformance:
|
|
1228
|
-
"""Rolling window detailed statistics."""
|
|
1229
|
-
...
|
|
1230
|
-
|
|
1231
|
-
@total_performance.setter
|
|
1232
|
-
def total_performance(self, value: QuantConnect.Statistics.AlgorithmPerformance) -> None:
|
|
1233
|
-
...
|
|
1234
|
-
|
|
1235
1226
|
@overload
|
|
1236
1227
|
def __init__(self) -> None:
|
|
1237
1228
|
"""Default Constructor"""
|
|
@@ -1445,7 +1436,7 @@ class LiveResultParameters(QuantConnect.Packets.BaseResultParameters):
|
|
|
1445
1436
|
def server_statistics(self, value: System.Collections.Generic.IDictionary[str, str]) -> None:
|
|
1446
1437
|
...
|
|
1447
1438
|
|
|
1448
|
-
def __init__(self, charts: System.Collections.Generic.IDictionary[str, QuantConnect.Chart], orders: System.Collections.Generic.IDictionary[int, QuantConnect.Orders.Order], profit_loss: System.Collections.Generic.IDictionary[datetime.datetime, float], holdings: System.Collections.Generic.IDictionary[str, QuantConnect.Holding], cash_book: QuantConnect.Securities.CashBook, statistics: System.Collections.Generic.IDictionary[str, str], runtime_statistics: System.Collections.Generic.IDictionary[str, str], order_events: typing.List[QuantConnect.Orders.OrderEvent], server_statistics: System.Collections.Generic.IDictionary[str, str] = None, algorithm_configuration: QuantConnect.AlgorithmConfiguration = None, state: System.Collections.Generic.IDictionary[str, str] = None) -> None:
|
|
1439
|
+
def __init__(self, charts: System.Collections.Generic.IDictionary[str, QuantConnect.Chart], orders: System.Collections.Generic.IDictionary[int, QuantConnect.Orders.Order], profit_loss: System.Collections.Generic.IDictionary[datetime.datetime, float], holdings: System.Collections.Generic.IDictionary[str, QuantConnect.Holding], cash_book: QuantConnect.Securities.CashBook, statistics: System.Collections.Generic.IDictionary[str, str], runtime_statistics: System.Collections.Generic.IDictionary[str, str], order_events: typing.List[QuantConnect.Orders.OrderEvent], total_performance: QuantConnect.Statistics.AlgorithmPerformance = None, server_statistics: System.Collections.Generic.IDictionary[str, str] = None, algorithm_configuration: QuantConnect.AlgorithmConfiguration = None, state: System.Collections.Generic.IDictionary[str, str] = None) -> None:
|
|
1449
1440
|
"""Creates a new instance"""
|
|
1450
1441
|
...
|
|
1451
1442
|
|
|
@@ -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.Data
|
|
@@ -30,11 +31,21 @@ class Trade(System.Object):
|
|
|
30
31
|
|
|
31
32
|
@property
|
|
32
33
|
def symbol(self) -> QuantConnect.Symbol:
|
|
33
|
-
"""
|
|
34
|
+
"""
|
|
35
|
+
The symbol of the traded instrument
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Use Symbols property instead
|
|
39
|
+
"""
|
|
40
|
+
warnings.warn("Use Symbols property instead", DeprecationWarning)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def symbols(self) -> typing.List[QuantConnect.Symbol]:
|
|
44
|
+
"""The symbol associated to the traded instruments"""
|
|
34
45
|
...
|
|
35
46
|
|
|
36
|
-
@
|
|
37
|
-
def
|
|
47
|
+
@symbols.setter
|
|
48
|
+
def symbols(self, value: typing.List[QuantConnect.Symbol]) -> None:
|
|
38
49
|
...
|
|
39
50
|
|
|
40
51
|
@property
|
QuantConnect/__init__.pyi
CHANGED
|
@@ -25,6 +25,7 @@ import QuantConnect.Scheduling
|
|
|
25
25
|
import QuantConnect.Securities
|
|
26
26
|
import QuantConnect.Securities.Option
|
|
27
27
|
import QuantConnect.Securities.Positions
|
|
28
|
+
import QuantConnect.Statistics
|
|
28
29
|
import QuantConnect.Util
|
|
29
30
|
import System
|
|
30
31
|
import System.Collections
|
|
@@ -6001,6 +6002,15 @@ class Result(System.Object):
|
|
|
6001
6002
|
def algorithm_configuration(self, value: QuantConnect.AlgorithmConfiguration) -> None:
|
|
6002
6003
|
...
|
|
6003
6004
|
|
|
6005
|
+
@property
|
|
6006
|
+
def total_performance(self) -> QuantConnect.Statistics.AlgorithmPerformance:
|
|
6007
|
+
"""Rolling window detailed statistics."""
|
|
6008
|
+
...
|
|
6009
|
+
|
|
6010
|
+
@total_performance.setter
|
|
6011
|
+
def total_performance(self, value: QuantConnect.Statistics.AlgorithmPerformance) -> None:
|
|
6012
|
+
...
|
|
6013
|
+
|
|
6004
6014
|
@overload
|
|
6005
6015
|
def __init__(self) -> None:
|
|
6006
6016
|
"""Creates new empty instance"""
|
|
@@ -7854,7 +7864,7 @@ class Extensions(System.Object):
|
|
|
7854
7864
|
:param profit_loss: The profit-loss for the closed trade
|
|
7855
7865
|
:returns: Whether the trade is a win.
|
|
7856
7866
|
For options assignments this depends on whether the option is ITM or OTM and the position side.
|
|
7857
|
-
See Trade.
|
|
7867
|
+
See Trade.is_win for more information.
|
|
7858
7868
|
"""
|
|
7859
7869
|
...
|
|
7860
7870
|
|
|
@@ -27,7 +27,7 @@ Microsoft/Win32/__init__.py,sha256=8X_8pQHcKAumodSYajDoAQOJpdq8N0ETUtbLbQLLte4,1
|
|
|
27
27
|
Microsoft/Win32/SafeHandles/__init__.py,sha256=C8zIF49CXwkenDpzBvYsqmUB0MS0fNa264YZHmInHJc,1235
|
|
28
28
|
Microsoft/Win32/SafeHandles/__init__.pyi,sha256=U9EUVE4_EZF8FAUfMb5bh-UQnj6SkmDnfZtuRNKQP-s,2065
|
|
29
29
|
QuantConnect/__init__.py,sha256=midIrNbX2TrTKCS981vuDbV9yxeoQH-q0XiO0-If0M8,1200
|
|
30
|
-
QuantConnect/__init__.pyi,sha256=
|
|
30
|
+
QuantConnect/__init__.pyi,sha256=veQZd4k1U5JzWidQYUxYh2zsKdCP1qfPfNyiDNaa_cA,433858
|
|
31
31
|
QuantConnect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
32
|
QuantConnect/Algorithm/__init__.py,sha256=Djvj5MZNx_nHNC9op6yKxB4fdq4ko0xkYM7RNItdbW8,1223
|
|
33
33
|
QuantConnect/Algorithm/__init__.pyi,sha256=yHJe9aYxmIXO4_7Oa2LJIQRE2RCvr5oSDpEkToOE0KM,451843
|
|
@@ -99,7 +99,7 @@ QuantConnect/Data/Custom/Tiingo/__init__.pyi,sha256=nZexR1qbMsrin2IZZ4Xl5ZI3w3GP
|
|
|
99
99
|
QuantConnect/Data/Fundamental/__init__.py,sha256=AKQJihj00Ngf2epyI4UCwJoguFpFh5699o-9KbLM3Ac,1244
|
|
100
100
|
QuantConnect/Data/Fundamental/__init__.pyi,sha256=HsjCiBc98VJE0-xER3On0ddreEP1ceC8opEA7Q0yLoU,2392819
|
|
101
101
|
QuantConnect/Data/Market/__init__.py,sha256=yCdyZLA3KG1Nb5iCAoz-nTuO1at6oiGZCDZLNLmlf4Q,1229
|
|
102
|
-
QuantConnect/Data/Market/__init__.pyi,sha256=
|
|
102
|
+
QuantConnect/Data/Market/__init__.pyi,sha256=B7xaUEgqs75IrqhdXUVYwE6dc3PL6IELnVM7JD0puYs,110010
|
|
103
103
|
QuantConnect/Data/Shortable/__init__.py,sha256=WN4UtHdw5tBpEIq8C60NJHVrNvksqTZ5UV_DpasTmY8,1238
|
|
104
104
|
QuantConnect/Data/Shortable/__init__.pyi,sha256=3BFyzy1LZMeAnqfLjeruF5Tb5Ir0k_FG8rGABOfbc9U,6313
|
|
105
105
|
QuantConnect/Data/UniverseSelection/__init__.py,sha256=1nYsuv9pAXd26biwf66HITQ5IM4Ge6p0k6bEgSDTsXk,1262
|
|
@@ -183,7 +183,7 @@ QuantConnect/Orders/Slippage/__init__.pyi,sha256=pWiiU_kR22IM6f5jYppw-T7NWE0M4CQ
|
|
|
183
183
|
QuantConnect/Orders/TimeInForces/__init__.py,sha256=TM8nTD0sMXVh9Tks8dO3nZgd93jPolbmfdSFFsHSMwc,1253
|
|
184
184
|
QuantConnect/Orders/TimeInForces/__init__.pyi,sha256=mCf8e_vVWURxeA4wRg9ZoLxZIjEB5SYQdz_Y-taBakQ,3679
|
|
185
185
|
QuantConnect/Packets/__init__.py,sha256=QvHjrYtpyNW14jwBeSehEmVphhOML7ZP2xsaJWKaBus,1217
|
|
186
|
-
QuantConnect/Packets/__init__.pyi,sha256=
|
|
186
|
+
QuantConnect/Packets/__init__.pyi,sha256=g86SPIPDFQb1si0TYlCCpaTF_CRwAVu0AnV3Bghgqqc,63655
|
|
187
187
|
QuantConnect/Parameters/__init__.py,sha256=czPdNEQH6rsGepVhM2Vdg9JuSiFszXK2cC9xYiRhIcc,1226
|
|
188
188
|
QuantConnect/Parameters/__init__.pyi,sha256=IqlDu0SVPW9Ob9RSXO1IeGlOj_PpE49-9i8UvChs8zg,2148
|
|
189
189
|
QuantConnect/Python/__init__.py,sha256=HThD0d39AUVS3ad5j5sEqlC4_iJKVjPVaCQ3ZGS4di8,1214
|
|
@@ -233,7 +233,7 @@ QuantConnect/Securities/Positions/__init__.pyi,sha256=igvxynti8nMMVgZYUZERy6idoE
|
|
|
233
233
|
QuantConnect/Securities/Volatility/__init__.py,sha256=AJbGQfCS3nkLBHv6dCAa_eBCSrbtXpNU6k3snhrGliE,1259
|
|
234
234
|
QuantConnect/Securities/Volatility/__init__.pyi,sha256=6oOTeZ7Vd8SbMRDLfolBZSI2r-rjIavYv67lrmFMADo,6736
|
|
235
235
|
QuantConnect/Statistics/__init__.py,sha256=mU8jhN2i3yAmCCCSfZI5bTVs-PdOllMXiUPRltIdJYI,1226
|
|
236
|
-
QuantConnect/Statistics/__init__.pyi,sha256=
|
|
236
|
+
QuantConnect/Statistics/__init__.pyi,sha256=mpB_sRkcfjFnBY4PGciWf5iTKrnowdTh6xM1eI6JU1k,46288
|
|
237
237
|
QuantConnect/Storage/__init__.py,sha256=ycFDXSbQIVczsqFPWM0GNZuvxG28tiNFKRfOnHlmZDs,1217
|
|
238
238
|
QuantConnect/Storage/__init__.pyi,sha256=tsNL_DaG1r81-9r1rq_k79GhvfpOfMXzGG6K65YHcQM,6891
|
|
239
239
|
QuantConnect/Util/__init__.py,sha256=FVfQYsRSqnOqvSsSdFd-oZ9PZqDVtIB-FUQ8hyfCXSE,1208
|
|
@@ -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-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,,
|
|
File without changes
|
|
File without changes
|