| 헤더 | 설명 |
|---|---|
Authorization | Bearer {JWT} 형식의 인증 토큰 |
positionCd)| 값 | 설명 |
|---|---|
LONG | 매수 포지션 |
SHORT | 매도 포지션 |
stockGroupCd)| 값 | 설명 |
|---|---|
ALL | 전체 |
FOREIGN | 외환 |
INDEX | 지수 |
COMMODITY | 상품 |
CRYPTO | 가상화폐 |
nextKey — 초기 요청 시 빈 문자열, 이후 응답의 nextKey 값을 전송curl --location --request GET 'https://dev.your-api-server.com/stocks/positions?stockCd=&nextKey='{
"status": "success",
"code": 200,
"data": {
"nextKey": "string",
"symbols": [
{
"stockCd": "string",
"tradeCurrencyCd": "string",
"positionCd": "TOTAL",
"purchaseDateTime": "2019-08-24T14:15:22.123Z",
"accountBookQuantity": 0,
"liquidationPossibleQuantity": 0,
"accountBookPrice": 0,
"currentPrice": 0,
"assessmentProfitLoss": 0,
"stockGroupCd": "ALL",
"positionNo": "string"
}
]
}
}