Question: Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time

 Task 2 (Stock prices, functions) My Solutions > Write a function

Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time stamp, opening price, maximal price, minimal price, closing price, trade volume) output arguments 1) indices of days when opening price was equal to closing price 2) indices of days when the opening price was higher than the closing price 3) indices of days when the opening price was lower than the clowing price 4) indices of days representing 100 days with highest trading volume 5) indices of days representing 100 days with lowest trading volume For the last two points you may consider making use of Matlab's function sort. Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time stamp, opening price, maximal price, minimal price, closing price, trade volume) output arguments 1) indices of days when opening price was equal to closing price 2) indices of days when the opening price was higher than the closing price 3) indices of days when the opening price was lower than the clowing price 4) indices of days representing 100 days with highest trading volume 5) indices of days representing 100 days with lowest trading volume For the last two points you may consider making use of Matlab's function sort

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!