create_return_quantiles

qf_lib.plotting.helpers.create_return_quantiles.create_return_quantiles(returns: QFSeries, live_start_date: Optional[datetime] = None, x_axis_labels_rotation: int = 20) BoxplotChart[source]

Creates a new return quantiles boxplot chart based on the returns specified.

A swarm plot is also rendered on the chart if the live_start_date is specified.

Parameters:
  • returns (QFSeries) – The returns series to plot on the chart.

  • live_start_date (datetime) – The live start date that will determine whether a swarm plot should be rendered.

  • x_axis_labels_rotation (int) –

Returns:

A new BoxplotChart instance.

Return type:

BoxplotChart