quantplay 2.0.18__tar.gz → 2.0.20__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.18 → quantplay-2.0.20}/PKG-INFO +1 -1
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/noren.py +12 -2
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay.egg-info/PKG-INFO +1 -1
- {quantplay-2.0.18 → quantplay-2.0.20}/setup.py +1 -1
- {quantplay-2.0.18 → quantplay-2.0.20}/README.md +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/pyproject.toml +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/aliceblue.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/angelone.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/auto_login/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/auto_login/aliceblue.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/finvasia_utils/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/finvasia_utils/fa_noren.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/five_paisa.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/flattrade.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/ft_utils/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/ft_utils/flattrade_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/ft_utils/ft_noren.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/generics/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/generics/broker.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/iifl_xts.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/kite_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/motilal.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/shoonya.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/uplink/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/uplink/uplink_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/upstox.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/xts.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/xts_utils/Connect.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/xts_utils/Exception.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/xts_utils/InteractiveSocketClient.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/xts_utils/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/broker/zerodha.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/exception/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/exception/exceptions.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/model/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/model/broker.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/model/generics.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/model/order_event.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/py.typed +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/equities/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/equities/intraday/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/equities/overnight/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/futures/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/futures/overnight/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/intraday/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/intraday/ladder.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/intraday/musk.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/intraday/short_straddle.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/constant.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/exchange.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/number_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/pickle_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/utils/selenium_utils.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/wrapper/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay/wrapper/aws/s3.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay.egg-info/SOURCES.txt +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay.egg-info/dependency_links.txt +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay.egg-info/requires.txt +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/quantplay.egg-info/top_level.txt +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/setup.cfg +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/tests/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/tests/conftest.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/tests/wrapper/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/tests/wrapper/aws/__init__.py +0 -0
- {quantplay-2.0.18 → quantplay-2.0.20}/tests/wrapper/aws/s3_test.py +0 -0
|
@@ -513,12 +513,10 @@ class Noren(Broker):
|
|
|
513
513
|
"norenordno": "order_id",
|
|
514
514
|
"uid": "user_id",
|
|
515
515
|
"exch": "exchange",
|
|
516
|
-
"remarks": "tag",
|
|
517
516
|
"avgprc": "average_price",
|
|
518
517
|
"prd": "product",
|
|
519
518
|
"trantype": "transaction_type",
|
|
520
519
|
"qty": "quantity",
|
|
521
|
-
"trgprc": "trigger_price",
|
|
522
520
|
"prc": "price",
|
|
523
521
|
"prctyp": "order_type",
|
|
524
522
|
"fillshares": "filled_quantity",
|
|
@@ -546,6 +544,18 @@ class Noren(Broker):
|
|
|
546
544
|
orders_df = orders_df.with_columns(
|
|
547
545
|
pl.col("rorgqty").cast(pl.Int32).alias("pending_quantity")
|
|
548
546
|
)
|
|
547
|
+
if "trgprc" not in orders_df.columns:
|
|
548
|
+
orders_df = orders_df.with_columns(pl.lit(None).alias("trigger_price"))
|
|
549
|
+
else:
|
|
550
|
+
orders_df = orders_df.with_columns(
|
|
551
|
+
pl.col("trgprc").cast(pl.Float64).alias("trigger_price")
|
|
552
|
+
)
|
|
553
|
+
if "remarks" not in orders_df.columns:
|
|
554
|
+
orders_df = orders_df.with_columns(pl.lit(None).alias("tag"))
|
|
555
|
+
else:
|
|
556
|
+
orders_df = orders_df.with_columns(
|
|
557
|
+
pl.col("remarks").cast(pl.String).alias("tag")
|
|
558
|
+
)
|
|
549
559
|
if "trigger_price" not in orders_df.columns:
|
|
550
560
|
orders_df = orders_df.with_columns(pl.lit(None).alias("trigger_price"))
|
|
551
561
|
if "average_price" not in orders_df.columns:
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantplay-2.0.18 → quantplay-2.0.20}/quantplay/strategies/options/intraday/short_straddle.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
|