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
30ad98ad
Commit
30ad98ad
authored
Dec 10, 2020
by
pengxiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://47.100.44.39:10001/pengxiong/fund_report
into dev
parents
ea8ef3f2
3f08d197
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
portfolio_diagnose.py
app/service/portfolio_diagnose.py
+3
-3
monthReportV2.1.html
app/templates/v2/monthReportV2.1.html
+2
-3
No files found.
app/service/portfolio_diagnose.py
View file @
30ad98ad
...
...
@@ -1093,7 +1093,7 @@ class PortfolioDiagnose(object):
ret
=
[]
fund_name
=
get_fund_name
(
fund_id
)
.
values
[
0
][
0
]
try
:
default_evaluation
=
pd
.
read_csv
(
"evaluation.csv"
,
encoding
=
'utf-8'
,
names
=
[
'fund_id'
,
'eval'
])
default_evaluation
=
pd
.
read_csv
(
"
./app/service/
evaluation.csv"
,
encoding
=
'utf-8'
,
names
=
[
'fund_id'
,
'eval'
])
if
default_evaluation
[
default_evaluation
[
'fund_id'
]
==
fund_id
][
'eval'
]
.
values
[
0
]:
ret
.
append
(
'1、'
+
default_evaluation
[
default_evaluation
[
'fund_id'
]
==
fund_id
][
'eval'
]
.
values
[
0
])
...
...
@@ -1107,8 +1107,8 @@ class PortfolioDiagnose(object):
else
:
evaluation_dict
[
'status'
]
=
""
return
evaluation_dict
except
Exception
:
pass
except
Exception
as
e
:
raise
e
i
=
1
for
k
,
v
in
evaluation
.
items
():
...
...
app/templates/v2/monthReportV2.1.html
View file @
30ad98ad
...
...
@@ -944,8 +944,7 @@
</div>
<div
class=
"dcell"
>
<div
class=
"cover_text"
>
小飞象
<br>
工作室
{{brand_name}}
</div>
</div>
</div>
...
...
@@ -1143,7 +1142,7 @@
<div
class=
"tss3"
>
<div
class=
"tss3_head dtable"
>
<div
class=
"tss3_title dcell"
>
组合月度及累计回报率曲线
月度收益
</div>
</div>
<table
border=
"1"
>
...
...
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