SlideShare a Scribd company logo
1 of 1
Download to read offline
COMPUTATIONAL FINANCE USING MATLAB
Our online Tutors are available 24*7 to provide Help with Computational Finance
Homework/Assignment or a long term Graduate/Undergraduate Computational Finance Project. Our
Tutors being experienced and proficient in Computational Finance ensure to provide high quality
Computational Finance Homework Help. Upload your Computational Finance Assignment at ‘Submit
Your Assignment’ button or email it to info@assignmentpedia.com. You can use our ‘Live Chat’
option to schedule an Online Tutoring session with our Computational Finance Tutors.
MONTE CARLO SIMULATION FOR PORTFOLIO ASSETS
This sample assignment Simulate sample path allow us to see the pattern that assets price will face.
Crucial to hedge risk.
PortfolioMontecarlo.m
Stock1=[BAC]; %Matrix of prices (2012)
Stock2=[GE]; %Matrix of prices (2012)
RetStock1=ret2price(Stock1);
RetStock2=ret2price(Stock2);
Returnone=[Mean(RetStock1); Mean(RetStock2)];%We need aggregate the data
SigmaStock1=std(RetStock2);
SigmaStock2=std(RetStock2);
Sigmas=[SigmaStock1; SigmaStock2];% Aggregate the data
Correlation=corrcoef(RetStock1, RetStock2);
Covariance=corr2cov(Sigmas, Correlation);
startprice=[20.65; 11.59];
numobs=249; % 1 calendar year
numsim=1000;% Num Simulation
numassets=2; %Only Two asset
retintervals=1; %One day Trading on Exchange Market
RetExact=portsim(ExpReturn, ExpCovariance, Numobs, Retintervals, Numsim, 'Exact');
ReturnExact=RetExact(:,:,1)/100;%Convert Chart into Numeric (we need convert) and divide return
by 100%
Weights=ones(Numassets,1)/Numassets;
PortReturn=ReturnExact*Weights; %Portret=Sum(Xi*Weights)
plot(PortPrices, '-b');
visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215

More Related Content

Viewers also liked

Blacks in the new deal: The Shift from an Electoral Tradition and its Legacy
Blacks in the new deal: The Shift from an Electoral Tradition and its LegacyBlacks in the new deal: The Shift from an Electoral Tradition and its Legacy
Blacks in the new deal: The Shift from an Electoral Tradition and its Legacy
Faculty of letters and languages
 
Scolopendra cingulata
Scolopendra cingulataScolopendra cingulata
Scolopendra cingulata
sergiagundez
 
2008 Cocoa 飛船鳥戲團
2008 Cocoa 飛船鳥戲團2008 Cocoa 飛船鳥戲團
2008 Cocoa 飛船鳥戲團
phil su
 
Startup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
Startup Stage#3 - Communities - Ewa Spohn - TEDx KrakowStartup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
Startup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
Startup Stage
 
GRUPO 4
GRUPO 4GRUPO 4
GRUPO 4
UTMACH
 

Viewers also liked (13)

Blacks in the new deal: The Shift from an Electoral Tradition and its Legacy
Blacks in the new deal: The Shift from an Electoral Tradition and its LegacyBlacks in the new deal: The Shift from an Electoral Tradition and its Legacy
Blacks in the new deal: The Shift from an Electoral Tradition and its Legacy
 
House Circus
House CircusHouse Circus
House Circus
 
Scolopendra cingulata
Scolopendra cingulataScolopendra cingulata
Scolopendra cingulata
 
BLOG
BLOG BLOG
BLOG
 
Parable of tax collector and pharisee
Parable of tax collector and phariseeParable of tax collector and pharisee
Parable of tax collector and pharisee
 
O keeffe biography
O keeffe biographyO keeffe biography
O keeffe biography
 
2008 Cocoa 飛船鳥戲團
2008 Cocoa 飛船鳥戲團2008 Cocoa 飛船鳥戲團
2008 Cocoa 飛船鳥戲團
 
Startup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
Startup Stage#3 - Communities - Ewa Spohn - TEDx KrakowStartup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
Startup Stage#3 - Communities - Ewa Spohn - TEDx Krakow
 
tarea ip
tarea iptarea ip
tarea ip
 
