34
1 © 2018 The MathWorks, Inc. Streamlining Financial Modelling: From Development to Approval to Production with MATLAB David Sampson MathWorks

Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

1© 2018 The MathWorks, Inc.

Streamlining Financial Modelling:

From Development to Approval to Production

with MATLAB

David Sampson

MathWorks

Page 2: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

2

Workflows

• How they work

• Why they work

Technology

• Environment

• Toolboxes

• Integrations

Landscape

• Requirements

• Challenges

Page 3: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

3

Workflows

• How they work

• Why they work

Technology

• Environment

• Toolboxes

• Integrations

Landscape

• Requirements

• Challenges

Page 4: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

4

Model risk management regulations

2000

OCC 2000-16First regulatory definition of models and risk

2006

CEBS GL10Basel 2, new validation requirements

2011

OCC/FED SR11-7First comprehensive supervisory guidance on model risk management

2013-14

CRDIV – CRR

EBA SREP

CP/2014/14

Model risk integrated as part of Pillar 2 (Europe)

2016

TRIM

RTS2016/03

3 Lines of Defence

Page 5: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

5

Risk Management

Definition

Framework

Development

Review

Page 6: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

6

Regulator requirements

Risk Management

Definition

Framework

Development

Review

Page 7: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

7

Definition

Development

ValidationApproval

Deployment

Monitoring

Backtesting

Alerts

Inventory

Scope

Internal

Independent

Management

Regulator

Integration

Testing

Assumptions

Limitations

Page 8: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

8

Institution challenges

Definition

Development

ValidationApproval

Deployment

Monitoring

Page 9: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

9

Workflows

• How they work

• Why they work

Technology

• Environment

• Toolboxes

• Integrations

Landscape

• Requirements

• Challenges

Page 10: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

10

Page 11: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

11

In the beginning…

Read more at

Cleve's Corner

Page 12: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

12

Desktop

Page 13: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

13

Editor Debug

me!

Page 14: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

14

Graphics

Generate

code!

Page 15: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

15

Toolboxes

Page 16: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

16

Documentation Browser

Page 17: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

17

Variable Editor

Page 18: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

18

Live Editor

Change

me!

Page 19: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

19

Apps

Generate

code!

Page 20: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

20

Toolbox Packaging

Page 21: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

21

Report Generator

Page 22: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

22

Parallel

▪ High-level: parfor, gpuArray

▪ Low-level: batch, createJob, createTask

▪ Big data: tall, mapreduce

GPU

Multi-core CPU

Page 23: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

23

Enterprise integration

Preprocess DataDevelop Predictive

Models

Integrate Analytics

with Systems

MATLAB

MDCS

Request

Broker

MATLAB Production Server

Azure

IoT Hub

PI System

AWS

Kinesis

Azure

Blob

PI System

Databases

Cloud Storage

Cosmos

DB

Big Data / OT

Access and Explore

Data

Streaming

OT Platforms

Dashboards

Page 24: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

24

Page 25: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

25

Workflows

• How they work

• Why they work

Technology

• Environment

• Toolboxes

• Integrations

Landscape

• Requirements

• Challenges

Page 26: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

26

Integrate Analytics

with Systems

Desktop Apps

Enterprise Scale

Systems

Embedded Devices

and Hardware

Files

Databases

Sensors

Access and Explore

Data

Develop Predictive

Models

Model Creation e.g.

Machine Learning

Model

Validation

Parameter

Optimization

Preprocess Data

Working with

Messy Data

Data Reduction/

Transformation

Feature

Extraction

Page 27: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

27

Page 28: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

28

Page 29: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

29

Data preparation

Assemble a sufficient volume of clean data of known provenance.

>> importdata

Page 30: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

30

Model generation

Create models with the required accuracy and reach, while driving insight.

Page 31: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

31

Documentation generation

Generate an accurate, insightful description of the study in a timely manner.

Page 32: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

32

Model review

Provide an accurate, thorough view of the study that allows others to engage.

Documents

Models

Examples

Toolbox code

Page 33: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

33

Provide approved, accurate, current models for use throughout the business.

Model deployment

Page 34: Streamlining Financial Modeling · •Challenges. 3 Workflows •How they work •Why they work Technology •Environment •Toolboxes •Integrations Landscape •Requirements •Challenges

34