| 헤더 | 설명 |
|---|---|
Authorization | Bearer {JWT} 형식의 인증 토큰 |
orderCd)| 값 | 설명 |
|---|---|
TOTAL | 전체 |
PURCHASE | 매입 |
CLOSE_OUT | 청산 |
positionCd)| 값 | 설명 |
|---|---|
TOTAL | 전체 |
LONG | 매수 포지션 |
SHORT | 매도 포지션 |
orderStatusCd)| 값 | 설명 |
|---|---|
RECEIVED | 접수 |
SENT | 송신 |
CONFIRMED | 확인 |
REJECTED | 거부 |
BARRIER | 배리어 |
LIMIT_PRICE | 지정가 |
CANCELLED | 취소 |
FAILED | 실패 |
CLOSED | 종료 |
nextKey — 초기 요청 시 빈 문자열, 이후 응답의 nextKey 값을 전송curl --location --request GET 'https://dev.your-api-server.com/execution/history?orderStartDateTime=&orderEndDateTime=&orderCd=TOTAL&positionCd=TOTAL&nextKey='{
"status": "success",
"code": 200,
"data": {
"nextKey": "string",
"details": [
{
"orderDateTime": "2019-08-24T14:15:22.123Z",
"orderNo": "string",
"executionDateTime": "2019-08-24T14:15:22.123Z",
"executionNo": "string",
"stockCd": "string",
"positionCd": "TOTAL",
"orderTypeCd": "MARKET",
"orderCd": "TOTAL",
"orderQuantity": 0,
"barrierPrice": 0,
"orderPrice": 0,
"profitRealizationBarrierPrice": 0,
"lossCutBarrierPrice": 0,
"executionQuantity": 0,
"executionPrice": 0,
"orderBalance": 0,
"orderStatusCd": "RECEIVED"
}
]
}
}