How can I filter companies based on share price in matlab

1 view (last 30 days)
I have got daily share prices of different companies from CRSP database.Now I want to filter these comapnies based on their share price.
I only need companies that have share price greater than $1. How can I do that in Matlanb?
Secondly which price should I use ? like if a company have got share price less than $1 on one day and then its share price increase to let suppose $3 in next few days should I remove that company or not.I am really confuse about this filter.
Would someone be able to help?
  1 Comment
dpb
dpb on 1 Jun 2019
sharedata(sharedata<1)=[]; % remove those less than $1
As far as the second, we have no way to answer such -- that's all up to what your objectives are and we can't answer that 'cuz we don't know the problem to be solved.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!