Real-time risk management coupled with the requirements for regulatory reporting are top of mind for many heads of risk; to meet the demands of new regulation financial organizations must have technology that enables the business to easily calculate and analyze risk across products and channels. In this webinar, we will cover how organizations use MongoDB for:
* Implementing proactive risk controls
* Aggregated Risk on Demand, Creating an Adaptive Regulatory Reporting Platform
* Cost Effective Risk Calculations
Webinar: How Financial Organizations use MongoDB for Real-time Risk Management & Regulatory Reporting
1. How Financial Services
Organizations use MongoDB for
Real-Time Risk and Regulatory
Reporting
- Jim Duffy: Business Architect Global Financial Services
- Kunal Taneja: Solutions Architect Financial Services
2. 2
Agenda
• The Challenges
• Evolution of Information Management in Finance
• Common Positioning of MongoDB for Risk & Regulatory
• 4 Important terms
• How MongoDB’s cluster topology addresses Risk &
Regulatory Challenges
• Aggregated Risk on-Demand
4. 4
Challenges in Regulatory Requirements
2012 2013 2014 2015 2016 2017 2018 2019
ICB Ring-fencing
ICB Loss
Absorbency
Leverage
Ratio -
Basel III
NSFR –
Basel III
MiFID II
T2S
LCR –
Basel III
ICB /
Competition
Audit
Policy
Cross
Border Debt
Recovery
Financial
Transaction
Tax
Market
Abuse
Directive
(MAD II)
PRIP
Accounting
Directive
Review
AIFM
Directive
EU
Transparency
Directive
EU Reg on
Credit
Rating
Agencies
CRDV
Internal
Governance
GuidelinesFATCA
PD
EMIR
SWAPS Push
Out – Dodd
Frank
Securities
Law
Directive
(SLD)
Volker Rule –
Dodd Frank
Short
Selling
Close Out
Netting
Crisis
Management
Recovery &
Resolution
5. The Evolution of Information
Management in Finance
- Jim Duffy Business Architect Global Financial Services
6. 6
Evolution of Information Management
Risk
Compute
Grid (VaR)
Regulatory
Reporting
Platform
Market Abuse
and Compliance
Markets, MTFs,
Internal Liquidity,
etc
EquitiesSwaps DerivativesRates
7. 7
Asset Class Silos
Warehouse /
Repository(s)
Risk
Compute
Grid (VaR)
Regulatory
Reporting
Platform
Market Abuse
and Compliance
Reference
Data
Markets, MTFs,
Internal Liquidity,
etc
Operational
Systems
Operational Data
Store(s)
Reporting
Operational
Systems
Reporting
Operational
Systems
Reporting
Operational
Systems
Reporting
Warehouse /
Repository(s)
Operational Data
Store(s)
Warehouse /
Repository(s)
Operational Data
Store(s)
Warehouse /
Repository(s)
Operational Data
Store(s)
EquitiesSwaps DerivativesRates
8. 8
Cross Asset Class Warehouse / Repository(s)
Risk
Compute
Grid (VaR)
Regulatory
Reporting
Platform
Market Abuse
and Compliance
Reference
Data
Markets, MTFs,
Internal Liquidity,
etc
Operational
Systems
Operational Data
Store(s)
Reporting
Operational
Systems
Operational
Systems
Operational
Systems
Operational Data
Store(s)
Operational Data
Store(s)
Operational Data
Store(s)
EquitiesSwaps DerivativesRates
Cross Asset Class Data Warehouse
9. 9
In Memory Cache, Replication and Relational Database Technology
Markets, MTFs,
Internal Liquidity,
etc
Operational
Systems
Operational Data
Store(s)
Data Services / Reporting
Operational
Systems
Operational
Systems
Operational
Systems
Operational Data
Store(s)
Operational Data Store(s)
Risk
Compute
Grid (VaR)
Regulatory
Reporting
Platform
Market Abuse
and Compliance
Reference
Data
Cross Asset
Data
Warehouse
EquitiesSwaps DerivativesRates
Cross Asset Class Caching Layer
10. 10
Markets, MTFs,
Internal Liquidity,
etc
Operational
Systems
Data Services / Reporting
Operational
Systems
Operational
Systems
Operational
Systems
Operational Data Layer (ODL)
Risk
Compute
Grid (VaR)
Regulatory
Reporting
Platform
Market Abuse
and Compliance
Reference
Data
Cross Asset
Data
Warehouse
EquitiesSwaps DerivativesRates
mongoDB as an Operational Data Layer
12. 12
4 Important Terms
• Shard: Essentially a partition of horizontally scaling data
• Replica: Copies of data for high availability, disaster
recovery and work load isolation
• Shard Tagging: Method of dispatching data in a cluster
• Replica Tagging: Method of isolating work loads in a
cluster
16. 16
mongoDB Terminology
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Shard Replica
Shard: A subset of a horizontally scaling data set
Replica: A copy of a data set for high availability,
redundancy and work load isolation
17. 17
mongoDB Terminology
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Shard Tagging: Dispatches writes by asset class and geography
Shard Tag By Asset Class and Geography
18. 18
mongoDB Terminology
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Replica Tag dedicated to the Intraday VaR data service
Shard Tagging: Dispatches writes by asset class and geography
Replica Tagging: Ensures isolation of work loads
Shard Tag By Asset Class and Geography
20. 20
Active Risk Control Framework
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Task: Implement globally consistent active risk controls while
maintaining local governance of asset class specific controls
21. 21
Active Risk Control Framework
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Task: Implement globally consistent active risk controls while
maintaining local governance of asset class specific controls
Blacklisted instruments centrally controlled and monitored
22. 22
Active Risk Control Framework
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Task: Implement globally consistent active risk controls while
maintaining local governance of asset class specific controls
Blacklisted instruments centrally controlled and monitored
Asset Class specific controls locally governed
23. 23
Adaptive Regulatory Reporting
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Task: Implement a cross asset class regulatory reporting platform
which will keep pace with change and enable a 360 degree view of risk
24. 24
Adaptive Regulatory Reporting
EquitiesSwaps DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
Task: Implement a cross asset class regulatory reporting platform
which will keep pace with change and enable a 360 degree view of risk
MiFID2Dodd-Frank
NFA, CFTC, FSA, etc
MiFID2
25. 25
Benefits of an Operational Data Layer
• Change management of source systems is handled
by the dynamic schema
• Elimination of many data stores for one data layer
cuts down cross-talk and data duplication
• Having one data layer geographically distributed
allows global governance and a holistic view while
not impeding local entities to function as need be
• Workload isolation is achieved via tagging data for
specific use
27. 27
• Regulators are pushing for “better” Risk
aggregation capabilities in banking post 2007
Aggregated Risk on Demand
http://www.bis.org/publ/bcbs239.pdf
28. 28
Aggregated Risk on Demand
Principle 4 – Completeness
• “… Data should be available by business line, legal entity, asset type,
industry, region and other groupings that permit identifying and
reporting risk exposures, concentrations and emerging risks”
EquitiesBonds DerivativesRates
US EU Asia US EU Asia US EU Asia US EU Asia
Primary
Secondary
Secondary
29. 29
Aggregated Risk on Demand
Principle 5 – Timeliness
• “…A bank should be able to generate aggregate and up to date risk
data in a timely manner while also meeting the principles relating to
accuracy and integrity, completeness and adaptability ….”
Cross Asset
Data
Warehouse
Operational
Systems
Operational
Systems
Operational
Systems
Operational
Systems
EquitiesBonds DerivativesRates
Extract – Transform - Load
VaR
Calculator
Time??
30. 30
• Historical Simulation
– Recent surveys points to gaining acceptance of this methodology
– Basic versions of this methodology don’t make use of Var/CoVar
• Generate future scenarios by making use of historical market data
– 1 day holding period using 220 days of history
– 10 day holiday period using 2200 days etc..
• Re-value position based on simulated return scenarios, order the loss
distribution and read of and confidence level (99% VaR or 95% Var)
Aggregated Risk on Demand
Historical Simulation
31. 31
• Fast access to large amounts of stored data
– Historical data spanning up to 10 years
• Parallel aggregation across stored data
– Sort time series
• Scale out and Parallel execution across stored
data
– Use Map Reduce e.g. Black-Scholes
• Flexible schema (document) for storing return
series
– Linear scalability and de-normalise without Joins
Aggregated Risk on Demand
Why MongoDB?
32. 32
Aggregated Risk on Demand
Why MongoDB?
Primary
Risk Application
(Historical Simulation)
Aggregation
Aggregation Aggregation
Operational
Systems
Operational
Systems
Operational
Systems
Operational
Systems
EquitiesBonds DerivativesRates
Aggregation
Quant Library
Aggregation
Aggreg
ation
36. 36
db.pkg.aggregate(
{ $match : {book_id:{$in:[<book_id_list>]}, "risk_factor":"ftse100"} },
{ $group:{_id:{"cob_date":"$cob_date", "report_status":"$report_status"},
"temparray":{$push:{"book_id":"$book_id","pnl":"$pnl"}}} },
{ $sort:{"_id.cob_date":-1} },
{ $unwind:"$temparray" },
{ $unwind:"$temparray.pnl" },
{ $group:{ "_id":{"cob_date":"$_id", "mcrun":"$temparray.pnl.r"},
"var":{$sum:"$temparray.pnl.v"}} },
{ $project:{"_id":0,"var":1} },
{ $sort:{var:-1} },
{ $skip:100 },
{ $limit:1 }
)
Sort by var
Skip 100 records (1%)
Read of VaR
Group by MC Run Id
List of Book’s in Hierarchy
Risk Repository
Aggregating VaR
38. 38
For More Information
Resource Location
MongoDB Downloads mongoDB.com/download
Free Online Training Education.mongoDB.com
Webinars and Events mongoDB.com/events
White Papers mongoDB.com/white-papers
Case Studies mongoDB.com/customers
Presentations mongoDB.com/presentations
Documentation docs.mongodb.org
Additional Info info@mongoDB.com
Resource Location
41. 41
Source Layer BI Abstraction &
Reporting Layer
Acquisition Layer
Extraction &
Staging
Cleansing
Atomic Layer
MDM
Ad-hoc reports &
Analytics
Dashboards &
Web Reports
Web Services
Corporate Data Warehouse
Data Lineage and Metadata
ETL
Transformation & Access
Layer
Transformation &
Calculation
Performance &
Access
Change Data
!
Reject Data
Data
not
null
Data
within
range
Data
in right
format
Normalisation
& Storage
FS/Banking Challenges
1. Changing Regulatory Requirements