Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/riskadjusted-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "metric is sharpe (default), sortino or calmar. window is 60-756 trading days (default 252). rf is an optional annual risk-free percent (0-20, default 0) netted off Sharpe & Sortino. class filters to equity/sector/commodity/bond/crypto (default all). Ratios annualised at 252 trading days. Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily closes, live",
        "classes": [
            "equity",
            "sector",
            "commodity",
            "bond",
            "crypto"
        ],
        "metrics": [
            "sharpe",
            "sortino",
            "calmar"
        ],
        "service": "riskadjusted-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "Full risk-adjusted profile of one instrument (symbol=SPY, window=252, rf=0).",
            "GET /v1/screener": "Rank the universe by a risk-adjusted metric (metric=sharpe, window=252, class=all, rf=0).",
            "GET /v1/universe": "The cross-asset universe and its classes."
        },
        "description": "Risk-adjusted return screener — ranks a cross-asset universe by how much return each asset delivers per unit of risk, live from Yahoo Finance daily closes (no key, nothing stored). screener ranks the universe (filterable by class) by Sharpe, Sortino or Calmar; asset returns one instrument's full risk-adjusted profile. The reward-per-risk ranking cut — distinct from the BYO Markowitz optimiser, the CAPM/beta calculator, the momentum and price APIs. It ranks live assets by efficiency, not raw performance.",
        "universe_size": 21,
        "top_sharpe_252d": "XLK",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:57.297Z",
        "request_id": "7b186f78-8bb4-4cfc-85f0-f46971fe9cc4"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}