I have a data frame with columns equal to Date, Security and Price.
From this table, for each date, I want to calculate a formula on the price, for every possible combina