Commit e4f3389a authored by pengxiong's avatar pengxiong

Merge branch 'dev' of http://47.100.44.39:10001/pengxiong/fund_report into dev

parents a3e11488 9447fd90
......@@ -1105,12 +1105,15 @@ 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:
evaluation_dict['status'] = "保留"
else:
evaluation_dict['status'] = ""
return evaluation_dict
def old_portfolio_evaluation(self, objective=False):
......@@ -1126,8 +1129,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