I have a pandas dataframe with index, open, high, low, close, ...
I have created a class and want to be able to create a function within the class, at the moment call