quantplay 2.0.183__tar.gz → 2.0.185__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.183 → quantplay-2.0.185}/PKG-INFO +1 -1
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/kotak.py +17 -2
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay.egg-info/PKG-INFO +1 -1
- {quantplay-2.0.183 → quantplay-2.0.185}/setup.py +1 -1
- {quantplay-2.0.183 → quantplay-2.0.185}/README.md +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/pyproject.toml +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/aliceblue.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/angelone.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/auto_login/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/auto_login/aliceblue.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/breeze/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/breeze/breeze_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/broker_factory.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/dhan.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/finvasia_utils/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/five_paisa.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/flattrade.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/ft_utils/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/ft_utils/flattrade_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/ft_utils/ft_noren.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/generics/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/generics/broker.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/icici_direct.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/iifl_xts.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/jainam_xts.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/kite_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/kotak_utils/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/kotak_utils/kotak_ws.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/kotak_utils/kotak_ws_lib.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/motilal.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/noren.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/shoonya.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/uplink/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/uplink/uplink_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/upstox.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/xts.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/xts_utils/Connect.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/xts_utils/Exception.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/xts_utils/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/broker/zerodha.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/core/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/core/strategy.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/exception/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/exception/exceptions.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/indicator/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/indicator/iv.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/broker.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/broker_response.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/generics.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/instrument_data.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/model/order_event.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/py.typed +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/strategy/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/strategy/iv_spike.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/strategy/obuy.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/caching.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/constant.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/exchange.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/number_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/pickle_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/utils/selenium_utils.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/wrapper/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/wrapper/aws/s3.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay/wrapper/redis.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay.egg-info/SOURCES.txt +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay.egg-info/dependency_links.txt +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay.egg-info/requires.txt +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/quantplay.egg-info/top_level.txt +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/setup.cfg +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/tests/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/tests/conftest.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/tests/wrapper/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/tests/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.183 → quantplay-2.0.185}/tests/wrapper/aws/s3_test.py +0 -0
|
@@ -587,7 +587,14 @@ class Kotak(Broker):
|
|
|
587
587
|
return order_type_map.get(order_type, order_type) # type:ignore
|
|
588
588
|
|
|
589
589
|
def get_quantplay_order_status(self, status: str) -> OrderStatusType:
|
|
590
|
-
if status in [
|
|
590
|
+
if status in [
|
|
591
|
+
"put order req received",
|
|
592
|
+
"validation pending",
|
|
593
|
+
"open pending",
|
|
594
|
+
"modify pending",
|
|
595
|
+
"modify validation pending",
|
|
596
|
+
"modified"
|
|
597
|
+
]:
|
|
591
598
|
return "OPEN"
|
|
592
599
|
if status == "cancel pending":
|
|
593
600
|
return "CANCELLED"
|
|
@@ -771,6 +778,14 @@ class Kotak(Broker):
|
|
|
771
778
|
if data["type"] != "order":
|
|
772
779
|
return
|
|
773
780
|
order = data["data"]
|
|
781
|
+
if order["ordSt"] in [
|
|
782
|
+
"put order req received",
|
|
783
|
+
"validation pending",
|
|
784
|
+
"modify pending",
|
|
785
|
+
"modify validation pending",
|
|
786
|
+
"modified"
|
|
787
|
+
]:
|
|
788
|
+
return
|
|
774
789
|
|
|
775
790
|
quantplay_order: OrderUpdateEvent = {
|
|
776
791
|
"placed_by": self.user_id, # type:ignore
|
|
@@ -796,7 +811,7 @@ class Kotak(Broker):
|
|
|
796
811
|
quantplay_order["trigger_price"] = float(order["trgPrc"])
|
|
797
812
|
else:
|
|
798
813
|
quantplay_order["trigger_price"] = None
|
|
799
|
-
|
|
814
|
+
Constants.logger.info(f"Kotak event {quantplay_order}")
|
|
800
815
|
|
|
801
816
|
if self.order_updates:
|
|
802
817
|
self.order_updates.put(quantplay_order)
|
|
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.0.183 → quantplay-2.0.185}/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
|
|
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
|