Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

You are a quant analyst reporting directly to a portfolio manager. Your manager requires you to generate a simple code to compute several statistics for the following potential portfolio;

Potential Portfolio

S&P 500 - long USD 10000

NASDAQ - long USD10000

Dow Jones Industrial Average - Long USD30000

United States Oil Fund - Short USD40000

United States Natural Gas Fund - Short USD10000

*The current position is given by

Current Portfolio

S&P 500 - long USD 15000

NASDAQ - long USD15000

Dow Jones Industrial Average - Long USD30000

United States Oil Fund - long USD20000

United States Natural Gas Fund - Long USD10000

In order to start your analysis, visit Yahoo Finance to download the weekly prices for the above securities /indices between 2 Jan 2009 to 31 Dec 2010

You are required to compute the portfolio statistics for the potential execution and current portfolio.

Current Portfolio

1. Prepare a MATLAB code that generates the following output; portfolio historical mean, portfolio volatility, skew and kurtosis, Sharpe Ratio and Max Drawdown. The required inputs are as follows; weekly return matrix R, weight vector w, a vector that allows user to include lower and upper bound on each position if he wishes to.

2. Compute a 95% confidence interval Value at Risk for the portfolio using a Cornish Fisher expansion.

3. Compute the annualized return and volatility of the portfolio. State clearly any underlying assumptions based on your approach taken.

4. Your manager would like you to optimize his current portfolio. Run an optimization of the function that you wrote in 1), (you may use the optimizer provided in MATLAB, but make sure you state clearly the steps and your chosen optimizer as your manager will need to know how to run the code in your absence). You are not supposed to use solver in excel. Report the optimized results.

Potential Portfolio

1. Using your codes prepared earlier perform the same computation in 1) for the potential portfolio. Explain in detail how you account for the negative positions in your portfolio.

2. Run the optimization again and report your findings.

3. Your manager for some reasons has specifically mentioned that he wants to short both the United States Oil Fund and United States Natural Gas Fund. Compute a reasonable vector for the lower bound and upper bound for the potential portfolio and use these vectors as a constraint for running an optimization of the potential portfolio. Report your findings.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M9526854

Have any Question?


Related Questions in MATLAB

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Assignment matlab programmingusing appropriate matlab

Assignment: MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As