show_yearly_stats

czsc.show_yearly_stats(df, ret_col, **kwargs)[source]

按年计算日收益表现

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

  • ret_col – str,收益列名

  • kwargs

    • sub_title: str, 子标题