Aller au contenu
GET /v1/asset

Full tail-correlation profile of one instrument

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/tailcorr-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "name": "High-Yield Credit",
        "note": "normal_correlation over all days vs crash_correlation on the benchmark's worst 10% of days and rally_correlation on its best. breakdown = crash - normal. A false diversifier has low normal but high crash correlation. Read fresh per call, nothing cached.",
        "class": "bond",
        "reads": {
            "crash": "partial diversification in a crash",
            "breakdown": "correlation is stable across regimes"
        },
        "source": "Yahoo Finance",
        "symbol": "HYG",
        "tail_pct": 10,
        "benchmark": "SPY",
        "breakdown": -0.19,
        "crash_days": 26,
        "rally_days": 26,
        "window_days": 252,
        "observations": 252,
        "benchmark_name": "S&P 500",
        "crash_correlation": 0.518,
        "rally_correlation": 0.632,
        "normal_correlation": 0.708
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:44.986Z",
        "request_id": "f5bdc3e4-19b7-4110-ba47-bd48be7c19b0"
    },
    "status": "ok",
    "message": "Asset tail correlation retrieved successfully",
    "success": true
}