API Documentation
GET
/api/1/market/analytics/correlationStock Correlation API
Returns the correlation coefficient and beta between two stocks over a given time range
Defaults
range=1yParameters
Required first. Documented defaults are selected — Test Request matches a bare call.
isin1stringrequiredFirst ISIN
isin2stringrequiredSecond ISIN
rangestringdefault 1yTime range: 1m, 3m, 6m, 1y, 2y (default 1y)
One of: 1m, 3m, 6m, 1y, 2y · Default 1y
Responses
Was this helpful?
Request
curl -X GET \
'https://api.eulerpool.com/api/1/market/analytics/correlation?isin1=US0378331005&isin2=US5949181045&range=1y' \
-H 'Accept: application/json'200 Response
{
"isin1": "string",
"isin2": "string",
"range": "string",
"correlation": 0.72,
"beta": 1.15,
"covariance": 0,
"dataPoints": 0
}