SlideShare a Scribd company logo
1 of 54
The Banking Organization Systemic Risk Report
LALIT JAIN
1
Part 1
2
Goals
1. Scrap the website and download PDF files
2. Clean the PDF files and scrap the data from PDF in a clean consistent
format
Data Reference:
https://www.ffiec.gov/nicpubweb/content/BHCPRRPT/BHCPR_Peer.htm
Coding Language Used: Python
Part 1
Part 1: Step 1
Fetching HTML content using URLLIB and BeautifulSoup library
3
Part 1: Step 2
After inspecting the source code of the page, we find out the table of interest and scrap using the class
attribute of it
4
Part 1: Step 3
Fetch the header of the table, using the class of ‘datagridH’ assigned to it and using ‘th’ tag to scrap the
header. Finally add in the list
5
Part 1: Step 4
Repeat the step 3, however now finding the ‘td’ tag to scrap the data inside the table. Also adding an extra
date column, whose data is available in the last index of header list
6
Part 1: Step 5
Now 1st page is scrapped, however the data is raw and needs to be cleaned. For example, ‘$’ to be removed
from Total asset and converting it to a integer value. And so on.
7
Part 1: Step 6 (a)
Now the data is cleaned and in consistent format for page 1. We will use Selenium webdriver package to
interact with the page and select each ‘Quarter’
8
Here we are getting all the values
from the Dropdown of the
quarter and loading in an list.
Part 1: Step 6 (b)
Looping through all the values and repeating Step 4
9
Part 1: Step 7
Final Output as shown below in the csv
10
Exploratory Data Analysis
11
• Analyzing the banks and
the total assets
corresponding to each
state and Ranking them
based on the same.
Part 1: Business Intelligence
Going a step further..
12
Drilling a step further , to selected
companies and identifying the states
and the cities where the particular
company is located and total assets
they posses and the comparative
Ranking.
Analyzing the Banks and their Assets
13
A comparison of the Banks and
their total assets and
categorizing them in to bins.
Geo Analysis
14
Evaluating the revenues as per the
State and the total values over
different Period.
Trend Analysis and Forecasting
15
Getting an insight of the Banks
and analyzing the trends year
over year and getting the
growth rate percentage and
forecasting the Future.
Looking over the Forecasts
16
Estimating the Total
assets for 2017 from the
trends with R-squared
and P-Value.
Ranking the Banks
17
TOP 10 BANKS
JP Morgan chase with the highest assets of 36,846 M.
Ranking the Banks from Bottom
18
The eastern Bank having the least value of around 10M.
Part 2
19
Goals
1. Scrap the website and download PDF files
2. Clean the PDF files and scrap the data from PDF in a clean consistent
format
Data Reference:
https://www.ffiec.gov/nicpubweb/content/BHCPRRPT/BHCPR_Peer.htm
Coding Language Used: Python
Part 2
Part 2: Step 1
Fetching HTML content using URLLIB and BeautifulSoup library. Finding all the ‘a’ tag and getting the ‘href’
attribute. Filtering out URL containing a pattern of ‘PeerGroup_1’ in which we are interested
20
Finding all the ‘a’ tag and getting the ‘href’
attribute. Filtering out URL containing a
pattern of ‘PeerGroup_1’ in which we are
interested.
Filtered ‘url’ are now kept in the list to be
used further
Part 2: Step 2
Using the ‘urlretrive’ function from urllib package, to download the url. Looping through all the url’s in the
array and downloading the files in a drive defined in the code
21
Part 2: Step 3
Using the ‘PyPDF2’ package for Python 3.5 reading the pdf page by page. Defined a function which will take path of the pdf
file and extract lines of each page in the pdf. Extracted lines is split by ‘/n’ (break) and printed to see the result
22
Part 2: Step 4
Applying regex on the lines to remove unwanted data.
23
1) Splitting the data in each line by 2
spaces
2) Applying a function on the splitted
data to remove ‘ ‘ (blank) element
and appending to a list
3) Filtering the list further using list
comprehension method in python
to remove elements with ‘ ‘ or ‘---’
or ‘ ----’ and so on. (can be
achieved through regex as well)
4) After cleaning analyzing the
lengths of each list, filtering out
list containing 6,5,1,4 elements
which is useful
5) After the cleansing adding into the
final list named ‘flines’ here
Part 2: Step 5
Since the PDF have two tables with different number of columns. We defined a function to find 2nd table and return the
index of the list where it is found in the flines list.
24
Part 2: Step 6
Looping through the lines in flines array and adding into the arrays to make dataframe. Two loops for two tables, 1 loop
ranging from flines[1:is_id] and second in the range of flines[is_id:]
25
Converting the list into a dataframe as shown below
and converting to csv
Part 2: Step 7
Looping through all the pdf files and dynamically appending the filenames of the csv
26
Part 2: Final Output
27
Part 3
28
Goals
1. Using 2012,2013,2014 (data Indicators, All Line Items), create
dashboards in Tableau for the graphs presented in the Graphs and Time
Series Sheets
2. Analyze the data using Tableau and find insights
Data Reference: https://www.ffiec.gov/nicpubweb/nicweb/Y15SnapShot.aspx
Reporting Tool: Tableau
Part 3
Introduction about the Data
The FR Y-15 Snapshots page includes the six columns described below.
As-of date: This column provides the as-of date for the data files in the given row.
Indicators: The files listed in this column contain the aggregated measures of
systemic importance found on the FR Y-15.
All line items: The files listed in this column contain all of the public FR Y-15 data that
were submitted for the given as-of date, including the aggregated measures of
systemic importance captured in the indicators file.
Other formats: The PDF files listed in this column contain graphs of each aggregated
measure of systemic importance captured in the indicators file along with a table
showing the underlying data.
29
Assessment Indicators
A bank’s score consists of a weighted average of 12
indicators across five categories. Table provides the
category, line item number and weight for each indicator.
30
Assessment Methodology
It is “indicator based measurement approach” in determining whether an institution is regarded
as a G-SIB. Each of these indicators is given a 20% weighting and, as specified below, most of the
indicators are made up of two or more sub-indicators (with each sub-indicator given equal
weighting within such category).
For each bank, the score for a particular indicator or sub-indicator is calculated by dividing the
relevant amount for that bank in respect of such indicator by the aggregate amount total for all
banks in the sample for that indicator.
In the case of sub-indicators, the score is adjusted by the relevant weighting within each
category. Each indicator’s score is then aggregated. The maximum possible score (if there were
only a single bank in the world) would be 5.
31
Graphs
The graphs worksheet of the Excel file provides bar graphs for each of the aggregated measures
of systemic importance captured in the indicators worksheet. The data used to produce the
graphs can be found in the upper right portion of the worksheet.
We have pulled out tableau representation of the parameters and tried to decipher some
financial information.
32
Cross-jurisdictional activity.
This indictor would measure the global footprint of the bank with the aim that the international
impact from a bank’s distress or failure should vary in line with its share of cross jurisdictional
assets and liabilities. There are two sub-indicators for this category:
Cross-jurisdictional claims: It is proposed that this sub-indicator uses the same data used to
calculate international banks’ activities outside their home jurisdiction by the Bank for
International Settlements (“BIS”).
Cross-jurisdictional liabilities: This sub-indicator would use the same BIS data referred to above
and combine figures reported as part of the local banking statistics for the bank’s home
jurisdiction with its consolidated statistics. The calculation will take into account the liabilities of
all offices of the relevant bank to entities outside the home market and include all liabilities to
non-residents of its home jurisdiction.
33
34
35
36
Size
Size will be included as an indicator on the basis that a bank’s distress or failure is more likely to
damage the global economy or financial markets if its activities comprise a large share of global
activity. The BCBS states that the larger the bank, the more difficult it is for its activities to be
replaced by other banks in the event of its failure. Its failure is therefore more likely to damage
confidence in the global financial system. It is proposed that there will be only a single indicator
for size using the same definition for total exposures of a bank in calculating its leverage ratio.
37
38
Interconnectedness
Financial distress at an institution can materially raise the likelihood of contagion in respect of
other institutions depending on the network of contractual obligations in which it operates. This
indicator is made up of three sub-indicators:
Intra-financial system asset: The sum of (i) lending to financial institutions (including undrawn
commitments), (ii) holdings of securities issued by other financial institutions, (iii) net mark to
market reverse repos, (iv) net mark to market securities lending to other financial institutions,
and (v) net mark to market OTC derivatives with financial institutions.
Intra-financial system liabilities: The sum of (i) deposits by financial institutions at the relevant
bank, (ii) securities issued by the bank owned by other financial institutions and liabilities of the
nature specified under (iii) to (v) of intra-financial system assets above.
39
40
41
42
Substitutability
Systemic impact of a bank’s distress or failure is expected to be negatively related to the substitutability of its
services. Where there is a lack of realistic alternatives to a major business line or service of the bank, the greater
the effect its failure is likely to cause. It is also noted that the cost to the failed bank’s customers in having to seek
the same service at another institution is likely to be higher for a failed bank with a large market share in respect
of the relevant service. There are three sub-indicators:
Assets under custody: The BCBS notes that the failure of a large custodian bank holding client assets could disrupt
the operation of financial markets, and this indicator is the value of assets that a bank holds as a custodian
divided by the sum total reported by the banks in the sample.
Payments cleared and settled through payment systems: The BCBS concludes that a bank which is involved in a
large volume of payments is likely to act on behalf of a large number of other institutions and customers including
retail customers. If it were to fail, these institutions and customers may be unable to process payments
immediately, affecting their liquidity. This sub-indicator is calculated as the value of a bank’s payments sent
through all of the main payment systems of which it is a member divided by the total reported by all the banks in
the sample.
Value of underwritten transactions in debt and equity markets. The BCBS states that the failure of a bank with a
large share of debt and equity underwriting in the global markets may significantly impede new securities
issuance. The indicator is calculated as the annual value of debt and equity instruments underwritten by the bank
divided by the aggregate figure for all the banks in the sample.
43
44
45
46
Complexity
Systemic impact of a bank’s distress or failure is likely to be greater, the more complex its business,
structure, and operations are. It specifies sub-indicators:
OTC derivatives: The calculation is made by reference to the gross nominal or notional value of all OTC
derivatives not cleared through a central counterparty and not settled at the reporting date.
Level 3 assets: These are defined as assets whose fair value cannot be determined using observable
measures (such as market prices or models) and are therefore illiquid. The indicator for each bank is
calculated as the ratio of its reported value of level 3 assets and the aggregate of such values reported
by all banks in the sample.
Trading book value and “available for sale” value: The BCBS states that banks holding financial
securities in the trading book and “available for sale” securities are vulnerable to mark to market
losses and subsequent fire sales of the securities in situations of financial stress. This can drive down
the price of such securities leading to the write-down in the value of the same securities held by
other institutions. This sub-indicator is calculated as the ratio of the total value of the banks’ holding
of securities in the trading book and available for sale securities to the total value of such securities
held by banks in the sample.
47
48
49
50
Systemic Score (bps)
Systemic risk scores are based on size, interconnectedness, substitutability, complexity, and cross-
jurisdictional activities.
Data must be converted from the reporting currency to euros using the exchange rates, denominators
are published on the Committee’s G-SIB webpage. To calculate the scores for the five categories, the
scores for the indicators that fall within each category are averaged. The final score is produced by
averaging the five category scores.
Formula Used in Tableau
Exposures vs Assets
Charts represents two measures of size, total
assets and total exposures, the size measure
used in the G-SIB methodology that includes
derivative positions and securities financing
transactions, such as repurchase agreements
and securities lending. JPMorgan, Citigroup,
BOfA, Wells Fargo have exposure more that the
their assets while Goldman Sachs and Morgan
Stanley have substantially more that Assets
than exposure.
In all the years the trend remained pretty much
the same, this is 2013 representation.
Liabilities vs Assets
The bubble sizes are proportional to each
bank’s total exposures. Banks above the
diagonal line had net obligations to the
financial system, and banks below the
diagonal line had net claims on the financial
system. Differences in these indicators of
interconnectedness partly reflect
differences in activities measured by the
substitutability and complexity indicators:
those above the line generally have large
payments activities or assets under
custody, while those below the line
generally have large trading, derivatives,
and underwriting operations.
Net Borrowers
Net Lenders
Bubble size shows total exposures
Liabilities vs Assets
Banks with large foreign claims are also
highly interconnected to the financial
system.
The bubble sizes reflect firm size, based on
total exposures. Again, the largest banks
are the most interconnected and they are
involved in the most cross-jurisdictional
activity.

