A customer is looking for an easiest way to compute the BETA of a stock relative to any index this stock may be in.
For instance, let's take Volkswagen whose RIC is VOWG_p.DE. Volkswagen's main index is the DAX whose RIC is .GDAXI
However, Volkswagen is also part of the Euro STOXX 600 whose RIC is .STOXX
As the Euro Stoxx 600 is broadly used as a benchmark, it makes sense to be able to retrieve/compute performance data linked to it.
In that case, what does the underlying python function which uses refinitiv.data library look like ?