/v1/asset
Full risk-adjusted profile of one instrument
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/riskadjusted-api/v1/asset" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/riskadjusted-api/v1/asset", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/riskadjusted-api/v1/asset");
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/asset",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Gold",
"note": "Full risk-adjusted profile from daily closes over window_days. Sharpe = (annual return - risk free) / annual volatility; Sortino uses only downside volatility; Calmar = annual return / |max drawdown|. Read fresh per call, nothing cached.",
"class": "commodity",
"reads": {
"calmar": "return exceeds its worst drawdown",
"sharpe": "modest reward for the risk",
"sortino": "positive but exposed to downside swings"
},
"calmar": 1.098,
"sharpe": 0.981,
"source": "Yahoo Finance",
"symbol": "GLD",
"sortino": 1.317,
"cagr_pct": 25.96,
"window_days": 252,
"observations": 252,
"risk_free_pct": 0,
"ann_return_pct": 26.87,
"max_drawdown_pct": -24.46,
"total_return_pct": 25.96,
"ann_volatility_pct": 27.37,
"ann_downside_dev_pct": 20.4
},
"meta": {
"timestamp": "2026-06-12T10:34:57.005Z",
"request_id": "f0c28993-f266-42f7-9e92-da243900bedb"
},
"status": "ok",
"message": "Asset profile retrieved successfully",
"success": true
}