show_factor_returns

czsc.show_factor_returns(df, x_col, y_col)[source]

使用 streamlit 展示因子收益率

Parameters:
  • df – pd.DataFrame,数据源

  • x_col – str,因子列名

  • y_col – str,收益列名