finicial_future_df = DataSource('bar1d_CN_FUTURE').read(instruments=['IC2301.CFX','IH2301.CFX','IF2301.CFX','IM2301.CFX'], start_date='2022-12-01', fields=['close'])
finicial_future_df.head()
etf_df = DataSource('bar1d_CN_FUND').read(instruments=['510050.HOF','510500.HOF','510300.HOF','512100.HOF'], start_date='2022-12-01', fields=['close','adjust_factor'])
etf_df.rename(columns = {'close':'etf_close','instrument':'etf_instrument'}, inplace=True)
merge_df = pd.merge(finicial_future_df, etf_df, on='date')
merge_df.head(10)