Hi,
I was wondering if it was possible to weight the stocks by their FCF Yield value.
I know it would be something along the lines of:
weight = (this_stocks_value)/(sum_of_all_values)
However, I'm not entirely sure how to do this, can someone show me how? I'm aiming to assign a higher weight to stocks with a higher FCF Yield.