Signaal service
Realtime handelssignaalgegevens ophalen
GET
/api/signalsSignaallijst ophalen met symbool- en datumfilters
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| symbol | string[] | Optioneel | Filteren op symbool, bijv. EURUSD |
| startDate | datetime | Optioneel | Startdatum, ISO 8601 formaat |
Request
GET https://api.aryenquant.com/api/signals?symbol=xauusd&startDate=2026-01-01T00:00:00Z
Headers:
X-API-Key: your_api_keyResponse
{
"items": [
{
"id": 1,
"signalId": "4F3RAZ",
"symbol": "xauusd",
"timeframe": "h1",
"direction": "bull",
"confirmedAt": "2026-01-07T08:00:00Z", // UTC 时间,信号开始
"endedAt": "2026-01-07T12:30:00Z", // UTC 时间,信号结束(null 表示进行中)
"createdAt": "2026-01-07T08:00:01Z" // UTC 时间
}
]
}Responsvelden
| Naam | Type | Beschrijving |
|---|---|---|
| id | number | Interne unieke identificatie |
| signalId | string | Signaal-ID, 6-karakter trackingcode |
| symbol | string | Handelssymbool, bijv. XAUUSD |
| timeframe | string | Tijdsframe, bijv. M1, M5, H1, D1 |
| direction | string | Handelsrichting, BUY of SELL |
| confirmedAt | datetime | Signaalbevestigingstijd (UTC), starttijd van het signaal |
| endedAt | datetime? | Eindtijd van het signaal (UTC), null betekent dat het signaal nog actief is |
| createdAt | datetime | Record aanmaaktijd (UTC) |
Over duur
De duur moet aan clientzijde worden berekend op basis van of endedAt null is:
// Signaal actiefif (endedAt == null) duration = now() - confirmedAt// Signaal beëindigdif (endedAt != null) duration = endedAt - confirmedAtGET
/api/signals/filtersBeschikbare filteropties ophalen
Request
GET https://api.aryenquant.com/api/signals/filters
Headers:
X-API-Key: your_api_keyResponse
{
"symbols": ["btcusd", "xauusd", ...],
"directions": ["bull", "bear"],
"timeframes": ["m1", "m5", "m15", "m30", "h1", "h4", "d1"]
}