quantplay 2.1.85__tar.gz → 2.1.87__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.
Files changed (86) hide show
  1. {quantplay-2.1.85 → quantplay-2.1.87}/PKG-INFO +2 -6
  2. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/generics/broker.py +1 -1
  3. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/jainam_xts.py +6 -6
  4. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils_v2/ConnectV2.py +1 -0
  5. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay.egg-info/PKG-INFO +2 -6
  6. {quantplay-2.1.85 → quantplay-2.1.87}/setup.py +1 -1
  7. {quantplay-2.1.85 → quantplay-2.1.87}/README.md +0 -0
  8. {quantplay-2.1.85 → quantplay-2.1.87}/pyproject.toml +0 -0
  9. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/__init__.py +0 -0
  10. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/__init__.py +0 -0
  11. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/aliceblue.py +0 -0
  12. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/angelone.py +0 -0
  13. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/angelone_utils/__init__.py +0 -0
  14. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/angelone_utils/angeloneWS.py +0 -0
  15. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/auto_login/__init__.py +0 -0
  16. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/auto_login/aliceblue.py +0 -0
  17. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/breeze/__init__.py +0 -0
  18. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/breeze/breeze_utils.py +0 -0
  19. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/broker_factory.py +0 -0
  20. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/dhan.py +0 -0
  21. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/finvasia_utils/__init__.py +0 -0
  22. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
  23. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/five_paisa.py +0 -0
  24. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/flattrade.py +0 -0
  25. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/ft_utils/__init__.py +0 -0
  26. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/ft_utils/flattrade_utils.py +0 -0
  27. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/ft_utils/ft_noren.py +0 -0
  28. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/generics/__init__.py +0 -0
  29. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/icici_direct.py +0 -0
  30. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/iifl_xts.py +0 -0
  31. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/kite_utils.py +0 -0
  32. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/kotak.py +0 -0
  33. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/kotak_utils/__init__.py +0 -0
  34. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/kotak_utils/kotak_ws.py +0 -0
  35. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/kotak_utils/kotak_ws_lib.py +0 -0
  36. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/motilal.py +0 -0
  37. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/noren.py +0 -0
  38. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/shoonya.py +0 -0
  39. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/uplink/__init__.py +0 -0
  40. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/uplink/uplink_utils.py +0 -0
  41. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/upstox.py +0 -0
  42. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts.py +0 -0
  43. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils/Connect.py +0 -0
  44. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils/Exception.py +0 -0
  45. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
  46. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils/__init__.py +0 -0
  47. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils_v2/InteractiveSocketClientV2.py +0 -0
  48. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/xts_utils_v2/__init__.py +0 -0
  49. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/broker/zerodha.py +0 -0
  50. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/core/__init__.py +0 -0
  51. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/core/strategy.py +0 -0
  52. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/exception/__init__.py +0 -0
  53. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/exception/exceptions.py +0 -0
  54. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/indicator/__init__.py +0 -0
  55. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/indicator/iv.py +0 -0
  56. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/__init__.py +0 -0
  57. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/broker.py +0 -0
  58. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/broker_response.py +0 -0
  59. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/generics.py +0 -0
  60. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/instrument_data.py +0 -0
  61. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/model/order_event.py +0 -0
  62. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/py.typed +0 -0
  63. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/strategy/__init__.py +0 -0
  64. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/strategy/iv_spike.py +0 -0
  65. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/strategy/obuy.py +0 -0
  66. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/__init__.py +0 -0
  67. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/caching.py +0 -0
  68. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/constant.py +0 -0
  69. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/exchange.py +0 -0
  70. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/number_utils.py +0 -0
  71. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/pickle_utils.py +0 -0
  72. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/utils/selenium_utils.py +0 -0
  73. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/wrapper/__init__.py +0 -0
  74. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/wrapper/aws/__init__.py +0 -0
  75. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/wrapper/aws/s3.py +0 -0
  76. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay/wrapper/redis.py +0 -0
  77. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay.egg-info/SOURCES.txt +0 -0
  78. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay.egg-info/dependency_links.txt +0 -0
  79. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay.egg-info/requires.txt +0 -0
  80. {quantplay-2.1.85 → quantplay-2.1.87}/quantplay.egg-info/top_level.txt +0 -0
  81. {quantplay-2.1.85 → quantplay-2.1.87}/setup.cfg +0 -0
  82. {quantplay-2.1.85 → quantplay-2.1.87}/tests/__init__.py +0 -0
  83. {quantplay-2.1.85 → quantplay-2.1.87}/tests/conftest.py +0 -0
  84. {quantplay-2.1.85 → quantplay-2.1.87}/tests/wrapper/__init__.py +0 -0
  85. {quantplay-2.1.85 → quantplay-2.1.87}/tests/wrapper/aws/__init__.py +0 -0
  86. {quantplay-2.1.85 → quantplay-2.1.87}/tests/wrapper/aws/s3_test.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: quantplay
