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
9f5986a1
Commit
9f5986a1
authored
Dec 11, 2020
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复亏钱表现优秀
parent
07e9eb74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
portfolio_diagnose.py
app/service/portfolio_diagnose.py
+2
-2
No files found.
app/service/portfolio_diagnose.py
View file @
9f5986a1
...
...
@@ -746,8 +746,8 @@ class PortfolioDiagnose(object):
evaluate_enum
=
[[
"优秀"
,
"良好"
,
"一般"
],
[
"优秀"
,
"良好"
,
"合格"
,
"较差"
]]
if
data_adaptor
.
group
_result_data
[
"cumulative_profit"
]
<
0
and
z_score_level
==
0
:
z_score_level
=
1
if
data_adaptor
.
total
_result_data
[
"cumulative_profit"
]
<
0
and
z_score_level
==
0
:
z_score_level
=
2
z_score_evaluate
=
evaluate_enum
[
0
][
z_score_level
]
drawdown_evaluate
=
evaluate_enum
[
1
][
drawdown_level
]
...
...
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