From e2ac9aad7641812118c3a2a5e400269303915dda Mon Sep 17 00:00:00 2001 From: "zongxi.li" <lizx@wealthgrow.cn> Date: Fri, 15 Jan 2021 11:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=98=E5=8C=96=E6=96=B9?= =?UTF-8?q?=E6=A1=88=E4=B8=BA=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/portfolio_diagnose.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/service/portfolio_diagnose.py b/app/service/portfolio_diagnose.py index b581e61..2e38cb8 100644 --- a/app/service/portfolio_diagnose.py +++ b/app/service/portfolio_diagnose.py @@ -1082,6 +1082,7 @@ class PortfolioDiagnose(object): sentence.append("年化收益率æå‡{:.2f}个点".format((new_return_ratio_year - old_return_ratio_year) * 100)) whole_sentence = ",".join(sentence).lstrip(",") + "。" + whole_sentence = [whole_sentence] return suggestions_result, suggestions_result_asset, return_compare_result, indicator_compare, whole_sentence except Exception as e: repr(e) -- 2.18.1