Hi,
I have posted this question earlier but was not able to figure out how to query for a sector average value of a fundamental ratio.
A code example would be great, thanks.
Suppose I have some stock that has been returned and I have updated my universe with the results of the get_fundamentals, now how do I query for the sector average of p/e ratio of the stock's sector?