From 79d3d7e2d89722a81575e65901ce9c1ae8d55eb1 Mon Sep 17 00:00:00 2001 From: refraction-ray Date: Fri, 1 Jan 2021 18:01:02 +0800 Subject: [PATCH] version0.11.2 --- CHANGELOG.md | 2 ++ setup.py | 2 +- tests/test_universal.py | 2 +- xalpha/__init__.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e32d0f1..f5bc7a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.11.2 - 2021.01.01 + ### added - 修复了 `get_rt` 获取基金实时净值 diff --git a/setup.py b/setup.py index 3051004..be6a182 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setuptools.setup( name="xalpha", - version="0.11.1", + version="0.11.2", author="refraction-ray", author_email="refraction-ray@protonmail.com", description="all about fund investment", diff --git a/tests/test_universal.py b/tests/test_universal.py index a08c94d..aa78719 100644 --- a/tests/test_universal.py +++ b/tests/test_universal.py @@ -46,7 +46,7 @@ def test_get_fund(): def test_get_fund_pt(): - df = xa.get_daily("pt-F100032") + df = xa.get_daily("pt-F100032", start="20191201") assert round(df[df["date"] < "2020-01-01"].iloc[-1]["bond_ratio"], 2) == 0.08 diff --git a/xalpha/__init__.py b/xalpha/__init__.py index 830af33..176bad8 100644 --- a/xalpha/__init__.py +++ b/xalpha/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.11.1" +__version__ = "0.11.2" __author__ = "refraction-ray" __name__ = "xalpha"