Commit c7e41142 authored by 赵杰's avatar 赵杰

策略分散程度

parent cd54a856
...@@ -729,7 +729,7 @@ class PortfolioDiagnose(object): ...@@ -729,7 +729,7 @@ class PortfolioDiagnose(object):
strategy_name_evaluate = "".join(uniqe_strategy_name)[:-1] strategy_name_evaluate = "".join(uniqe_strategy_name)[:-1]
try: try:
if len(uniqe_strategy) / float(len(strategy_list)) > 0.6: if len(uniqe_strategy) > 3:
strategy_distribution_evaluate = "策略上有一定分散" strategy_distribution_evaluate = "策略上有一定分散"
else: else:
strategy_distribution_evaluate = "策略分散程度不高" strategy_distribution_evaluate = "策略分散程度不高"
......
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