I have a pandas dataframe with a time serie of stock prices giving me a closing price for each minute of each day over the past 6 months (datetime format is yyyy-mm-dd hh:mm