3
- Version: 2.1.85
3
+ Version: 2.1.87
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
 
@@ -688,7 +688,7 @@ class Broker(ABC):
688
688
  elif underlying_symbol == "NIFTY":
689
689
  return {"max_lots": 24, "lot_size": 75, "strike_gap": 50}
690
690
  elif underlying_symbol == "MIDCPNIFTY":
691
- return {"max_lots": 56, "lot_size": 50, "strike_gap": 25}
691
+ return {"max_lots": 20, "lot_size": 140, "strike_gap": 25}
692
692
 
693
693
  raise Exception(f"Underlying {underlying_symbol} symbol not supported")
694
694
 
@@ -12,15 +12,15 @@ from quantplay.exception.exceptions import InvalidArgumentException, TokenExcept
12
12
 
13
13
 
14
14
  XTS_ROOT_URL_MAP = {
15
- "A": "http://ctrade.jainam.in:3000",
16
- "B": "https://smpc.jainam.in:14543",
17
- "TEMP": "http://ctrade.jainam.in:3001",
15
+ "A": "https://smpa.jainam.in:6543",
16
+ "B": "https://smpb.jainam.in:4143",
17
+ "C": "https://smpc.jainam.in:14543",
18
18
  }
19
19
 
20
20
  XTS_LOGIN_URL_MAP = {
21
- "http://ctrade.jainam.in:3000": "http://ctrade.jainam.in:4000",
21
+ "https://smpa.jainam.in:6543": "https://smpa.jainam.in:4000",
22
+ "https://smpb.jainam.in:4143": "https://smpa.jainam.in:4001",
22
23
  "https://smpc.jainam.in:14543": "https://smpc.jainam.in:4003",
23
- "http://ctrade.jainam.in:3001": "http://ctrade.jainam.in:4001",
24
24
  }
25
25
 
26
26
 
@@ -36,7 +36,7 @@ class Jainam(XTS):
36
36
  client_id: str | None = None,
37
37
  load_instrument: bool = True,
38
38
  is_dealer: bool = False,
39
- XTS_type: Literal["A", "B"] = "A",
39
+ XTS_type: Literal["A", "B", "C"] = "A",
40
40
  ) -> None:
41
41
  super().__init__(
42
42
  root_url=XTS_ROOT_URL_MAP[XTS_type],
@@ -242,6 +242,7 @@ class XTSConnectV2(XTSCommon):
242
242
  }
243
243
  response = self._post("host.user.session", params)
244
244
 
245
+ print(response)
245
246
  if "token" in response["result"]:
246
247
  self._set_common_variables(
247
248
  response["result"]["token"],
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: quantplay
3
- Version: 2.1.85
3
+ Version: 2.1.87
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
 
@@ -21,7 +21,7 @@ requirements = [
21
21
  setup(
22
22
  name="quantplay",
23
23
  long_description=Path("README.md").read_text(),
24
- version="2.1.85",
24
+ version="2.1.87",
25
25
  setup_requires=["pytest-runner"],
26
26
  install_requires=requirements,
27
27
  tests_require=[],
File without changes
File without changes
File without changes
File without changes
File without changes