123

parent 105ee636
......@@ -622,5 +622,8 @@ portfolio_diagnose = PortfolioDiagnose(client_type=1, portfolio=portfolio, inves
portfolio_diagnose.optimize()
if __name__ == '__main__':
# 相关性
print(portfolio_diagnose.old_correlation)
# 个基点评
# print(portfolio_diagnose.single_fund_radar())
# print(portfolio_diagnose.propose_fund_evaluation())
......@@ -105,7 +105,7 @@ def draw_contribution_chart(xlabels, product_list, cumulative):
fontsize = 22
# 初始化
fig = plt.figure(figsize=figsize)
ax1 = fig.add_subplot(111)
ax1 = fig.add_subplot()
ax2 = ax1.twiny()
max_x_count = max([x['data'].size for x in product_list])
loc = np.arange(max_x_count) # the x locations for the groups
......@@ -145,12 +145,12 @@ def draw_contribution_chart(xlabels, product_list, cumulative):
ax2.plot(loc, cumulative['data'], color='#C6A774', marker='', linewidth=3, label=cumulative['name'])
ax2.legend(loc='upper left', fontsize=fontsize)
# plt.show()
imgdata = BytesIO()
fig.savefig(imgdata, format='png')
imgdata.seek(0) # rewind the data
month_return_img = 'data:image/png;base64,' + base64.b64encode(imgdata.getvalue()).decode('utf-8')
return month_return_img
plt.show()
# imgdata = BytesIO()
# fig.savefig(imgdata, format='png')
# imgdata.seek(0) # rewind the data
# month_return_img = 'data:image/png;base64,' + base64.b64encode(imgdata.getvalue()).decode('utf-8')
# return month_return_img
def draw_comment_chart(xlabels, source_prod, target_prod):
......
......@@ -11719,3 +11719,233 @@ TypeError: render_template() takes 1 positional argument but 2 were given
2020-12-01 19:51:17 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 19:51:17 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 19:51:17 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO select f2.realname,f3.customer_name,fund_id,f1.order_type,f1.pay_date,f1.subscription_fee,f1.confirm_share_date,f1.confirm_share,f1.confirm_amount,f1.nav,f1.folio_name from customer_order f1, user_info f2,customer_info f3 where f2.id=f1.user_id and f3.id=f1.customer_id and f1.user_id='USER_INFO15914346866762' and f1.customer_id='202009281545001'
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO select distinct `id`, `fund_short_name`, `nav_frequency`, `substrategy` from `fund_info`
2020-12-01 20:25:46 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00002JJ2' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00005DBQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF0000681Q' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006693' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006AZF' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006BGS' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006GNQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:25:49 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:50 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:25:50 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:25:50 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:25:50 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO select f2.realname,f3.customer_name,fund_id,f1.order_type,f1.pay_date,f1.subscription_fee,f1.confirm_share_date,f1.confirm_share,f1.confirm_amount,f1.nav,f1.folio_name from customer_order f1, user_info f2,customer_info f3 where f2.id=f1.user_id and f3.id=f1.customer_id and f1.user_id='USER_INFO15914346866762' and f1.customer_id='202009281545001'
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO select distinct `id`, `fund_short_name`, `nav_frequency`, `substrategy` from `fund_info`
2020-12-01 20:26:31 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00002JJ2' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00005DBQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF0000681Q' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006693' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006AZF' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006BGS' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006GNQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:26:34 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:35 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:26:35 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-01 20:26:35 Tue sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-01 20:26:35 Tue sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:00 Wed sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-02 09:50:00 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select f2.realname,f3.customer_name,fund_id,f1.order_type,f1.pay_date,f1.subscription_fee,f1.confirm_share_date,f1.confirm_share,f1.confirm_amount,f1.nav,f1.folio_name from customer_order f1, user_info f2,customer_info f3 where f2.id=f1.user_id and f3.id=f1.customer_id and f1.user_id='USER_INFO15914346866762' and f1.customer_id='202009281545001'
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SHOW VARIABLES LIKE 'sql_mode'
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT DATABASE()
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO show collation where `Charset` = 'utf8' and `Collation` = 'utf8_bin'
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8) COLLATE utf8_bin AS anon_1
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO BEGIN (implicit)
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `id`, `fund_short_name`, `nav_frequency`, `substrategy` from `fund_info`
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00002JJ2' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00002JJ2' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00005DBQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00005DBQ' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF0000681Q' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF0000681Q' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006693' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006693' order by `price_date` ASC
2020-12-02 09:50:01 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006AZF' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006AZF' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006BGS' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006BGS' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `nav`,`cumulative_nav` from `fund_nav` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `distribute_date`, `distribution` from `fund_distribution` where `fund_id`='HF00006GNQ' and `distribute_type`='1' order by `distribute_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct `price_date`, `ret_1w`, `ret_cum_1m`, `ret_cum_6m`, `ret_cum_1y`, `ret_cum_ytd`, `ret_cum_incep` from `fund_performance` where `fund_id`='HF00006GNQ' order by `price_date` ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO select distinct price_date,close from fund_market_indexes where index_id='IN0000007M' order by price_date ASC
2020-12-02 09:50:02 Wed sqlalchemy.engine.base.Engine INFO {}
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