# `kiwoomcli domestic candles by-stock`

```text
usage: kiwoomcli domestic candles by-stock [-h] --date DATE --code CODE
                                           --basis {amount,quantity}
                                           --side {net-buy,buy,sell}
                                           --unit {thousand,share}
                                           [--pages PAGES]
                                           [--format {pretty,json,jsonl,yaml}]
                                           [--profile PROFILE]
                                           [--mode {real,demo}]

options:
  -h, --help            show this help message and exit
  --date DATE           조회일자 YYYYMMDD
  --code CODE           6자리 국내 종목코드
  --basis {amount,quantity}
                        금액/수량 구분
  --side {net-buy,buy,sell}
                        매매구분
  --unit {thousand,share}
                        단위구분
  --pages PAGES         연속조회 페이지 수입니다 (기본 1, 0은 서버가 제공하는 모든 페이지).
  --format {pretty,json,jsonl,yaml}
                        출력 형식
  --profile PROFILE     사용할 계좌 별칭입니다. --mode/KIWOOM_MODE가 없을 때 생략하면 현재 계좌 별칭을
                        사용합니다.
  --mode {real,demo}    계좌 별칭 대신 모드를 직접 지정합니다.

Summary:
  종목별투자자기관별차트요청.

Behavior:
  조회 전용 명령입니다. 계좌/주문 상태를 변경하지 않습니다.

Examples:
  kiwoomcli domestic candles by-stock --date 20260626 --code 005930 --basis amount --side net-buy --unit thousand

OpenAPI mapping:
  API ID: ka10060
  Request: POST /api/dostk/chart
  --date -> dt (required)
  --code -> stk_cd (required)
  --basis -> amt_qty_tp (required)
      amount = 1
      quantity = 2
  --side -> trde_tp (required)
      net-buy = 0
      buy = 1
      sell = 2
  --unit -> unit_tp (required)
      thousand = 1000
      share = 1
```
