| 헤더 | 설명 |
|---|---|
Authorization | Bearer {JWT} 형식의 인증 토큰 |
positionCd)| 값 | 설명 |
|---|---|
LONG | 매수 포지션 |
SHORT | 매도 포지션 |
nextKey — 초기 요청 시 "1", 이후 응답의 nextKey 값을 전송curl --location --request GET 'https://dev.your-api-server.com/assets/positions?nextKey=1'{
"status": "success",
"code": 200,
"data": {
"nextKey": "string",
"positions": [
{
"stockCd": "string",
"tradeCurrencyCd": "string",
"positionCd": "TOTAL",
"accountBookQuantity": 0,
"closeOutPossibleQuantity": 0,
"accountBookPrice": 0,
"currentPrice": 0,
"assessmentProfitLoss": 0,
"swapFeePrice": 0,
"reLongExecutionPrice": 0
}
],
"summary": [
{
"stockCd": "string",
"positionCd": "TOTAL",
"currentPrice": 0,
"reLongExecutionPrice": 0,
"ratePercent": 0
}
]
}
}