Aller au contenu
GET /v1/asset

Full closing-strength 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/closestrength-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/closestrength-api/v1/asset" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/closestrength-api/v1/asset", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/closestrength-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/closestrength-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": "S&P 500 ETF",
        "note": "CLV = ((close - low) - (high - close)) / (high - low), from -1 (close on the low) to +1 (close on the high). avg_clv is the window average (accumulation vs distribution); recent_clv is the last 20 days. upper/lower_third_close_pct is the share of days closing in the top/bottom third of their range. Read fresh per call, nothing cached.",
        "class": "index",
        "reads": {
            "today": "closed strong, near the high",
            "regime": "buyers have controlled the close over the window",
            "pressure": "balanced"
        },
        "source": "Yahoo Finance",
        "symbol": "SPY",
        "avg_clv": 0.142,
        "recent_clv": 0.078,
        "current_clv": 0.713,
        "recent_days": 20,
        "window_days": 252,
        "observations": 252,
        "current_pressure": "balanced",
        "lower_third_close_pct": 25.4,
        "upper_third_close_pct": 43.7
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:41.458Z",
        "request_id": "f64d5a09-84b0-47af-93bf-3c784374869e"
    },
    "status": "ok",
    "message": "Asset close strength retrieved successfully",
    "success": true
}