The problem is the following: I have a dataframe, let\'s call it DF, which looks like this:
|Symbol | Date | volume |price | |-----------------------