The code written in PHP fetches live data from the yahoo servers and does the analysis based on the algorithm specified