I have a dataframe contain this records:
ID Date price type 1 21/09/2020 100 A 2 23/09/2020 200 A 1 25/09/2020 100