PYield 0.32.4__tar.gz → 0.32.5__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.32.4 → pyield-0.32.5}/PKG-INFO +1 -1
- pyield-0.32.5/pyield/__about__.py +1 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/trade.py +3 -0
- pyield-0.32.4/pyield/__about__.py +0 -1
- {pyield-0.32.4 → pyield-0.32.5}/.gitignore +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/LICENSE +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/README.md +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/ettj.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/ima.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/imaq.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/ipca.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/anbima/tpf.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/di.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/di_over.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/futures/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/futures/common.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/futures/historical.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/futures/intraday.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/b3/futures/xml.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/auction.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/bcdata.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/ptax.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/repo.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bc/vna.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/bday.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/conftest.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/data_cache.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/date_converter.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/fwd.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/holidays/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/holidays/br_holidays_new.txt +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/holidays/br_holidays_old.txt +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/holidays/brholidays.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/ibge/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/ibge/ipca.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/interpolator.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/py.typed +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/retry.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/__init__.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/lft.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/ltn.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/ntnb.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/ntnc.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/ntnf.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyield/tpf/tools.py +0 -0
- {pyield-0.32.4 → pyield-0.32.5}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.32.5"
|
|
@@ -101,4 +101,7 @@ def tpf_trades(target_date: DateScalar) -> pd.DataFrame:
|
|
|
101
101
|
url = _build_download_url(target_date)
|
|
102
102
|
df = _fetch_data_from_url(url)
|
|
103
103
|
df = df.rename(columns=COLUMN_MAPPING)
|
|
104
|
+
|
|
105
|
+
# TradeValue are empty in the original BCB file, so we calculate it
|
|
106
|
+
df["TradeValue"] = (df["TradeQuantity"] * df["AvgPrice"]).round(2)
|
|
104
107
|
return df
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.32.4"
|
|
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
|