an agent-based model for assessing financial vulnerabilities rick bookstaber office of financial...

35
An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models and Mechanisms August 28, 2014 1

Upload: helena-potter

Post on 28-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

1

An Agent-based Model forAssessing Financial Vulnerabilities

Rick BookstaberOffice of Financial Research

Isaac Newton InstituteSystemic Risk: Models and Mechanisms

August 28, 2014

Page 2: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

2

• Established by the Dodd-Frank Act• Independent agency, housed in the Department of Treasury• Tasks are to

– Support the inter-agency Financial Stability Oversight Council– Facilitate analysis of the financial system– Improve the quality of financial data available to policymakers

• No regulatory authority

Background: The Office of Financial Research

Page 3: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

3

• Version 1.0: Historical Data – VaR Models

• Version 2.0: Static Scenarios – Stress Tests

• Version 3.0: Dynamic Interaction – Agent-based Models

Risk Management – Versions 1.0 to 3.0

Page 4: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

4

Asset-based Fire Sale• Asset (Price) Shock → Forced Sales → Shock to other Assets

=> Cascades + Contagion

Funding-based Fire Sale (Funding Run)• Funding Shock → Forced Sales → Further Funding Reduction

=> Cascades + Contagion

Leverage- and Liquidity-drivenAsset-based Fire Sales ↔ Funding-based Fire Sales

The Problem to Solve: Fire Sale Dynamics

Page 5: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

5

What is an Agent-based Model (ABM)

Agents pursue their activities period by period• Agents are heterogeneous• Can use heuristics rather than optimize• Observe and react to the changing environment• Influence one another; interdependent with dynamic interaction

ExampleAnalysis of traffic flows

Bookstaber (2012), Using Agent-Based Models for Analyzing Threats to Financial Stability, OFR Working Paper No. 3.

Page 6: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

6

Applications of the Agent-based Model

Detect Vulnerabilities (Pre-Shock)• What are the dynamic, knock-on effects

Weather Service (Post-Shock)• Are we on the hurricane’s path; how bad will it be

Policy Planning and Actions (Pre- and Post-Shock)• Where do we put the emergency shut-off valves; which do we close• When do we provide asset and funding liquidity

Data Needs• How much can things be improved with better data

Page 7: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

7

ABM Schematic – Flows Between the Agents

Page 8: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

8

The Agents Caught Up in Fire Sales

BANK/DEALER

Prime Brokerage

Finance Desk

Derivatives Desk

CASH PROVIDERS

HEDGE FUNDS

ASSE

T M

ARKE

T

Trading Desk

Treasury

INVE

STO

RS

INSTITUTIONSOTHER BANK/

DEALERS

INSTITUTIONSOTHER BANK/

DEALERS

Flow of CollateralFlow of Funding

Asset-based Fire Sale Funding-based Fire Sale

Page 9: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

9

Maturity transformation • Short-term deposits to long-term loans.

Credit transformation• Structured products with tranches of varying credit risk.• Safe money into funding for risky hedge funds.

Collateral transformation• Lower quality collateral to higher quality collateral.

Liquidity transformation • Market making.• Repackaging assets into liquid vehicles, such as ETFs.

Risk transformation • Selling off part of the return distribution via derivatives.• Tranches with varying risk characteristics.

Transformations of Flows in the ABMThe Financial System as a Production Plant

Page 10: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

10

A Model Run

The model can have an any number of agents , markets, and iterations.

In this model parameterization we have:• Three Assets: A0, A1, A2• Two Hedge Funds: HF1, HF2 • Two Bank/Dealers: BD1, BD2• One Cash Provider: CP1

• Run over 1000 iterations

HF1, BD1 Portfolio: {A0, A1}HF2, BD2 Portfolio: {A1, A2}

Page 11: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

11

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 12: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

12

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 13: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

13

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 14: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

14

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 15: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

15

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 16: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

16

Schematic for Looking at the Network Dynamics

• Thickness of links shows cumulative effect.• Color of links shows intensity of effect in the current period.• Amount of node that is colored shows capital, funding, or price

relative to initial value.

