PYield 0.26.6__tar.gz → 0.26.7__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.
- {pyield-0.26.6 → pyield-0.26.7}/PKG-INFO +1 -1
- pyield-0.26.7/pyield/__about__.py +1 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/ima.py +2 -0
- pyield-0.26.6/pyield/__about__.py +0 -1
- {pyield-0.26.6 → pyield-0.26.7}/.gitignore +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/LICENSE +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/README.md +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/__init__.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/anbima.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/__init__.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/common.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/di.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/historical.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/intraday.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/b3_futures/xml.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/bc/auction.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/bday.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/conftest.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/data_cache.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/date_converter.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/holidays/__init__.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/holidays/br_holidays_new.txt +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/holidays/br_holidays_old.txt +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/holidays/brholidays.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/indicators.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/interpolator.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/projections.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/py.typed +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tools.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/__init__.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/lft.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/ltn.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/ntnb.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/ntnf.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyield/tpf/tools.py +0 -0
- {pyield-0.26.6 → pyield-0.26.7}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.26.7"
|
|
@@ -77,6 +77,8 @@ def _process_last_ima(df: pd.DataFrame) -> pd.DataFrame:
|
|
|
77
77
|
# Since DV01 and MarketValue are total stock values, we round them to integers
|
|
78
78
|
df["MarketDV01"] = dv01.round(0).astype("Int64")
|
|
79
79
|
df["MarketValue"] = (1000 * df["MarketValue"]).round(0).astype("Int64")
|
|
80
|
+
# LFT DV01 is zero
|
|
81
|
+
df["MarketDV01"] = df["MarketDV01"].where(df["BondType"] != "LFT", 0)
|
|
80
82
|
return df
|
|
81
83
|
|
|
82
84
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.26.6"
|
|
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
|