Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
99f85f44
Commit
99f85f44
authored
Mar 08, 2021
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7030
parent
d2e1ad31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
substrategy_dict.py
app/service/substrategy_dict.py
+2
-1
No files found.
app/service/substrategy_dict.py
View file @
99f85f44
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment