/v1/donchian
Donchian Channel + breakout signal
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}