/v1/asset
One market latest candle and detected patterns
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/candlestickscreener-api/v1/asset" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/candlestickscreener-api/v1/asset", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/candlestickscreener-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/candlestickscreener-api/v1/asset",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"key": "sp500",
"note": "The latest daily candle (open/high/low/close) and any candlestick patterns detected on it, each tagged bullish, bearish or neutral.",
"class": "equities",
"label": "S&P 500",
"candle": {
"low": 724.41,
"high": 740,
"open": 728.76,
"close": 737.76,
"color": "green"
},
"signal": "none",
"source": "Yahoo Finance",
"symbol": "SPY",
"patterns": []
},
"meta": {
"timestamp": "2026-06-12T10:35:04.202Z",
"request_id": "2d1da146-62c1-4d79-b85a-170f3d7baffb"
},
"status": "ok",
"message": "Asset retrieved successfully",
"success": true
}