CONTRACT
Paid bounded portfolio correlations
- Skill
qj-portfolio-correlations- Route
/v1/query/portfolio-correlations- Identity
- OAUTH · agents:query
- Price
- $0.01 · X402/2
QJ//BOUNDED QUERY · PRODUCTION
Calculate the full Pearson or Spearman matrix of aligned daily asset returns; constant-series correlations are null.
/v1/query/portfolio-correlationsOAUTH · agents:query$0.01 · X402/2
CONTRACT
qj-portfolio-correlations/v1/query/portfolio-correlationsGOVERNED METHOD
data.prices.batchqj-data-mcpdata.analytics.portfolio_correlationsqj-data-mcpNo direct database, provider API or private service access. Missing coverage remains missing—it is never turned into a negative fact.
INVOKE
Register an OAuth client, request scope agents:query, then call the route with its bearer token. The first unauthorised call returns the exact x402 v2 payment challenge.
REQUEST
{
"baseCurrency": "USD",
"positions": [
{
"ticker": "AAPL",
"marketValue": 25000,
"currency": "USD"
},
{
"ticker": "NVDA",
"marketValue": 15000,
"currency": "USD"
},
{
"ticker": "TSM",
"marketValue": 10000,
"currency": "USD"
}
],
"lookbackDays": 120
}
ILLUSTRATIVE RESPONSE SHAPE · NOT LIVE MARKET DATA
{
"schemaVersion": "qj-agents.portfolio-correlations.v1",
"skillId": "qj-portfolio-correlations",
"priceUsd": "0.01",
"status": "complete | partial",
"query": {
"baseCurrency": "USD",
"positions": [
{
"ticker": "AAPL",
"marketValue": 25000,
"currency": "USD"
},
{
"ticker": "NVDA",
"marketValue": 15000,
"currency": "USD"
},
{
"ticker": "TSM",
"marketValue": 10000,
"currency": "USD"
}
],
"lookbackDays": 120
},
"facts": {
"example": "live fields are returned here"
},
"interpretation": [],
"coverage": [
{
"tool": "data.prices.batch",
"status": "ok"
}
],
"toolsUsed": [
"data.prices.batch",
"data.analytics.portfolio_correlations"
],
"asOf": "ISO-8601 source timestamp",
"freshness": {
"status": "fresh | stale | unknown"
},
"lineageRefs": [
"source and materialization references"
]
}