Los20 pilares
Los20 pilaresLos20 pilares
Los20 pilares
 
sexe
sexesexe
sexe
 
50 west
50 west50 west
50 west
 
GRUPO 4
GRUPO 4GRUPO 4
GRUPO 4
 

Similar to Computational Finance

Practical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptxPractical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptx
Ron Harasym
 
WEEK 5 PROBLEM SET Due week 5 and worth 200 points. Yo.docx
WEEK 5 PROBLEM SET Due week 5 and worth 200 points.   Yo.docxWEEK 5 PROBLEM SET Due week 5 and worth 200 points.   Yo.docx
WEEK 5 PROBLEM SET Due week 5 and worth 200 points. Yo.docx
cockekeshia
 
InstructionsThe objective of the Case Debriefings is to revi
InstructionsThe objective of the Case Debriefings is to reviInstructionsThe objective of the Case Debriefings is to revi
InstructionsThe objective of the Case Debriefings is to revi
TatianaMajor22
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
eileensauer
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
eileensauer
 
L06 cost management
L06 cost managementL06 cost management
L06 cost management
Asa Chan
 

Similar to Computational Finance (20)

Designing and pricing guarantee options in de fined contribution pension plans
Designing and pricing guarantee options in defined contribution pension plansDesigning and pricing guarantee options in defined contribution pension plans
Designing and pricing guarantee options in de fined contribution pension plans
 
Practical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptxPractical Aspects of Stochastic Modeling.pptx
Practical Aspects of Stochastic Modeling.pptx
 
Best practices in financial modeling
Best practices in financial modelingBest practices in financial modeling
Best practices in financial modeling
 
Applying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project SchedulesApplying Monte Carlo Simulation to Microsoft Project Schedules
Applying Monte Carlo Simulation to Microsoft Project Schedules
 
WEEK 5 PROBLEM SET Due week 5 and worth 200 points. Yo.docx
WEEK 5 PROBLEM SET Due week 5 and worth 200 points.   Yo.docxWEEK 5 PROBLEM SET Due week 5 and worth 200 points.   Yo.docx
WEEK 5 PROBLEM SET Due week 5 and worth 200 points. Yo.docx
 
Telecom Churn Analysis
Telecom Churn AnalysisTelecom Churn Analysis
Telecom Churn Analysis
 
InstructionsThe objective of the Case Debriefings is to revi
InstructionsThe objective of the Case Debriefings is to reviInstructionsThe objective of the Case Debriefings is to revi
InstructionsThe objective of the Case Debriefings is to revi
 
SAP 1st Meeting (Winter 2008)
SAP 1st Meeting (Winter 2008)SAP 1st Meeting (Winter 2008)
SAP 1st Meeting (Winter 2008)
 
limpinpresentation-170329032435.pptx
limpinpresentation-170329032435.pptxlimpinpresentation-170329032435.pptx
limpinpresentation-170329032435.pptx
 
Costing
CostingCosting
Costing
 
Scenario generation and stochastic programming models for asset liabiltiy man...
Scenario generation and stochastic programming models for asset liabiltiy man...Scenario generation and stochastic programming models for asset liabiltiy man...
Scenario generation and stochastic programming models for asset liabiltiy man...
 
The ABC of Forecasting
The ABC of ForecastingThe ABC of Forecasting
The ABC of Forecasting
 
Advanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk AnalysisAdvanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk Analysis
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Six ½ Day Sessions on the Road To Becoming a CAM
Six ½ Day Sessions on the Road To Becoming a CAMSix ½ Day Sessions on the Road To Becoming a CAM
Six ½ Day Sessions on the Road To Becoming a CAM
 
Linear Programming Problems {Operation Research}
Linear Programming Problems {Operation Research}Linear Programming Problems {Operation Research}
Linear Programming Problems {Operation Research}
 
L06 cost management
L06 cost managementL06 cost management
L06 cost management
 
Empowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through SimulationEmpowering Innovation Portfolio Decision-Making through Simulation
Empowering Innovation Portfolio Decision-Making through Simulation
 
Management Science
Management ScienceManagement Science
Management Science
 

