Commit 99f85f44 authored by 赵杰's avatar 赵杰

7030

parent d2e1ad31
...@@ -21,6 +21,7 @@ dict_substrategy = { ...@@ -21,6 +21,7 @@ dict_substrategy = {
"6030": '债券策略', "6030": '债券策略',
"7010": 'MOM', "7010": 'MOM',
"7020": 'FOF', "7020": 'FOF',
"7030": '組合',
"8010": '主观多策略', "8010": '主观多策略',
"8020": '量化多策略', "8020": '量化多策略',
"A": "股票型", "A": "股票型",
...@@ -102,7 +103,7 @@ def get_substrategy_name(sub): ...@@ -102,7 +103,7 @@ def get_substrategy_name(sub):
code = str(sub) code = str(sub)
strategy_name = dict_substrategy[code] strategy_name = dict_substrategy[code]
return strategy_name return strategy_name
except ValueError: except:
pass pass
try: try:
code = str(sub) code = str(sub)
......
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