More Related Content

Similar to Banking organization systemic risk report

Project Risk Management PlanPurposeThis project provides
Project Risk Management PlanPurposeThis project provides Project Risk Management PlanPurposeThis project provides
Project Risk Management PlanPurposeThis project provides davieec5f
 
Online Poverty Alleviation System in Bangladesh Context
Online Poverty Alleviation System in Bangladesh ContextOnline Poverty Alleviation System in Bangladesh Context
Online Poverty Alleviation System in Bangladesh ContextIRJET Journal
 
Predictive Analysis for Diabetes using Tableau
Predictive Analysis for Diabetes using TableauPredictive Analysis for Diabetes using Tableau
Predictive Analysis for Diabetes using Tableaurahulmonikasharma
 
Project DescriptionsData ExercisesThe purpose of the data ex.docx
Project DescriptionsData ExercisesThe purpose of the data ex.docxProject DescriptionsData ExercisesThe purpose of the data ex.docx
Project DescriptionsData ExercisesThe purpose of the data ex.docxwkyra78
 
Airfare Analysis of Domestic Airlines in U.S.
Airfare Analysis of Domestic Airlines in U.S.Airfare Analysis of Domestic Airlines in U.S.
Airfare Analysis of Domestic Airlines in U.S.ABHISHEKDAHALE
 
