Vai al contenuto
GET /v1/asset

Beta profile of one instrument vs the benchmark

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/betadispersion-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/betadispersion-api/v1/asset" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/betadispersion-api/v1/asset", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/betadispersion-api/v1/asset");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/betadispersion-api/v1/asset",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "beta": 1.595,
        "name": "Technology",
        "note": "beta = cov(asset, benchmark) / var(benchmark) on daily returns aligned over common trading days. A beta of 1.3 means the asset tends to move ~1.3% for each 1% of the benchmark. R-squared is the share of the asset's moves explained by the benchmark. Read fresh per call, nothing cached.",
        "class": "sector",
        "source": "Yahoo Finance",
        "symbol": "XLK",
        "benchmark": "SPY",
        "r_squared": 0.761,
        "correlation": 0.872,
        "window_days": 252,
        "observations": 252,
        "benchmark_name": "S&P 500",
        "classification": "very high-beta (sharply amplifies)",
        "ann_volatility_pct": 22.52
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:54.390Z",
        "request_id": "202b7909-d5f2-413a-a32f-815ef4af107c"
    },
    "status": "ok",
    "message": "Asset beta retrieved successfully",
    "success": true
}