quantplay 2.1.42__tar.gz → 2.1.45__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.1.42 → quantplay-2.1.45}/PKG-INFO +2 -6
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/ft_utils/flattrade_utils.py +12 -7
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/kite_utils.py +2 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay.egg-info/PKG-INFO +2 -6
- {quantplay-2.1.42 → quantplay-2.1.45}/setup.py +1 -1
- {quantplay-2.1.42 → quantplay-2.1.45}/README.md +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/pyproject.toml +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/aliceblue.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/angelone.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/auto_login/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/auto_login/aliceblue.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/breeze/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/breeze/breeze_utils.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/broker_factory.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/dhan.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/finvasia_utils/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/five_paisa.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/flattrade.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/ft_utils/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/ft_utils/ft_noren.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/generics/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/generics/broker.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/icici_direct.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/iifl_xts.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/jainam_xts.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/kotak.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/kotak_utils/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/kotak_utils/kotak_ws.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/kotak_utils/kotak_ws_lib.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/motilal.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/noren.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/shoonya.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/uplink/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/uplink/uplink_utils.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/upstox.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils/Connect.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils/Exception.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils_v2/ConnectV2.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils_v2/InteractiveSocketClientV2.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils_v2/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/broker/zerodha.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/core/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/core/strategy.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/exception/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/exception/exceptions.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/indicator/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/indicator/iv.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/broker.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/broker_response.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/generics.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/instrument_data.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/model/order_event.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/py.typed +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/strategy/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/strategy/iv_spike.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/strategy/obuy.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/caching.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/constant.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/exchange.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/number_utils.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/pickle_utils.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/utils/selenium_utils.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/wrapper/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/wrapper/aws/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/wrapper/aws/s3.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay/wrapper/redis.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay.egg-info/SOURCES.txt +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay.egg-info/dependency_links.txt +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay.egg-info/requires.txt +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/quantplay.egg-info/top_level.txt +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/setup.cfg +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/tests/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/tests/conftest.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/tests/wrapper/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/tests/wrapper/aws/__init__.py +0 -0
- {quantplay-2.1.42 → quantplay-2.1.45}/tests/wrapper/aws/s3_test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: quantplay
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.45
|
|
4
4
|
Summary: This python package will be stored in AWS CodeArtifact
|
|
5
5
|
Home-page:
|
|
6
6
|
Author:
|
|
@@ -36,10 +36,6 @@ Requires-Dist: python-engineio
|
|
|
36
36
|
Requires-Dist: python-socketio
|
|
37
37
|
Requires-Dist: six
|
|
38
38
|
Requires-Dist: dhanhq
|
|
39
|
-
Dynamic: description
|
|
40
|
-
Dynamic: license
|
|
41
|
-
Dynamic: requires-dist
|
|
42
|
-
Dynamic: summary
|
|
43
39
|
|
|
44
40
|
# Quantplay Alpha playground
|
|
45
41
|
|
|
@@ -56,8 +56,7 @@ class FlatTradeUtils:
|
|
|
56
56
|
login_attempt = driver.find_element("xpath", FlatTradeUtils.login_xpath)
|
|
57
57
|
login_attempt.click()
|
|
58
58
|
|
|
59
|
-
time.sleep(
|
|
60
|
-
|
|
59
|
+
time.sleep(10)
|
|
61
60
|
url = driver.current_url
|
|
62
61
|
|
|
63
62
|
if url.split("/")[2] == flattrade_url.split("/")[2]:
|
|
@@ -76,22 +75,28 @@ class FlatTradeUtils:
|
|
|
76
75
|
"user blocked due to multiple wrong attempts",
|
|
77
76
|
]:
|
|
78
77
|
raise InvalidArgumentException(
|
|
79
|
-
f"Flattrade Login Failed: {error_message}"
|
|
78
|
+
f"Flattrade Login Failed : {error_message}"
|
|
80
79
|
)
|
|
81
80
|
|
|
82
81
|
except Exception as e:
|
|
83
|
-
Constants.logger.info(f"Flattrade Error: {e}")
|
|
84
82
|
traceback.print_exc()
|
|
85
83
|
raise TokenException(str(e))
|
|
86
84
|
|
|
87
85
|
finally:
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
if error_message not in [
|
|
87
|
+
"Invalid Input : Wrong Password",
|
|
88
|
+
"RESETPASSWORD",
|
|
89
|
+
"Invalid API key",
|
|
90
|
+
"Invalid Input : User Blocked due to multiple wrong attempts",
|
|
91
|
+
]:
|
|
92
|
+
Constants.logger.info(f"Flattrade error : {error_message}")
|
|
93
|
+
|
|
94
|
+
raise TokenException(f"Flattrade error : {error_message}")
|
|
90
95
|
|
|
91
96
|
try:
|
|
92
97
|
request_token = url.split("code=")[1].split("&")[0]
|
|
93
98
|
except Exception as e:
|
|
94
|
-
Constants.logger.info(f"Flattrade
|
|
99
|
+
Constants.logger.info(f"Flattrade error for {url}")
|
|
95
100
|
traceback.print_exc()
|
|
96
101
|
raise TokenException(str(e))
|
|
97
102
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: quantplay
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.45
|
|
4
4
|
Summary: This python package will be stored in AWS CodeArtifact
|
|
5
5
|
Home-page:
|
|
6
6
|
Author:
|
|
@@ -36,10 +36,6 @@ Requires-Dist: python-engineio
|
|
|
36
36
|
Requires-Dist: python-socketio
|
|
37
37
|
Requires-Dist: six
|
|
38
38
|
Requires-Dist: dhanhq
|
|
39
|
-
Dynamic: description
|
|
40
|
-
Dynamic: license
|
|
41
|
-
Dynamic: requires-dist
|
|
42
|
-
Dynamic: summary
|
|
43
39
|
|
|
44
40
|
# Quantplay Alpha playground
|
|
45
41
|
|
|
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
|
|
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.1.42 → quantplay-2.1.45}/quantplay/broker/xts_utils_v2/InteractiveSocketClientV2.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
|
|
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
|