Software Engineering- ERD DFD Decision Tree and Table
Software Engineering- ERD DFD Decision Tree and TableSoftware Engineering- ERD DFD Decision Tree and Table
Software Engineering- ERD DFD Decision Tree and TableNishu Rastogi
 
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.com
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.comSample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.com
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.comyStats.com
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation iAmit Sharma
 
Ais in banking sector
Ais in banking sectorAis in banking sector
Ais in banking sectorMoez Ansary
 
BIBA implementation report final
BIBA implementation report finalBIBA implementation report final
BIBA implementation report finalsarthakkhare3
 
DATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKDATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKijaia
 
DATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKDATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKgerogepatton
 
Hi,Please find below Project Sample as a guide ;Company Name .docx
Hi,Please find below Project Sample as a guide ;Company Name .docxHi,Please find below Project Sample as a guide ;Company Name .docx
Hi,Please find below Project Sample as a guide ;Company Name .docxfideladallimore
 
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...Tracy Morgan
 
Finc 3304 business finance work the web project part 2 (
Finc 3304 business finance work the web project  part 2 (Finc 3304 business finance work the web project  part 2 (
Finc 3304 business finance work the web project part 2 (arnit1
 
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docx
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docxProject DescriptionsProject DescriptionsFINANCIAL RESEAR.docx
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docxwkyra78
 
Discussion 1  Analysis of Financial Statements.A. This discussi.docx
Discussion 1  Analysis of Financial Statements.A. This discussi.docxDiscussion 1  Analysis of Financial Statements.A. This discussi.docx
Discussion 1  Analysis of Financial Statements.A. This discussi.docxfelipaser7p
 

Similar to Banking organization systemic risk report (20)

Project Risk Management PlanPurposeThis project provides
Project Risk Management PlanPurposeThis project provides Project Risk Management PlanPurposeThis project provides
Project Risk Management PlanPurposeThis project provides
 
Online Poverty Alleviation System in Bangladesh Context
Online Poverty Alleviation System in Bangladesh ContextOnline Poverty Alleviation System in Bangladesh Context
Online Poverty Alleviation System in Bangladesh Context
 
Predictive Analysis for Diabetes using Tableau
Predictive Analysis for Diabetes using TableauPredictive Analysis for Diabetes using Tableau
Predictive Analysis for Diabetes using Tableau
 
Open Budget Format
Open Budget FormatOpen Budget Format
Open Budget Format
 
Project DescriptionsData ExercisesThe purpose of the data ex.docx
Project DescriptionsData ExercisesThe purpose of the data ex.docxProject DescriptionsData ExercisesThe purpose of the data ex.docx
Project DescriptionsData ExercisesThe purpose of the data ex.docx
 
Airfare Analysis of Domestic Airlines in U.S.
Airfare Analysis of Domestic Airlines in U.S.Airfare Analysis of Domestic Airlines in U.S.
Airfare Analysis of Domestic Airlines in U.S.
 
Software Engineering- ERD DFD Decision Tree and Table
Software Engineering- ERD DFD Decision Tree and TableSoftware Engineering- ERD DFD Decision Tree and Table
Software Engineering- ERD DFD Decision Tree and Table
 
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.com
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.comSample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.com
Sample_Report_Global_Open_Banking_Market_and_Trends_2021_by yStats.com
 
Software Sizing
Software SizingSoftware Sizing
Software Sizing
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 
Ais in banking sector
Ais in banking sectorAis in banking sector
Ais in banking sector
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
BIBA implementation report final
BIBA implementation report finalBIBA implementation report final
BIBA implementation report final
 
DATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKDATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORK
 
DATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORKDATA MINING APPLIED IN FOOD TRADE NETWORK
DATA MINING APPLIED IN FOOD TRADE NETWORK
 
Hi,Please find below Project Sample as a guide ;Company Name .docx
Hi,Please find below Project Sample as a guide ;Company Name .docxHi,Please find below Project Sample as a guide ;Company Name .docx
Hi,Please find below Project Sample as a guide ;Company Name .docx
 
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...
A Preliminary Analysis Of Occupational Task Statements From The O NET Data Co...
 
Finc 3304 business finance work the web project part 2 (
Finc 3304 business finance work the web project  part 2 (Finc 3304 business finance work the web project  part 2 (
Finc 3304 business finance work the web project part 2 (
 
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docx
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docxProject DescriptionsProject DescriptionsFINANCIAL RESEAR.docx
Project DescriptionsProject DescriptionsFINANCIAL RESEAR.docx
 
Discussion 1  Analysis of Financial Statements.A. This discussi.docx
Discussion 1  Analysis of Financial Statements.A. This discussi.docxDiscussion 1  Analysis of Financial Statements.A. This discussi.docx
Discussion 1  Analysis of Financial Statements.A. This discussi.docx
 

Recently uploaded

Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 

Recently uploaded (20)

Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 

Banking organization systemic risk report

  • 1. The Banking Organization Systemic Risk Report LALIT JAIN 1
  • 2. Part 1 2 Goals 1. Scrap the website and download PDF files 2. Clean the PDF files and scrap the data from PDF in a clean consistent format Data Reference: https://www.ffiec.gov/nicpubweb/content/BHCPRRPT/BHCPR_Peer.htm Coding Language Used: Python Part 1
  • 3. Part 1: Step 1 Fetching HTML content using URLLIB and BeautifulSoup library 3
  • 4. Part 1: Step 2 After inspecting the source code of the page, we find out the table of interest and scrap using the class attribute of it 4
  • 5. Part 1: Step 3 Fetch the header of the table, using the class of ‘datagridH’ assigned to it and using ‘th’ tag to scrap the header. Finally add in the list 5
  • 6. Part 1: Step 4 Repeat the step 3, however now finding the ‘td’ tag to scrap the data inside the table. Also adding an extra date column, whose data is available in the last index of header list 6
  • 7. Part 1: Step 5 Now 1st page is scrapped, however the data is raw and needs to be cleaned. For example, ‘$’ to be removed from Total asset and converting it to a integer value. And so on. 7
  • 8. Part 1: Step 6 (a) Now the data is cleaned and in consistent format for page 1. We will use Selenium webdriver package to interact with the page and select each ‘Quarter’ 8 Here we are getting all the values from the Dropdown of the quarter and loading in an list.
  • 9. Part 1: Step 6 (b) Looping through all the values and repeating Step 4 9
  • 10. Part 1: Step 7 Final Output as shown below in the csv 10
  • 11. Exploratory Data Analysis 11 • Analyzing the banks and the total assets corresponding to each state and Ranking them based on the same. Part 1: Business Intelligence
  • 12. Going a step further.. 12 Drilling a step further , to selected companies and identifying the states and the cities where the particular company is located and total assets they posses and the comparative Ranking.
  • 13. Analyzing the Banks and their Assets 13 A comparison of the Banks and their total assets and categorizing them in to bins.
  • 14. Geo Analysis 14 Evaluating the revenues as per the State and the total values over different Period.
  • 15. Trend Analysis and Forecasting 15 Getting an insight of the Banks and analyzing the trends year over year and getting the growth rate percentage and forecasting the Future.
  • 16. Looking over the Forecasts 16 Estimating the Total assets for 2017 from the trends with R-squared and P-Value.
  • 17. Ranking the Banks 17 TOP 10 BANKS JP Morgan chase with the highest assets of 36,846 M.
  • 18. Ranking the Banks from Bottom 18 The eastern Bank having the least value of around 10M.
  • 19. Part 2 19 Goals 1. Scrap the website and download PDF files 2. Clean the PDF files and scrap the data from PDF in a clean consistent format Data Reference: https://www.ffiec.gov/nicpubweb/content/BHCPRRPT/BHCPR_Peer.htm Coding Language Used: Python Part 2
  • 20. Part 2: Step 1 Fetching HTML content using URLLIB and BeautifulSoup library. Finding all the ‘a’ tag and getting the ‘href’ attribute. Filtering out URL containing a pattern of ‘PeerGroup_1’ in which we are interested 20 Finding all the ‘a’ tag and getting the ‘href’ attribute. Filtering out URL containing a pattern of ‘PeerGroup_1’ in which we are interested. Filtered ‘url’ are now kept in the list to be used further
  • 21. Part 2: Step 2 Using the ‘urlretrive’ function from urllib package, to download the url. Looping through all the url’s in the array and downloading the files in a drive defined in the code 21
  • 22. Part 2: Step 3 Using the ‘PyPDF2’ package for Python 3.5 reading the pdf page by page. Defined a function which will take path of the pdf file and extract lines of each page in the pdf. Extracted lines is split by ‘/n’ (break) and printed to see the result 22
  • 23. Part 2: Step 4 Applying regex on the lines to remove unwanted data. 23 1) Splitting the data in each line by 2 spaces 2) Applying a function on the splitted data to remove ‘ ‘ (blank) element and appending to a list 3) Filtering the list further using list comprehension method in python to remove elements with ‘ ‘ or ‘---’ or ‘ ----’ and so on. (can be achieved through regex as well) 4) After cleaning analyzing the lengths of each list, filtering out list containing 6,5,1,4 elements which is useful 5) After the cleansing adding into the final list named ‘flines’ here
  • 24. Part 2: Step 5 Since the PDF have two tables with different number of columns. We defined a function to find 2nd table and return the index of the list where it is found in the flines list. 24
  • 25. Part 2: Step 6 Looping through the lines in flines array and adding into the arrays to make dataframe. Two loops for two tables, 1 loop ranging from flines[1:is_id] and second in the range of flines[is_id:] 25 Converting the list into a dataframe as shown below and converting to csv
  • 26. Part 2: Step 7 Looping through all the pdf files and dynamically appending the filenames of the csv 26
  • 27. Part 2: Final Output 27
  • 28. Part 3 28 Goals 1. Using 2012,2013,2014 (data Indicators, All Line Items), create dashboards in Tableau for the graphs presented in the Graphs and Time Series Sheets 2. Analyze the data using Tableau and find insights Data Reference: https://www.ffiec.gov/nicpubweb/nicweb/Y15SnapShot.aspx Reporting Tool: Tableau Part 3
  • 29. Introduction about the Data The FR Y-15 Snapshots page includes the six columns described below. As-of date: This column provides the as-of date for the data files in the given row. Indicators: The files listed in this column contain the aggregated measures of systemic importance found on the FR Y-15. All line items: The files listed in this column contain all of the public FR Y-15 data that were submitted for the given as-of date, including the aggregated measures of systemic importance captured in the indicators file. Other formats: The PDF files listed in this column contain graphs of each aggregated measure of systemic importance captured in the indicators file along with a table showing the underlying data. 29
  • 30. Assessment Indicators A bank’s score consists of a weighted average of 12 indicators across five categories. Table provides the category, line item number and weight for each indicator. 30
  • 31. Assessment Methodology It is “indicator based measurement approach” in determining whether an institution is regarded as a G-SIB. Each of these indicators is given a 20% weighting and, as specified below, most of the indicators are made up of two or more sub-indicators (with each sub-indicator given equal weighting within such category). For each bank, the score for a particular indicator or sub-indicator is calculated by dividing the relevant amount for that bank in respect of such indicator by the aggregate amount total for all banks in the sample for that indicator. In the case of sub-indicators, the score is adjusted by the relevant weighting within each category. Each indicator’s score is then aggregated. The maximum possible score (if there were only a single bank in the world) would be 5. 31
  • 32. Graphs The graphs worksheet of the Excel file provides bar graphs for each of the aggregated measures of systemic importance captured in the indicators worksheet. The data used to produce the graphs can be found in the upper right portion of the worksheet. We have pulled out tableau representation of the parameters and tried to decipher some financial information. 32
  • 33. Cross-jurisdictional activity. This indictor would measure the global footprint of the bank with the aim that the international impact from a bank’s distress or failure should vary in line with its share of cross jurisdictional assets and liabilities. There are two sub-indicators for this category: Cross-jurisdictional claims: It is proposed that this sub-indicator uses the same data used to calculate international banks’ activities outside their home jurisdiction by the Bank for International Settlements (“BIS”). Cross-jurisdictional liabilities: This sub-indicator would use the same BIS data referred to above and combine figures reported as part of the local banking statistics for the bank’s home jurisdiction with its consolidated statistics. The calculation will take into account the liabilities of all offices of the relevant bank to entities outside the home market and include all liabilities to non-residents of its home jurisdiction. 33
  • 34. 34
  • 35. 35
  • 36. 36
  • 37. Size Size will be included as an indicator on the basis that a bank’s distress or failure is more likely to damage the global economy or financial markets if its activities comprise a large share of global activity. The BCBS states that the larger the bank, the more difficult it is for its activities to be replaced by other banks in the event of its failure. Its failure is therefore more likely to damage confidence in the global financial system. It is proposed that there will be only a single indicator for size using the same definition for total exposures of a bank in calculating its leverage ratio. 37
  • 38. 38
  • 39. Interconnectedness Financial distress at an institution can materially raise the likelihood of contagion in respect of other institutions depending on the network of contractual obligations in which it operates. This indicator is made up of three sub-indicators: Intra-financial system asset: The sum of (i) lending to financial institutions (including undrawn commitments), (ii) holdings of securities issued by other financial institutions, (iii) net mark to market reverse repos, (iv) net mark to market securities lending to other financial institutions, and (v) net mark to market OTC derivatives with financial institutions. Intra-financial system liabilities: The sum of (i) deposits by financial institutions at the relevant bank, (ii) securities issued by the bank owned by other financial institutions and liabilities of the nature specified under (iii) to (v) of intra-financial system assets above. 39
  • 40. 40
  • 41. 41
  • 42. 42
  • 43. Substitutability Systemic impact of a bank’s distress or failure is expected to be negatively related to the substitutability of its services. Where there is a lack of realistic alternatives to a major business line or service of the bank, the greater the effect its failure is likely to cause. It is also noted that the cost to the failed bank’s customers in having to seek the same service at another institution is likely to be higher for a failed bank with a large market share in respect of the relevant service. There are three sub-indicators: Assets under custody: The BCBS notes that the failure of a large custodian bank holding client assets could disrupt the operation of financial markets, and this indicator is the value of assets that a bank holds as a custodian divided by the sum total reported by the banks in the sample. Payments cleared and settled through payment systems: The BCBS concludes that a bank which is involved in a large volume of payments is likely to act on behalf of a large number of other institutions and customers including retail customers. If it were to fail, these institutions and customers may be unable to process payments immediately, affecting their liquidity. This sub-indicator is calculated as the value of a bank’s payments sent through all of the main payment systems of which it is a member divided by the total reported by all the banks in the sample. Value of underwritten transactions in debt and equity markets. The BCBS states that the failure of a bank with a large share of debt and equity underwriting in the global markets may significantly impede new securities issuance. The indicator is calculated as the annual value of debt and equity instruments underwritten by the bank divided by the aggregate figure for all the banks in the sample. 43
  • 44. 44
  • 45. 45
  • 46. 46
  • 47. Complexity Systemic impact of a bank’s distress or failure is likely to be greater, the more complex its business, structure, and operations are. It specifies sub-indicators: OTC derivatives: The calculation is made by reference to the gross nominal or notional value of all OTC derivatives not cleared through a central counterparty and not settled at the reporting date. Level 3 assets: These are defined as assets whose fair value cannot be determined using observable measures (such as market prices or models) and are therefore illiquid. The indicator for each bank is calculated as the ratio of its reported value of level 3 assets and the aggregate of such values reported by all banks in the sample. Trading book value and “available for sale” value: The BCBS states that banks holding financial securities in the trading book and “available for sale” securities are vulnerable to mark to market losses and subsequent fire sales of the securities in situations of financial stress. This can drive down the price of such securities leading to the write-down in the value of the same securities held by other institutions. This sub-indicator is calculated as the ratio of the total value of the banks’ holding of securities in the trading book and available for sale securities to the total value of such securities held by banks in the sample. 47
  • 48. 48
  • 49. 49
  • 50. 50
  • 51. Systemic Score (bps) Systemic risk scores are based on size, interconnectedness, substitutability, complexity, and cross- jurisdictional activities. Data must be converted from the reporting currency to euros using the exchange rates, denominators are published on the Committee’s G-SIB webpage. To calculate the scores for the five categories, the scores for the indicators that fall within each category are averaged. The final score is produced by averaging the five category scores. Formula Used in Tableau
  • 52. Exposures vs Assets Charts represents two measures of size, total assets and total exposures, the size measure used in the G-SIB methodology that includes derivative positions and securities financing transactions, such as repurchase agreements and securities lending. JPMorgan, Citigroup, BOfA, Wells Fargo have exposure more that the their assets while Goldman Sachs and Morgan Stanley have substantially more that Assets than exposure. In all the years the trend remained pretty much the same, this is 2013 representation.
  • 53. Liabilities vs Assets The bubble sizes are proportional to each bank’s total exposures. Banks above the diagonal line had net obligations to the financial system, and banks below the diagonal line had net claims on the financial system. Differences in these indicators of interconnectedness partly reflect differences in activities measured by the substitutability and complexity indicators: those above the line generally have large payments activities or assets under custody, while those below the line generally have large trading, derivatives, and underwriting operations. Net Borrowers Net Lenders Bubble size shows total exposures
  • 54. Liabilities vs Assets Banks with large foreign claims are also highly interconnected to the financial system. The bubble sizes reflect firm size, based on total exposures. Again, the largest banks are the most interconnected and they are involved in the most cross-jurisdictional activity.