Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Assignment - Mean Variance Portfolio Selection Strategies

Introduction -

The purpose of this assignment is to compare computational investment strategies based on minimizing portfolio variance and maximizing Sharpe ratio. You will need to take into account the effect of trading costs.

Questions -

1. Implement investment strategies in MATLAB:

You need to test four portfolio re-balancing strategies:

1. Buy and hold" strategy: it is the simplest strategy where you hold initial portfolio for the entire investment horizon of 2 years. The strategy is already implemented in the function strat_buy_and_hold.

2. Equally weighted" (also known as "1/n") portfolio strategy: asset weights are selected as wti = 1/n, where n is the number of assets. You may need to re-balance your portfolio in each period as the number of shares xti changes even when wti = 1/n stays the same in each period. The strategy should be implemented in the function strat_equally_weighted.

3. "Minimum variance" portfolio strategy: compute minimum variance portfolio for each period and re-balance accordingly. The strategy should be implemented in the function strat_min_variance.

4. "Maximum Sharpe ratio" portfolio strategy: compute a portfolio that maximizes Sharpe ratio for each period and re-balance accordingly. The strategy should be implemented in the function strat_max_Sharpe.

Design and implement a rounding procedure, so that you always trade (buy or sell) an integer number of shares.

Design and implement a validation procedure in your code to test that each of your strategies is feasible (you have enough budget to re-balance portfolio, you correctly compute transaction costs, funds in your cash account are non-negative).

There is a file portf optim.m on the course web-page. You are required to complete the code in the file.

Your MATLAB code should use only CPLEX optimization solver. Make commenting of your code for important logics.

2. Analyze your results:

Produce the following output for the 12 periods (years 2015 and 2016):

Period 1: start date 1/2/2015, end date 2/27/2015

Strategy "Buy and Hold", value begin = $ 1000002.12, value end = $ 1043785.08

Strategy "Equally Weighted Portfolio", value begin = ... , value end = ...

...

Period 12: start date 11/1/2016, end date 12/30/2016

Strategy "Buy and Hold", value begin = $ 1077523.53, value end = $ 1173675.24

Strategy "Equally Weighted Portfolio", value begin = ... , value end = ...

Plot one chart in MATLAB that illustrates the daily value of your portfolio (for each trading strategy) over the years 2015 and 2016 using daily prices provided. Include the chart in your report.

Plot two charts in MATLAB for strategy 3 and 4 to show dynamic changes in portfolio allocations. In each chart, x-axis represents the rolling up time horizon, y-axis denotes portfolio weights between 0 and 1, and distinct lines display the position of selected assets over time periods. You may use these figures to support your analysis or discussion.

Compare your trading strategies and discuss their performance relative to each other. Which strategy would you select for managing your own portfolio and why?

3. Discuss possible improvements to your trading strategies:

Test your MATLAB program for different variations of your strategies, e.g., select "1/n" portfolio at the beginning of period 1 and hold it till the end of period 12 (as if the rebalancing strategy required large transaction costs). Discuss if you are able to achieve better results.

Can you suggest any improvements of the trading strategies that you have implemented?

Attachment:- Assignment Files.rar

MATLAB, Engineering

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

Have any Question?


Related Questions in MATLAB

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 -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

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.

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 ...

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 ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

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