/v1/screener
Cross-asset board with fresh MACD crossovers, histogram ranking and tally
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/macd-api/v1/screener" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/macd-api/v1/screener", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/macd-api/v1/screener");
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/macd-api/v1/screener",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Each market's MACD (12/26 EMA), signal line (9 EMA) and histogram. posture bullish = MACD above signal. last_cross/days_since_cross flag the most recent line cross — a fresh bullish_crossover (low days) is a buy trigger, bearish a sell. Sorted by histogram (strongest momentum first).",
"class": "sector",
"assets": [
{
"key": "health_care",
"macd": 1.8249,
"class": "sector",
"label": "Health Care",
"signal": 1.2419,
"posture": "bullish (MACD above signal)",
"histogram": 0.5829,
"last_cross": "bullish_crossover",
"days_since_cross": 30
},
{
"key": "financials",
"macd": 0.2387,
"class": "sector",
"label": "Financials",
"signal": 0.1382,
"posture": "bullish (MACD above signal)",
"histogram": 0.1005,
"last_cross": "bullish_crossover",
"days_since_cross": 6
},
{
"key": "real_estate",
"macd": 0.2383,
"class": "sector",
"label": "Real Estate",
"signal": 0.1758,
"posture": "bullish (MACD above signal)",
"histogram": 0.0625,
"last_cross": "bullish_crossover",
"days_since_cross": 2
},
{
"key": "utilities",
"macd": -0.3971,
"class": "sector",
"label": "Utilities",
"signal": -0.4145,
"posture": "bullish (MACD above signal)",
"histogram": 0.0174,
"last_cross": "bullish_crossover",
"days_since_cross": 0
},
{
"key": "industrials",
"macd": 0.5252,
"class": "sector",
"label": "Industrials",
"signal": 0.5975,
"posture": "bearish (MACD below signal)",
"histogram": -0.0723,
"last_cross": "bearish_crossover",
"days_since_cross": 1
},
{
"key": "energy",
"macd": -0.085,
"class": "sector",
"label": "Energy",
"signal": 0.0061,
"posture": "bearish (MACD below signal)",
"histogram": -0.0911,
"last_cross": "bearish_crossover",
"days_since_cross": 15
},
{
"key": "technology",
"macd": 4.5113,
"class": "sector",
"label": "Technology",
"signal": 6.6505,
"posture": "bearish (MACD below signal)",
"histogram": -2.1392,
…