Commit e2ac9aad authored by 李宗熹's avatar 李宗熹

修改优化方案为列表

parent 9b3ccdea
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment