This is an interactive Jupyter notebook that uses API socket to extract latest & historic lending series from Bank of England. Holdings of Mortgage securities and Lending data are aggregated across all UK Resident Banks (Monetary Financial Institutions);
The app plots mortgage series scatter plot and distribution curve from all historic data points for a selected target range of BOE Bank Rate.
Notebook covers:
- Gross Bank lending to individuals (secured on dwelling), NSA (Series Code: LPQB3VB)
- Amounts outstanding of structured mortgage securities (assets) held on Banks' balance sheets, NSA (Series Code: LPMB7GT)
- Value of total mortgage approvals issued to households, SA (Series Code: LPQVTVQ)
- Write-offs of Bank mortgage lending (i.e. technical defaults & bad credit provisions), NSA (Series Code: RPQTFHD)
- Average Quarterly BOE Bank Rate, NSA (Series Code: IUQABEDR)
All values are displayed in £ millions;
Here we use Plotly graphic package with simple iPywidgets inputs to create dynamic visualisations. This is a simple solution for building interactive Jupyter notebooks (which is more robust than using Flask framework).
- This repo includes local machine version of Notebook (that uses default render).
- iPywidgets interactivity will be enabled only when the code cell is executed in a kernell.