ifrs17sim CSM waterfall chart

The script draws a CSM waterfall chart. The script is broken down into pieces of code, and explained in a Jupyter notebook, IFRS17 CSM Waterfall Chart Notebook.

The live version of the notebook is available online.

Launch this notebook online! launch binder

../../_images/sphx_glr_plot_csm_waterfall_001.png
import modelx as mx
from draw_charts import draw_waterfall, get_waterfalldata

model = mx.read_model("model")
proj = model.OuterProj[1]

csmrf = get_waterfalldata(
        proj,
        items=['CSM',
               'IntAccrCSM',
               'AdjCSM_FlufCF',
               'TransServices'],
        length=15,
        reverseitems=['TransServices'])

draw_waterfall(csmrf)

Total running time of the script: ( 0 minutes 3.730 seconds)

Gallery generated by Sphinx-Gallery