More from Assignmentpedia

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side components
Assignmentpedia
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detection
Assignmentpedia
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar tracking
Assignmentpedia
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section project
Assignmentpedia
 
Radar application project help
Radar application project helpRadar application project help
Radar application project help
Assignmentpedia
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework help
Assignmentpedia
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysis
Assignmentpedia
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
Assignmentpedia
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming project
Assignmentpedia
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlab
Assignmentpedia
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
Assignmentpedia
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework help
Assignmentpedia
 

More from Assignmentpedia (20)

Transmitter side components
Transmitter side componentsTransmitter side components
Transmitter side components
 
Single object range detection
Single object range detectionSingle object range detection
Single object range detection
 
Sequential radar tracking
Sequential radar trackingSequential radar tracking
Sequential radar tracking
 
Resolution project
Resolution projectResolution project
Resolution project
 
Radar cross section project
Radar cross section projectRadar cross section project
Radar cross section project
 
Radar application project help
Radar application project helpRadar application project help
Radar application project help
 
Parallel computing homework help
Parallel computing homework helpParallel computing homework help
Parallel computing homework help
 
Network costing analysis
Network costing analysisNetwork costing analysis
Network costing analysis
 
Matlab simulation project
Matlab simulation projectMatlab simulation project
Matlab simulation project
 
Matlab programming project
Matlab programming projectMatlab programming project
Matlab programming project
 
Links design
Links designLinks design
Links design
 
Image processing project using matlab
Image processing project using matlabImage processing project using matlab
Image processing project using matlab
 
Help with root locus homework1
Help with root locus homework1Help with root locus homework1
Help with root locus homework1
 
Transmitter subsystem
Transmitter subsystemTransmitter subsystem
Transmitter subsystem
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework Help
 
Theory of computation homework help
Theory of computation homework helpTheory of computation homework help
Theory of computation homework help
 
Econometrics Homework Help
Econometrics Homework HelpEconometrics Homework Help
Econometrics Homework Help
 
Video Codec
Video CodecVideo Codec
Video Codec
 
Radar Spectral Analysis
Radar Spectral AnalysisRadar Spectral Analysis
Radar Spectral Analysis
 
Pi Controller
Pi ControllerPi Controller
Pi Controller
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 

Computational Finance

  • 1. COMPUTATIONAL FINANCE USING MATLAB Our online Tutors are available 24*7 to provide Help with Computational Finance Homework/Assignment or a long term Graduate/Undergraduate Computational Finance Project. Our Tutors being experienced and proficient in Computational Finance ensure to provide high quality Computational Finance Homework Help. Upload your Computational Finance Assignment at ‘Submit Your Assignment’ button or email it to info@assignmentpedia.com. You can use our ‘Live Chat’ option to schedule an Online Tutoring session with our Computational Finance Tutors. MONTE CARLO SIMULATION FOR PORTFOLIO ASSETS This sample assignment Simulate sample path allow us to see the pattern that assets price will face. Crucial to hedge risk. PortfolioMontecarlo.m Stock1=[BAC]; %Matrix of prices (2012) Stock2=[GE]; %Matrix of prices (2012) RetStock1=ret2price(Stock1); RetStock2=ret2price(Stock2); Returnone=[Mean(RetStock1); Mean(RetStock2)];%We need aggregate the data SigmaStock1=std(RetStock2); SigmaStock2=std(RetStock2); Sigmas=[SigmaStock1; SigmaStock2];% Aggregate the data Correlation=corrcoef(RetStock1, RetStock2); Covariance=corr2cov(Sigmas, Correlation); startprice=[20.65; 11.59]; numobs=249; % 1 calendar year numsim=1000;% Num Simulation numassets=2; %Only Two asset retintervals=1; %One day Trading on Exchange Market RetExact=portsim(ExpReturn, ExpCovariance, Numobs, Retintervals, Numsim, 'Exact'); ReturnExact=RetExact(:,:,1)/100;%Convert Chart into Numeric (we need convert) and divide return by 100% Weights=ones(Numassets,1)/Numassets; PortReturn=ReturnExact*Weights; %Portret=Sum(Xi*Weights) plot(PortPrices, '-b'); visit us at www.assignmentpedia.com or email us at info@assignmentpedia.com or call us at +1 520 8371215