시그널 서비스
실시간 트레이딩 시그널 데이터 조회
GET
/api/signals시그널 목록 조회, 종목 및 날짜 필터링 지원
파라미터
| 파라미터명 | 타입 | 필수 | 설명 |
|---|---|---|---|
| symbol | string[] | 선택 | 심볼로 필터링, 예: EURUSD |
| startDate | datetime | 선택 | 시작 날짜, ISO 8601 형식 |
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 时间
}
]
}응답 필드
| 파라미터명 | 타입 | 설명 |
|---|---|---|
| id | number | 시스템 내부 고유 식별자 |
| signalId | string | 시그널 ID, 6자 추적 코드 |
| symbol | string | 거래 심볼, 예: XAUUSD |
| timeframe | string | 타임프레임, 예: M1, M5, H1, D1 |
| direction | string | 거래 방향, BUY 또는 SELL |
| confirmedAt | datetime | 시그널 확인 시간(UTC), 시그널 시작 시간 |
| endedAt | datetime? | 시그널 종료 시간(UTC), null은 시그널 진행 중을 의미 |
| createdAt | datetime | 레코드 생성 시간(UTC) |
지속 시간 안내
지속 시간은 endedAt이 비어 있는지 여부에 따라 클라이언트에서 계산해야 합니다:
// 시그널 진행 중if (endedAt == null) duration = now() - confirmedAt// 시그널 종료됨if (endedAt != null) duration = endedAt - confirmedAtGET
/api/signals/filters사용 가능한 필터 옵션 조회
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"]
}