Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/varianceratio-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/varianceratio-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/varianceratio-api/v1/meta");
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/varianceratio-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "metric is significance (default), momentum or reversion. window is 252-2520 trading days (default 756, ~3 years). class filters to equity/sector/commodity/bond/fx/crypto (default all). The test follows Lo & MacKinlay (1988) with overlapping observations and a heteroskedasticity-robust z. |z| >= 1.96 rejects the random walk at 95%. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily closes, live",
        "classes": [
            "index",
            "sector",
            "commodity",
            "bond",
            "fx",
            "crypto"
        ],
        "metrics": [
            "momentum",
            "reversion",
            "significance"
        ],
        "service": "varianceratio-api",
        "horizons": [
            2,
            4,
            8,
            16
        ],
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "Full variance ratio test at horizons 2/4/8/16 with z-stats, p-values and verdicts (symbol=SPY, window=756).",
            "GET /v1/screener": "Rank the universe by the 2-day variance ratio test (metric=significance, window=756, class=all).",
            "GET /v1/universe": "The cross-asset universe and its classes."
        },
        "description": "Variance ratio test (Lo-MacKinlay) — a formal statistical test of whether a market follows a random walk or carries real momentum or mean-reversion, live from Yahoo Finance daily closes (no key, nothing stored). The variance ratio compares multi-day to one-day return variance: 1 under a random walk, > 1 momentum, < 1 mean-reversion. It attaches a heteroskedasticity-robust z-statistic and p-value at horizons of 2/4/8/16 days, so you know whether the deviation is significant or noise. asset runs the full test with verdicts; screener ranks the cross-asset universe by the 2-day variance ratio. The random-walk hypothesis-test cut — distinct from the Hurst-exponent regime API (a point estimate with no significance), the momentum and the price APIs.",
        "universe_size": 19,
        "upstream_status": "ok",
        "significant_non_random_walk": []
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:37.834Z",
        "request_id": "ac2e66f5-8256-4bf1-ae6f-b48f1ff0fc03"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}