I have been looking through the API but have not been able to find a way to do this. If the API does not allow us to do this, could someone show me a workaround for how to correctly calculate the correlations b/w the market and the specific company returns? Thank you.