quantplay 2.0.112__tar.gz → 2.0.113__tar.gz
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.
- {quantplay-2.0.112 → quantplay-2.0.113}/PKG-INFO +1 -1
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/angelone.py +3 -2
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/zerodha.py +3 -3
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay.egg-info/PKG-INFO +1 -1
- {quantplay-2.0.112 → quantplay-2.0.113}/setup.py +1 -1
- {quantplay-2.0.112 → quantplay-2.0.113}/README.md +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/pyproject.toml +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/aliceblue.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/auto_login/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/auto_login/aliceblue.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/broker_factory.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/dhan.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/finvasia_utils/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/five_paisa.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/flattrade.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/ft_utils/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/ft_utils/flattrade_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/ft_utils/ft_noren.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/generics/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/generics/broker.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/iifl_xts.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/jainam_xts.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/kite_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/kotak.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/motilal.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/noren.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/shoonya.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/uplink/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/uplink/uplink_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/upstox.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts_utils/Connect.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts_utils/Exception.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts_utils/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/exception/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/exception/exceptions.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/broker.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/broker_response.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/generics.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/instrument_data.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/model/order_event.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/py.typed +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/caching.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/constant.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/exchange.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/number_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/pickle_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/utils/selenium_utils.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/wrapper/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay/wrapper/aws/s3.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay.egg-info/SOURCES.txt +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay.egg-info/dependency_links.txt +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay.egg-info/requires.txt +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/quantplay.egg-info/top_level.txt +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/setup.cfg +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/tests/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/tests/conftest.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/tests/wrapper/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/tests/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.112 → quantplay-2.0.113}/tests/wrapper/aws/s3_test.py +0 -0
|
@@ -58,7 +58,7 @@ class AngelOne(Broker):
|
|
|
58
58
|
feed_token: str | None = None,
|
|
59
59
|
access_token: str | None = None,
|
|
60
60
|
load_instrument: bool = True,
|
|
61
|
-
):
|
|
61
|
+
) -> None:
|
|
62
62
|
super().__init__()
|
|
63
63
|
self.order_updates = order_updates
|
|
64
64
|
|
|
@@ -69,13 +69,14 @@ class AngelOne(Broker):
|
|
|
69
69
|
access_token=access_token,
|
|
70
70
|
refresh_token=refresh_token,
|
|
71
71
|
feed_token=feed_token,
|
|
72
|
+
timeout=30,
|
|
72
73
|
)
|
|
73
74
|
self.refresh_token = refresh_token
|
|
74
75
|
else:
|
|
75
76
|
if totp is None:
|
|
76
77
|
raise InvalidArgumentException("TOTP Key is Missing")
|
|
77
78
|
|
|
78
|
-
self.wrapper = SmartConnect(api_key=api_key)
|
|
79
|
+
self.wrapper = SmartConnect(api_key=api_key, timeout=30)
|
|
79
80
|
response = self.invoke_angelone_api(
|
|
80
81
|
self.wrapper.generateSession, # type: ignore
|
|
81
82
|
clientCode=user_id,
|
|
@@ -49,7 +49,7 @@ class Zerodha(Broker):
|
|
|
49
49
|
password: str | None = None,
|
|
50
50
|
totp: str | None = None,
|
|
51
51
|
load_instrument: bool = True,
|
|
52
|
-
):
|
|
52
|
+
) -> None:
|
|
53
53
|
super().__init__()
|
|
54
54
|
self.wrapper: KiteConnect
|
|
55
55
|
try:
|
|
@@ -67,7 +67,7 @@ class Zerodha(Broker):
|
|
|
67
67
|
self.initialize_symbol_data()
|
|
68
68
|
self.broker_symbol_map = {}
|
|
69
69
|
|
|
70
|
-
def set_wrapper(self, serialized_wrapper: str):
|
|
70
|
+
def set_wrapper(self, serialized_wrapper: str) -> None:
|
|
71
71
|
self.wrapper = pickle.loads(codecs.decode(serialized_wrapper.encode(), "base64"))
|
|
72
72
|
|
|
73
73
|
def initialize_symbol_data(self, save_as: str | None = None) -> None:
|
|
@@ -262,7 +262,7 @@ class Zerodha(Broker):
|
|
|
262
262
|
password: str,
|
|
263
263
|
totp: str,
|
|
264
264
|
):
|
|
265
|
-
kite = KiteConnect(api_key=api_key)
|
|
265
|
+
kite = KiteConnect(api_key=api_key, timeout=30)
|
|
266
266
|
|
|
267
267
|
try:
|
|
268
268
|
request_token = KiteUtils.get_request_token(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantplay-2.0.112 → quantplay-2.0.113}/quantplay/broker/xts_utils/InteractiveSocketClient.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|