Naar de inhoud
GET /v1/beta

Beta, alpha, correlation, R-squared

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/capm-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/capm-api/v1/beta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capm-api/v1/beta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capm-api/v1/beta");
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/capm-api/v1/beta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "beta": 3.414164,
        "source": "CAPM",
        "r_squared": 0.999179,
        "correlation": 0.99959,
        "observations": 5,
        "interpretation": "more volatile than the market",
        "alpha_annualised": -0.636076,
        "alpha_per_period": -0.00252411,
        "periods_per_year": 252,
        "asset_return_annualised": 4.500542,
        "market_return_annualised": 1.504503
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:25.094Z",
        "request_id": "041f72df-b606-4612-83ad-a3300b51cc73"
    },
    "status": "ok",
    "message": "Beta computed",
    "success": true
}