You can calculate the correlation coefficient to find the correlation between any two variables, whether they are market indicators, stocks, or anything else that can be tracked numerically.
This is the GEE equivalent of the inverse of the Fisher information matrix that is often used in generalized linear models as an estimator of the covariance estimate ... of if the mean model and the ...