Why Stock Price Increase And Decrease Functions In Python