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

修改默认值

parent bc4c6da5
......@@ -1105,8 +1105,9 @@ class PortfolioDiagnose(object):
except Exception:
pass
evaluation_dict = {'name': fund_name, 'data': ret}
if objective:
evaluation_dict = {'name': fund_name, 'data': ret}
if fund_id in self.abandon_fund_score + self.abandon_fund_corr:
evaluation_dict['status'] = "换仓"
elif fund_id in self.portfolio:
......@@ -1126,8 +1127,6 @@ class PortfolioDiagnose(object):
repr(e)
return None
def propose_fund_evaluation(self, ):
try:
result = []
......
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