/v1/donchian
Donchian Channel + breakout signal
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/trendindicators-api/v1/donchian" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/trendindicators-api/v1/donchian", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/trendindicators-api/v1/donchian");
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/trendindicators-api/v1/donchian",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Donchian Channel = highest high and lowest low over the period; middle is their average. position_pct is where the close sits in the channel.",
"lower": 102,
"upper": 123,
"width": 21,
"middle": 112.5,
"period": 20,
"signal": "inside_channel",
"source": "TREND",
"candles": 30,
"last_close": 122,
"position_pct": 95.2381
},
"meta": {
"timestamp": "2026-06-11T07:49:04.036Z",
"request_id": "cc77ada6-0578-454c-8471-0bc1f033117f"
},
"status": "ok",
"message": "Donchian channel computed",
"success": true
}