Design and implement a rounding procedure

Assignment Help MATLAB Programming
Reference no: EM131533187

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

Reference no: EM131533187

Questions Cloud

Total return for investment : He also received total capital gain distributions of $1.60 per share. At the end of three years, he sold his shares for $36 a share.
How many units should jenny include in her company period : Crafts Galore, a distributor of handmade gifts, operates out of owner Jenny Finn's house. At the end of the current period, Jenny reports she has 1,500 units.
What is policy used in os to prevent deadlock and starvation : What is the policy used in OS to prevent deadlock and starvation? What is the difference between a static IP and a dynamic IP?
What is the fund net asset value : The Western Capital Growth mutual fund has. What is the fund's net asset value (NAV)?
Design and implement a rounding procedure : MFIN706: Assignment - Mean Variance Portfolio Selection Strategies. Design and implement a rounding procedure, so that you always trade integer number of shares
What do you expect the value of your dividend check : what do you expect the value of your dividend check to be three years from today?
What is her profit for this short transaction : Total commission to buy and sell the stock were $63. What is her profit for this short transaction?
Estimate cost of goods sold and ending inventory : A car dealer acquires a used car for $3,000, terms FOB shipping point. Additional costs in obtaining and offering the car for sale include $150.
Describe the phenomenon of therapeutic index : Provide an example, which explains how this phenomenon might lead to an accidental overdose.

Reviews

len1533187

6/16/2017 5:20:57 AM

The file named assignment is the file rest is the Matlab code that has basic code needed for the assignment. Use MATLAB for all MFIN706 assignments. Your report Compress all of your MATLAB code files and output files into a file StudentID.zip. Where to hand in: Online via Avenue to Learn portal, both your code and report. 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. Your MATLAB code should use only CPLEX optimization solver. Make commenting of your code for important logics.

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd