13
1 © 2015 The MathWorks, Inc. Simulink as a Modeling and Simulation Tool for Finance and Econometrics Stuart Kozola MathWorks

Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

1© 2015 The MathWorks, Inc.

Simulink as a Modeling and Simulation Tool for

Finance and Econometrics

Stuart Kozola

MathWorks

Page 2: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

2

Page 3: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

3

Do You Speak MATLAB?Solve Systems of Linear Equations

𝑨 𝑥 = 𝑏𝑥 = 𝐴\b;

Page 4: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

4

What would you speak here?Solve Systems of Differential (w.r.t time) Equations

𝑥 − 𝑨 𝑥 = 𝑏?

Page 5: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

5

What would you speak here?Solve Systems of Differential (w.r.t time) Equations

𝑥 − 𝑨 𝑥 = 𝑏

Symbolic Solution Numeric Solution Do You Speak Simulink?

Page 6: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

6

What is Simulink?A Platform for Modeling and Simulating Dynamic Systems

Continuous Time System

Discrete Time System

Physical Systems

Logic Based System

Event-Based Systems

SimScape

Stateflow

SimEvents

Page 7: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

7

Can Simulink Model Stochastic Systems?A Random Walk

Models can be linked to

Documented Requirements

Page 8: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

8

Continuous Time SystemIdealized Stock Trading Simulation

Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”,

Proceedings of IFAC World Congress, pp. 1621-1626, Seoul, Korea, July 2008

Page 9: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

9

Stochastic Discrete Time SystemPractical Stock Trading Simulation

Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”,

Proceedings of IFAC World Congress, pp. 1621-1626, Seoul, Korea, July 2008

Page 10: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

10

Complex Logic Driven SystemBayesian Market Maker

Model derived from Sanmay Das, “Intelligent Market-Making in Artificial Financial Markets”, S.M. Thesis,

Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, 2002

Page 11: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

11

Simulink for Financial Modeling and SimulationSimulink Products Covered Today

Simulink

– Block diagram environment for modeling and

simulating dynamic systems

Stateflow

– Model and simulate decision logic using state

machines and flow charts

SimEvents

– Model and simulate discrete-event systems

Page 12: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

12

Will You Learn to Speak Simulink?

Page 13: Simulink as a Modeling and Simulation Tool for Finance and ......Model derived from B. R. Barmish, “On Trading of Equities: A Robust Control Paradigm”, Proceedings of IFAC World

13

© 2015 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of

additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.