PYield 0.7.1__tar.gz → 0.7.2__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.7.1 → pyield-0.7.2}/PKG-INFO +1 -1
- pyield-0.7.2/pyield/__about__.py +1 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/data_analysis.py +3 -1
- {pyield-0.7.1 → pyield-0.7.2}/pyproject.toml +1 -1
- pyield-0.7.1/pyield/__about__.py +0 -1
- {pyield-0.7.1 → pyield-0.7.2}/LICENSE +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/README.md +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/__init__.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/bday.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/data_access.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/futures/__init__.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/futures/common.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/futures/ddi.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/futures/di.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/futures/di_xml.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/holidays/__init__.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/holidays/br_holidays_new.txt +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/holidays/br_holidays_old.txt +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/holidays/core.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/indicators.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/py.typed +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/treasuries.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/pyield/utils.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/tests/__init__.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/tests/test_bday.py +0 -0
- {pyield-0.7.1 → pyield-0.7.2}/tests/test_futures.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.2"
|
|
@@ -4,7 +4,9 @@ from . import treasuries as tr
|
|
|
4
4
|
from .utils import _normalize_date
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
def calculate_spreads(
|
|
7
|
+
def calculate_spreads(
|
|
8
|
+
spread_type: str, reference_date: str | pd.Timestamp | None = None
|
|
9
|
+
) -> pd.DataFrame:
|
|
8
10
|
"""
|
|
9
11
|
Calculates spreads between assets based on the specified spread type.
|
|
10
12
|
If no reference date is provided, the function uses the previous business day.
|
pyield-0.7.1/pyield/__about__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.7.1"
|
|
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
|