![Page 1: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/1.jpg)
1© 2012 The MathWorks, Inc.
Computational Finance with MATLAB
MathWorks Computational Finance Team
![Page 2: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/2.jpg)
2
Challenges in Financial Analysis
Volatile markets
– Ever-changing needs
Lack of computing power
– Large data, large models
Increased transparency
– More auditing and regulation
– More sharing with colleagues
ManagementTraders
Quant Group
Financial
Engineer
Regulators Clients Partners
Other groups
![Page 3: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/3.jpg)
3
Who uses MATLAB in Financial Services?
The top 15 asset-
management companies
The top 10 U.S. commercial
banks
11 of the top 15 hedge funds
The reserve banks of all
OECD member countries
The top 3 credit rating
agencies
![Page 4: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/4.jpg)
4
MATLAB Application Areas in Finance
Investment Management
Risk Analysis
Insurance
Economics/Econometrics
Trading
Pricing & Valuation
More details & user stories at mathworks.com/financial-services
![Page 5: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/5.jpg)
5
Credit Risk Analysis
Assess the Credit Value-at-
Risk of a bond portfolio
– 1311 different obligors
– 12 different industries
– Maturities in 1 to 4 years
Compute credit ratings
Model credit transitions
Simulate credit events &
analyze portfolio losses
93.68%
2.44%
0.14%
0.03%
0.03%
0.00%
0.00%
0.00%
5.55%
92.60%
4.18%
0.23%
0.12%
0.00%
0.00%
0.00%
0.59%
4.03%
91.02%
7.49%
0.73%
0.11%
0.00%
0.00%
0.18%
0.73%
3.90%
87.86%
8.27%
0.82%
0.37%
0.00%
0.00%
0.15%
0.60%
3.78%
86.74%
9.64%
1.84%
0.00%
0.00%
0.00%
0.08%
0.39%
3.28%
85.37%
6.24%
0.00%
0.00%
0.00%
0.00%
0.06%
0.18%
2.41%
81.88%
0.00%
0.00%
0.06%
0.08%
0.16%
0.64%
1.64%
9.67%
100.00%
AAA AA A BBB BB B CCC D
AAA
AA
A
BBB
BB
B
CCC
D
![Page 6: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/6.jpg)
6
Traditional Approach Challenge
Challenges Faced During Model Development
Off-the-shelf software Inability to customize
Third-party consulting Lack of transparency
Spreadsheets, ExcelSubpar computational
speed, limited data size
In-house development with
traditional languagesLong development time
Combination of the aboveInefficiencies in
Integration & Automation
![Page 7: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/7.jpg)
7
Computational Finance Workflow
Research and Quantify
Data Analysis
& Visualization
Financial
Modeling
Application
Development
Reporting
Applications
Production
Share
Automate
Files
Databases
Datafeeds
Access
![Page 8: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/8.jpg)
8
Excel spreadsheets and flat files
ODBC or JDBC compliant databases
Data feeds including Bloomberg, Reuters, Factset®, eSignal® and others
Web services (SOAP)
Connect to Data from Various Sources
![Page 9: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/9.jpg)
9
Mathematics Regression (Linear, Non-Linear)
Curve Fitting
Probability Distributions, RNG
Clustering
Multivariate & Factor Analysis
Predictive Modeling, AI
Optimization, Parameter Estimation
Leverage Built-in Functions to Save Time
Financial Modeling Portfolio Optimization & Analysis
Derivative Pricing & Hedging
Yield Curve Modeling
Monte Carlo Simulation
Risk Quantification
ARMA/GARCH Analysis
![Page 10: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/10.jpg)
10
CalPERS Analyzes Currency
Market Dynamics to Identify
Intraday Trading Opportunities
ChallengeDevelop an intraday trading model for currency
markets
SolutionUse MATLAB and companion toolboxes to quantify
market dynamics by analyzing millions of rows of
historical market data
Results Development time reduced by months
Profitable market dynamic identified
Market insight gained
“My expertise is in finance, not
programming. To perform sophisticated
analysis on vast amounts of data, I
needed software that was easy to use
and included many of the functions I
needed. With MATLAB I can do
everything in one environment, and that
is a real benefit.”
Omid Rezania
CalPERS
CalPERS intraday currency volatility analysis.
Link to user story
![Page 11: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/11.jpg)
11
Traditional Approach Challenge
Off-the-shelf software Inability to customize
Third-party consulting Lack of transparency
Spreadsheets, ExcelSubpar computational
speed, limited data size
In-house development with
traditional languagesLong development time
Combination of the aboveInefficiencies in
Integration & Automation
Challenges Faced During Model Development
![Page 12: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/12.jpg)
12
Traditional Approach Challenge
Off-the-shelf software Inability to customize
Third-party consulting Lack of transparency
Spreadsheets, ExcelSubpar computational
speed, limited data size
In-house development with
traditional languagesLong development time
Combination of the aboveInefficiencies in
Integration & Automation
Challenges Faced During Model Development
![Page 13: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/13.jpg)
13
Challenge Solution
Inability to customizeFlexible modeling
Complete development environment
Lack of transparencyWhite-box modeling
Viewable-source functions
Subpar computational
speedsPowerful computation engine
Run fast Monte-Carlo simulations
Long development timeQuick prototyping
Focus on modeling not programming
Inefficiencies in
IntegrationEasy to Integrate & Deploy
Point-and-click workflow
MATLAB Solutions
![Page 14: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/14.jpg)
14
Finance Application Examples
Economic Modeling &
Forecasting
Cash-flow Hedging &
Scenario Analysis
Credit Value-at-Risk
More focused webinars available at mathworks.com/recordedwebinars
![Page 15: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/15.jpg)
15
Computational Finance Workflow
Financial
Statistics Optimization
Fixed Income Financial Derivatives Econometrics
MATLAB
Parallel Computing MATLAB Distributed Computing Server
Files
Databases
Datafeeds
Access
Reporting
Applications
Production
Share
Data Analysis and Visualization
Financial Modeling
Application Development
Research and Quantify
Datafeed
Database
Spreadsheet Link EX
Builder NE
Builder EX
Builder JA
MATLAB Compiler
Re
po
rt Ge
ne
rato
r
![Page 16: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/16.jpg)
16
Support and Community
![Page 17: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/17.jpg)
17
Training
Three ways to get training
– Public training
Offered throughout the world
Schedule and course information at www.mathworks.in/training
– Onsite training
Bring training to your site, with course customization available
– Web-based training
Instructor-led e-learning
Train at work or at home, with flexible dates and times
Example course topics
– Introductory and intermediate training on MATLAB, Simulink, Stateflow,
and Real-Time Workshop
– Specialized courses in control design, signal processing, parallel computing,
code generation, communications, financial analysis, and other areas
www.mathworks.in/training
![Page 18: Computational Finance with MATLAB - MATLAB … · Computational Finance with MATLAB ... Solution Use MATLAB and companion toolboxes to quantify market dynamics by analyzing millions](https://reader033.vdocuments.site/reader033/viewer/2022052121/5b8632297f8b9a3a608c44c4/html5/thumbnails/18.jpg)
18
Technical Support
Resources
Over 100 support engineers
– All with MS degrees (EE, ME, CS)
– Local support in North America,
Europe, and Asia
Comprehensive, product-specific Web
support resources
High customer satisfaction
95% of calls answered
within three minutes
70% of issues resolved
within 24 hours
80% of customers surveyed
rate satisfaction at 80-100%
www.mathworks.in/support