Zum Inhalt springen
GET /v1/patterns

List the supported candlestick patterns

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/candlestick-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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":
…