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
06079d37
Commit
06079d37
authored
Dec 09, 2020
by
pengxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
万元去掉
parent
f3dabf25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
168 additions
and
7 deletions
+168
-7
王斐_刘国铭_.pdf
app/pdf/王斐_刘国铭_.pdf
+0
-0
monthReportV2.html
app/templates/v2/monthReportV2.html
+4
-4
jinjia2html.py
app/utils/jinjia2html.py
+8
-1
timed_task.py
app/utils/timed_task.py
+2
-2
tamp_course_order.log
logs/tamp_course_order.log
+154
-0
No files found.
app/pdf/王斐_刘国铭_.pdf
0 → 100644
View file @
06079d37
File added
app/templates/v2/monthReportV2.html
View file @
06079d37
...
...
@@ -1559,12 +1559,12 @@
<th>
基金简称
</th>
<th>
买入时间
</th>
<th>
存续年数
</th>
<th>
投资本金 (万
元
)
</th>
<th>
当月收益 (万
元
)
</th>
<th>
投资本金 (万)
</th>
<th>
当月收益 (万)
</th>
<th>
当月收益率 (%)
</th>
<th>
月末市值 (万
元
)
</th>
<th>
月末市值 (万)
</th>
<th>
月末占比 (%)
</th>
<th>
累计收益 (万
元
)
</th>
<th>
累计收益 (万)
</th>
<th>
累计收益率 (%)
</th>
<th>
年化收益率 (%)
</th>
</tr>
...
...
app/utils/jinjia2html.py
View file @
06079d37
...
...
@@ -254,8 +254,15 @@ class DataIntegrate:
# 'suggestions_result': self.suggestions_result,
# 'suggestions_result_asset': self.suggestions_result_asset,
# 'return_compare_pic': self.return_compare_pic,
'indicator_compare'
:
self
.
indicator_compare
,
#
'indicator_compare': self.indicator_compare,
# 'new_group_evaluation': self.new_group_evaluation
'new_correlation'
:
[],
'propose_fund_data_list'
:
[],
'suggestions_result'
:
{},
'suggestions_result_asset'
:
{},
'return_compare_pic'
:
[],
'indicator_compare'
:
[],
'new_group_evaluation'
:
[]
}
# 开始渲染html模板
...
...
app/utils/timed_task.py
View file @
06079d37
...
...
@@ -54,8 +54,8 @@ with TAMP_SQL(tamp_user_engine) as tamp_user, TAMP_SQL(tamp_order_engine) as tam
for
ifauser
in
ifausers
:
# 获取某个 ifa 的所有 customer
customers
=
tamp_order_session
.
query
(
Ifa_Customer
)
.
\
filter
(
and_
(
Ifa_Customer
.
ifa_id
==
ifauser
.
id
,
Ifa_Customer
.
customer_id
.
in_
([
'6716613804182482944'
,
'6716613804966817792'
])))
.
all
()
filter
(
and_
(
Ifa_Customer
.
ifa_id
==
ifauser
.
id
,
Ifa_Customer
.
customer_id
.
in_
([
'6716613804182482944'
])))
.
all
()
# 循环这个 ifa 的所有 customer
for
customer
in
customers
:
customer_full
=
tamp_order_session
.
query
(
Customer
)
.
\
...
...
logs/tamp_course_order.log
View file @
06079d37
This diff is collapsed.
Click to expand it.
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