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
91094cf6
Commit
91094cf6
authored
Dec 07, 2020
by
pengxiong@wealthgrow.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
5f3eb33e
71396163
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
jinjia2html.py
app/utils/jinjia2html.py
+1
-1
No files found.
app/utils/jinjia2html.py
View file @
91094cf6
...
@@ -154,7 +154,7 @@ class DataIntegrate:
...
@@ -154,7 +154,7 @@ class DataIntegrate:
self
.
volatility
=
round
(
group_result
[
"volatility"
]
*
100
,
2
)
self
.
volatility
=
round
(
group_result
[
"volatility"
]
*
100
,
2
)
self
.
max_withdrawal
=
round
(
group_result
[
"max_drawdown"
][
0
]
*
100
,
2
)
self
.
max_withdrawal
=
round
(
group_result
[
"max_drawdown"
][
0
]
*
100
,
2
)
self
.
sharpe_ratio
=
round
(
group_result
[
"sharpe"
],
2
)
self
.
sharpe_ratio
=
round
(
group_result
[
"sharpe"
],
2
)
self
.
cost_of_investment
=
int
(
group_result
[
"total_cost"
]
)
# 投资成本
self
.
cost_of_investment
=
round
(
group_result
[
"total_cost"
]
/
10000.0
,
2
)
# 投资成本
self
.
final_balance
=
int
(
group_result
[
"total_cost"
]
+
group_result
[
"cumulative_profit"
])
# 期末资产
self
.
final_balance
=
int
(
group_result
[
"total_cost"
]
+
group_result
[
"cumulative_profit"
])
# 期末资产
self
.
total_profit
=
int
(
group_result
[
"cumulative_profit"
])
# 累计盈利
self
.
total_profit
=
int
(
group_result
[
"cumulative_profit"
])
# 累计盈利
...
...
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