/v1/monitor
Universe ranked by current drawdown with new-high list and drawdown count
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/assetdrawdown-api/v1/monitor" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/assetdrawdown-api/v1/monitor", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/assetdrawdown-api/v1/monitor");
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/assetdrawdown-api/v1/monitor",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Every market ranked by current drawdown (deepest underwater first). current_drawdown_pct is the fall from the window's highest close; max_drawdown_pct is the worst drawdown in the window; days_since_peak is how long underwater; recovery_from_trough_pct is how much of the fall has been clawed back. Window is two years. Not financial advice.",
"class": "equities",
"assets": [
{
"key": "emerging",
"class": "equities",
"label": "Emerging Markets",
"price": 67.5,
"status": "near highs",
"peak_date": "2026-06-02",
"peak_price": 70.8,
"at_new_high": false,
"days_since_peak": 9,
"max_drawdown_pct": -18.67,
"current_drawdown_pct": -4.66,
"recovery_from_trough_pct": 46.9
},
{
"key": "nasdaq100",
"class": "equities",
"label": "Nasdaq 100",
"price": 717.12,
"status": "near highs",
"peak_date": "2026-06-02",
"peak_price": 746.16,
"at_new_high": false,
"days_since_peak": 9,
"max_drawdown_pct": -22.88,
"current_drawdown_pct": -3.89,
"recovery_from_trough_pct": 44.7
},
{
"key": "sp500",
"class": "equities",
"label": "S&P 500",
"price": 737.76,
"status": "near highs",
"peak_date": "2026-06-02",
"peak_price": 759.57,
"at_new_high": false,
"days_since_peak": 9,
"max_drawdown_pct": -19,
"current_drawdown_pct": -2.87,
"recovery_from_trough_pct": 36.1
},
{
"key": "developed_intl",
"class": "equities",
"label": "Developed ex-US",
"price": 104.73,
"status": "near highs",
"peak_date": "2026-02-25",
"peak_price": 105.66,
"at_new_high": false,
"days_since_peak": 106,
"max_drawdown_pct": -14.05,
"current_drawdown_pct": -0.88,
"recovery_from_trough_pct": 92.3
},
{
"key": "russell2000",
"class": "equities",
"label": "Russell 2000",
"price": 290.41,
"status": "near highs",
"peak_date": "2026-05-28",
"peak_price": 292.03,
"at_new_high": false,
"days_since_peak": 14,
"max_drawdown_pct": -27.88,
"current_drawdown_pct": -0.55,
"recovery_from_trough_pct": 84.4
}
],
…