/v1/heikin-ashi
Convert candles to Heikin-Ashi
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/chartconvert-api/v1/heikin-ashi" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chartconvert-api/v1/heikin-ashi", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chartconvert-api/v1/heikin-ashi");
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/chartconvert-api/v1/heikin-ashi",
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": {
"type": "heikin-ashi",
"count": 5,
"trend": "bullish",
"source": "CHARTCONVERT",
"candles": [
{
"low": 9.5,
"high": 11,
"open": 10.25,
"close": 10.25,
"color": "bullish"
},
{
"low": 10.2,
"high": 11.5,
"open": 10.25,
"close": 10.85,
"color": "bullish"
},
{
"low": 10.55,
"high": 11.4,
"open": 10.55,
"close": 11.075,
"color": "bullish"
},
{
"low": 10.5,
"high": 11,
"open": 10.8125,
"close": 10.75,
"color": "bearish"
},
{
"low": 10.5,
"high": 11.3,
"open": 10.78125,
"close": 10.9,
"color": "bullish"
}
]
},
"meta": {
"timestamp": "2026-06-10T22:56:08.966Z",
"request_id": "46289a1f-1915-4f72-a835-886eae6f9145"
},
"status": "ok",
"message": "Heikin-Ashi computed",
"success": true
}