Aller au contenu
GET /v1/stops

Chandelier Exit + ATR trailing stop

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/atr-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/atr-api/v1/stops" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atr-api/v1/stops", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atr-api/v1/stops");
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/atr-api/v1/stops",
    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": {
        "atr": 3.93841108,
        "note": "Chandelier Exit long = highest high - multiplier x ATR; short = lowest low + multiplier x ATR. ATR via Wilder over `period`.",
        "side": "long",
        "entry": 107,
        "period": 14,
        "source": "ATR",
        "candles": 16,
        "last_close": 107,
        "lowest_low": 99,
        "multiplier": 3,
        "highest_high": 109,
        "stop_distance": 11.81523324,
        "trailing_stop": 95.18476676,
        "stop_distance_pct": 11.0423,
        "chandelier_exit_long": 97.18476676,
        "chandelier_exit_short": 110.81523324
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:15.323Z",
        "request_id": "44a696e5-2cee-4e4a-be07-e4532e321bd1"
    },
    "status": "ok",
    "message": "Stops computed",
    "success": true
}