diff --git a/CHANGELOG.md b/CHANGELOG.md index 272a100..2ce98fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.12.0 - 2024.04.02 + - 增加 2024 国际市场休息日 - 修复中间价 API diff --git a/setup.py b/setup.py index 3e84576..b19b7ff 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setuptools.setup( name="xalpha", - version="0.11.11", + version="0.12.0", author="refraction-ray", author_email="znfesnpbh@gmail.com", description="all about fund investment", diff --git a/tests/test_universal.py b/tests/test_universal.py index 79d982e..a85bc00 100644 --- a/tests/test_universal.py +++ b/tests/test_universal.py @@ -216,7 +216,7 @@ def __call__(self): def test_get_ttjj(): assert xa.get_rt("F501018")["name"] == "南方原油A" - assert xa.get_rt("F511600")["type"][:2] == "货币型" + assert xa.get_rt("F511600")["type"][:3] == "货币型" assert xa.get_rt("F003816")["market"] == "CN" diff --git a/xalpha/__init__.py b/xalpha/__init__.py index 8466f18..3c3fd44 100644 --- a/xalpha/__init__.py +++ b/xalpha/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.11.11" +__version__ = "0.12.0" __author__ = "refraction-ray" __name__ = "xalpha"