Regime Similarity Search
sv_similarFind the historical market states most similar to a ticker on a given date — k nearest neighbors in the 22-dimensional regime vector space across ~3M ticker-days (2014→present). Returns {ticker, date, similarity} triples. The query nobody else sells. Params: ticker (required), at YYYY-MM-DD (default: latest), k (default 15, max 200). Free with X-ORKID-API-Key or $0.02 USDC/call via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "sv_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Neighbor count, default 15, cap 200 | |
| at | No | Reference date YYYY-MM-DD (asof: last trading day ≤ at) | |
| ticker | Yes | Reference ticker, e.g. "AAPL" |