Technical Indicators
Pairwise Correlation Matrix (CORRMATRIX)
NxN pairwise Pearson correlation of LOG returns of CLOSE prices over the last window common trading days (inner-joined on shared dates). Symbols are deduplicated (case-insensitive) and SORTED; since the matrix is symmetric, the response symbols and matrix keys are in sorted order (this also avoids cache fragmentation). A null matrix entry means the pair is undefined (zero-variance series). Daily only (interval=1d). Uses CLOSE prices, matching the close-based BETA / CORREL indicator family.
post/api/v1/indicators/corrmatrix
Request body
Example request
{
"symbols": [
"AAPL",
"MSFT",
"GOOGL"
],
"window": 60,
"interval": "1d",
"range": "1y"
}Response
Successful Response
Example response
{
"data": {
"symbols": [
"AAPL",
"GOOGL",
"MSFT"
],
"interval": "1d",
"window": 60,
"common_bars": 60,
"matrix": {
"AAPL": {
"AAPL": 1,
"MSFT": 0.83
},
"MSFT": {
"AAPL": 0.83,
"MSFT": 1
}
},
"source": "sugra_finance"
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
]
}
}