/v1/asset
Beta profile of one instrument vs the benchmark
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}