Page 17: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

17

• A0 experiences a 15% price shock• BD1 and HF1 hold A0 in their portfolio• CP holds A0 as collateral• The end of the story for the standard stress test

Period 0: The Static Stress – A 15% Price Shock to A0

Period 0

Page 18: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

18

• BD1 and HF1 decrease positions in both A0 and A1• This creates a downward cycle for A0 and a drop in A1• It also affects other agents holding A0 or A1• CP1 reduces funding as its collateral value drops

Period 2: Cascade in A0 and Contagion through A1

Period 0 Period 2

Page 19: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

19

• The drop in prices ignites a funding-based fire sale through CP1• The dynamic spreads due to credit exposure from BD1 to BD2 • This can lead to difficulty in identifying the source of contagion

Period 4: Credit and Funding Effects

Period 2 Period 4

Page 20: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

20

• The fire sale reaches its end. • In this run BD1, HF1, and HF2 have defaulted

Period 6: Collateral and Capital Damaged

Period 4 Period 6

Page 21: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

21

Sources of Shock

Asset Market: Price Shock Cash Provider: Funding Shock

Bank/Dealer: Credit Shock Hedge Fund: Redemption Shock

Page 22: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

22

Tracking the Propagation of Shocks

Asset Market: Price Shock Cash Provider: Funding Shock

Bank/Dealer: Credit Shock Hedge Fund: Redemption Shock

Page 23: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

23

ConclusionWhat Does Version 3.0 Mean at the Firm Level

Dynamic Stress Testing• Are you on the hurricane's path?• Will you become collateral damage

Salvaging VaR• Crisis VaR and the VaR multiplier

Catching Falling Knives• Being a liquidity supplier of last resort

Page 24: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

24

ABM and VaR

• The fire sale cascade leads to a downward skew for the capital post-shock.• Red lines are the mean and 5%/95% envelope, 1000 runs of a 15% shock in Asset 1.

0 2 4 6 8 10 12 14 16 18$0

$2

$4

$6

$8

$10

$12

$14

Period Post Asset 1 Shock

Cap

ital

of F

irm

($B

B)

-5-4-3-2-1 0 1 2 3 4 5 6 7 8 9 10-70%-60%-50%-40%-30%-20%-10%

0%10%20%

99.0% 95.0%Mean 5.0%

Period Post Asset 1 ShockCa

pit

al C

han

ge o

f Fir

m

Page 25: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

25

Networks and Agent-based Models

Using the “Maps” to Create a Multi-layer Network• Funding Map• Collateral Map• Assets Map

What agents faciliate movement from one layer to another

Using the ABM to Create and Analyze Dynamical Networks• Nodes provide transformations and to respond to the environment• Changes in the size (and existence) of nodes• Links vary in size of flows, and in their effect on the behavior of the

transformations in the nodes

Page 26: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

26

Question: Testing the Agent-based Model

Parameter Realism• Do parameter values of real-world agents lead to real-world dynamics

Comparative Statics • Do things move in the right direction, by the right amount, from a reasonable

initial value• Is there common sense consistency

Stylized Facts• Do we see agents and markets behave in the right way

Back Testing• Can we reproduce past events

Page 27: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

27

Question: Populating the Model with Data and Rules

Data• Exposures: dominant investment themes, credit• Funding: sources, durability, leverage, collateral• Prices: “big trade” liquidity• Frequency: Exposures and funding build and change slowly• Completeness: More is better; less can still work

Agents’ Rules • Many actions during stress are pre-determined and non-proprietary

Page 28: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

28

Cash Provider

Home

Page 29: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

29

Asset

Home

Page 30: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

30

Derivatives Desk

Home

Page 31: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

31

Treasury

Home

Page 32: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

32

Prime Broker

Home

Page 33: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

33

Finance Desk

Home

Page 34: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

34

Hedge Fund / Trading Desk

Page 35: An Agent-based Model for Assessing Financial Vulnerabilities Rick Bookstaber Office of Financial Research Isaac Newton Institute Systemic Risk: Models

35

Hedge Fund / Trading Desk

Home