/v1/patterns
List the supported candlestick patterns
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/candlestick-api/v1/patterns" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/candlestick-api/v1/patterns", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/candlestick-api/v1/patterns");
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/candlestick-api/v1/patterns",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Pass candles as open:high:low:close, comma-separated, oldest first. A pattern needs at least its 'candles' count of bars.",
"count": 22,
"source": "CANDLESTICK",
"patterns": [
{
"name": "Doji",
"type": "neutral",
"candles": 1
},
{
"name": "Dragonfly Doji",
"type": "bullish",
"candles": 1
},
{
"name": "Gravestone Doji",
"type": "bearish",
"candles": 1
},
{
"name": "Bullish Marubozu",
"type": "bullish",
"candles": 1
},
{
"name": "Bearish Marubozu",
"type": "bearish",
"candles": 1
},
{
"name": "Hammer",
"type": "bullish",
"candles": 1
},
{
"name": "Hanging Man",
"type": "bearish",
"candles": 1
},
{
"name": "Inverted Hammer",
"type": "bullish",
"candles": 1
},
{
"name": "Shooting Star",
"type": "bearish",
"candles": 1
},
{
"name": "Spinning Top",
"type": "neutral",
"candles": 1
},
{
"name": "Bullish Engulfing",
"type": "bullish",
"candles": 2
},
{
"name": "Bearish Engulfing",
"type": "bearish",
"candles": 2
},
{
"name": "Bullish Harami",
"type": "bullish",
"candles": 2
},
{
"name": "Bearish Harami",
"type": "bearish",
"candles": 2
},
{
"name": "Piercing Line",
"type": "bullish",
"candles": 2
},
{
"name": "Dark Cloud Cover",
"type": "bearish",
"candles": 2
},
{
"name": "Tweezer Bottom",
"type": "bullish",
"candles": 2
},
{
"name": "Tweezer Top",
"type": "bearish",
"candles": 2
},
{
"name": "Morning Star",
"type": "bullish",
"candles": 3
},
{
"name": "Evening Star",
"type": "bearish",
"candles": 3
},
{
"name": "Three White Soldiers",
"type":
…