Looking for software or platform that provide a query type system, for example 1. Find list of stocks say down x days in row. How many times has XYZ stock been down 4 days in a row for past xx years. What was XYZ stock performance the following day after being down 4 days in row, whats was the performance 2 days after, 5 days after etc etc. 2. How many times XYZ was down 6% in a day. What was XYZ performance the following day, 2 days, 3 days etc. 3. How many times was XYZ stock down 15% in any 10 day period. What was performance the following 5 days etc. You get the idea, I see a few stat guys posting this kind of info in various places. I assume you could query this somehow using python? I do not have the technical expertise to do this but if nothing is avail would python be what I would have to learn?