Commit 5d8b6382 authored by 赵杰's avatar 赵杰

修复html模板综述数据

parent f229262f
......@@ -44,7 +44,7 @@ class UserCustomerResultAdaptor(UserCustomerDataAdaptor):
# 总成本
total_cost = float(cur_folio_order_data[cur_folio_order_data["order_type"] == 1]["confirm_amount"].sum() - \
cur_folio_order_data[cur_folio_order_data["order_type"] == 2]["confirm_amount"].sum())
folio_report_data["total_cose"] = total_cost
folio_report_data["total_cost"] = total_cost
# 累积盈利
cumulative_profit = profit_df.sum().sum()
......
......@@ -2141,9 +2141,10 @@
中证500:
</div>
<div class="scp_now_value">
1000.00
{{index_yield}}
<!-- 1000.00 -->
<span class="scp_now_unit">
万元
%
</span>
</div>
</div>
......@@ -2174,9 +2175,9 @@
中证500:
</div>
<div class="scp_now_value">
1000.00
{{index_withdrawal}}
<span class="scp_now_unit">
万元
%
</span>
</div>
</div>
......@@ -2318,7 +2319,7 @@
</td>
<td>
<!-- 0.40 -->
{{index_comparison_500['volatility']}}
{{index_comparison_500['annualized_returns']}}
</td>
<td>
<!-- 2.29 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment