quantplay 2.1.2__tar.gz → 2.1.4__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.2 → quantplay-2.1.4}/PKG-INFO +1 -1
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/kotak.py +3 -3
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils_v2/ConnectV2.py +1 -1
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay.egg-info/PKG-INFO +1 -1
- {quantplay-2.1.2 → quantplay-2.1.4}/setup.py +1 -1
- {quantplay-2.1.2 → quantplay-2.1.4}/README.md +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/pyproject.toml +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/aliceblue.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/angelone.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/auto_login/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/auto_login/aliceblue.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/breeze/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/breeze/breeze_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/broker_factory.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/dhan.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/finvasia_utils/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/five_paisa.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/flattrade.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/ft_utils/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/ft_utils/flattrade_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/ft_utils/ft_noren.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/generics/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/generics/broker.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/icici_direct.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/iifl_xts.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/jainam_xts.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/kite_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/kotak_utils/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/kotak_utils/kotak_ws.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/kotak_utils/kotak_ws_lib.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/motilal.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/noren.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/shoonya.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/uplink/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/uplink/uplink_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/upstox.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils/Connect.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils/Exception.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils_v2/InteractiveSocketClientV2.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/xts_utils_v2/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/broker/zerodha.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/core/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/core/strategy.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/exception/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/exception/exceptions.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/indicator/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/indicator/iv.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/broker.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/broker_response.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/generics.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/instrument_data.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/model/order_event.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/py.typed +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/strategy/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/strategy/iv_spike.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/strategy/obuy.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/caching.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/constant.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/exchange.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/number_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/pickle_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/utils/selenium_utils.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/wrapper/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/wrapper/aws/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/wrapper/aws/s3.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay/wrapper/redis.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay.egg-info/SOURCES.txt +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay.egg-info/dependency_links.txt +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay.egg-info/requires.txt +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/quantplay.egg-info/top_level.txt +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/setup.cfg +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/tests/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/tests/conftest.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/tests/wrapper/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/tests/wrapper/aws/__init__.py +0 -0
- {quantplay-2.1.2 → quantplay-2.1.4}/tests/wrapper/aws/s3_test.py +0 -0
|
@@ -290,7 +290,7 @@ class Kotak(Broker):
|
|
|
290
290
|
.then(pl.lit("CDS"))
|
|
291
291
|
.when(pl.col("exchange") == "bcs-fo")
|
|
292
292
|
.then(pl.lit("BCD"))
|
|
293
|
-
.when(pl.col("exchange") == "
|
|
293
|
+
.when(pl.col("exchange") == "mcx_fo")
|
|
294
294
|
.then(pl.lit("MCX"))
|
|
295
295
|
.otherwise(pl.col("exchange"))
|
|
296
296
|
.alias("exchange"),
|
|
@@ -315,7 +315,7 @@ class Kotak(Broker):
|
|
|
315
315
|
token_list = [self.token_converter(int(d["token"]), d["exchange"]) for d in data]
|
|
316
316
|
ltps: list[float] = self.ltp_from_tokens(token_list) # type:ignore
|
|
317
317
|
|
|
318
|
-
ltps = [float(a) for a in ltps]
|
|
318
|
+
ltps = [float(a) if a else None for a in ltps] # type:ignore
|
|
319
319
|
ltps = pl.Series("ltp", ltps, dtype=pl.Float64) # type:ignore
|
|
320
320
|
|
|
321
321
|
# Assign the Series to a new column in the DataFrame
|
|
@@ -371,7 +371,7 @@ class Kotak(Broker):
|
|
|
371
371
|
.then(pl.lit("CDS"))
|
|
372
372
|
.when(pl.col("exchange") == "bcs-fo")
|
|
373
373
|
.then(pl.lit("BCD"))
|
|
374
|
-
.when(pl.col("exchange")
|
|
374
|
+
.when(pl.col("exchange").is_in(["mcx", "mcx_fo"]))
|
|
375
375
|
.then(pl.lit("MCX"))
|
|
376
376
|
.otherwise(pl.col("exchange"))
|
|
377
377
|
.alias("exchange"),
|
|
@@ -129,7 +129,7 @@ class XTSConnectV2(XTSCommon):
|
|
|
129
129
|
"dealer.trades": "/orders/dealertradebook",
|
|
130
130
|
# Market API endpoints
|
|
131
131
|
"marketdata.prefix": "marketdata",
|
|
132
|
-
"market.login": "/
|
|
132
|
+
"market.login": "/marketdata/auth/login",
|
|
133
133
|
"market.logout": "/marketdata/auth/logout",
|
|
134
134
|
"market.config": "/marketdata/config/clientConfig",
|
|
135
135
|
"market.instruments.master": "/marketdata/instruments/master",
|
|
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.2 → quantplay-2.1.4}/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
|