/v1/atr
Average True Range + ATR%
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/atr-api/v1/atr" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atr-api/v1/atr", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atr-api/v1/atr");
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/atr",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"atr": 3.93841108,
"method": "Wilder",
"period": 14,
"source": "ATR",
"atr_pct": 3.6808,
"candles": 16,
"last_close": 107,
"true_range_last": 4
},
"meta": {
"timestamp": "2026-06-11T07:49:15.174Z",
"request_id": "83f20bdb-ebbd-45b9-9fdd-cf23c61761e5"
},
"status": "ok",
"message": "ATR computed",
"success": true
}