Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use MatLab Please 8. Be sure to use comments (%) in your code to explain what each step is supposed to accomplish (helps with

image text in transcribedimage text in transcribedimage text in transcribed

use MatLab Please 8. Be sure to use comments (%) in your code to explain what each step is supposed to accomplish (helps with partial credit!) 9. Include all group members' names in comments 10.Save MATLAB code and results as a .m file with the name 2. Research stock company of your choice a. Determine mean price and standard deviation over last 30 days b. Use regression of data or randn to predict stock prices over the next year 3. Develop Stock Trading Algorithm to determine when to buy, when to sell, how many shares to buy/sell on each day 4. Each time you buy or sell stocks is subject to a 3% commission fee or $40 fee, whichever is higher 5. Model algorithm over a 1-year period (25d trading days) 6. Determine the expected average profit, minimum profit, maximum profit, and standard deviation for that 250 day period 7. Re-run your algorithm for the 250 days at least 10 times. Calculate the average profit for the 10 realizations (the average of each of the 250-day average profits), the standard deviation of the 10 realizations, the maximum profit, and the minimum profit. 1. Suppose that you are given the following information about an asset: Asset X Y Z Expected Return 1 .15 .2 Expected Standard Deviation .04 .08 .09 a. Suppose the correlation coefficient between Y and Z is .2. If you took 50% of your portfolio and invested it in the portfolio you formed in a above and 50% of your portfolio and invested it in the portfolio you formed in b above, what would be the expected return and expected standard deviation of the new portfolio? a)Expected Return=12.5% Standard Deviation=5.2915% b)Expected Return=15% Standard Deviation:5.445% b (8. ("Canoeing on the cheap") You are canoeing down a river and there br are n renting posts along the way. Before starting your journey, you mobors are given, for each 1 sisj n, the fee f(i,j) for renting a canoe from abiem a post i to post j. These fees are arbitrary. For example it is possible that to f(1,3)= 10 and f(1,4) = 5. You begin at trading post 1 and must end at trading post n (using rented canoes). Your goal is to minimize the rental cost. Give the most efficient algorithm you can for this problem. Prove that your algorithm yields an optimal solution and analyze the time complexity.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Precalculus

Authors: Jay Abramson

1st Edition

9781938168345

Students also viewed these Finance questions

Question

5. Describe the purpose of the value stream map.

Answered: 1 week ago