보유 주식 조회
toss_get_holdingsRetrieve current stock holdings for a specified account. Optionally filter by symbol to view specific positions with purchase price, market value, and profit/loss details.
Instructions
특정 계좌의 보유 주식 현황을 조회합니다. 계좌 시퀀스(accountSeq)는 toss_get_accounts로 조회할 수 있습니다.
Args:
accountSeq (number, 필수): 계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값
symbol (string, 선택): 종목 심볼 필터. 특정 종목만 조회 시 사용
Returns:
totalPurchaseAmount: 총 매수 금액 (krw, usd)
marketValue: 평가 금액 (amount, amountAfterCost - 수수료 차감)
profitLoss: 평가 손익 (amount, amountAfterCost, rate, rateAfterCost)
dailyProfitLoss: 일간 손익 (amount, rate)
items[]: 보유 종목 목록
symbol, name, marketCountry, currency
quantity: 보유 수량
lastPrice: 현재가
averagePurchasePrice: 평균 매수가
marketValue: 평가 금액
profitLoss: 손익
dailyProfitLoss: 일간 손익
cost: 수수료/세금 정보
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 종목 심볼 필터 (선택). 특정 종목만 조회 시 사용. 예: "005930" 또는 "AAPL" | |
| accountSeq | Yes | 계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값 |