# `kiwoomcli domestic orders sell`

```text
usage: kiwoomcli domestic orders sell [-h] [--exchange {KRX,NXT,SOR}]
                                      --code CODE --qty QTY [--price PRICE]
                                      --order-type {limit,market} [--confirm]
                                      [--format {pretty,json,jsonl,yaml}]
                                      [--profile PROFILE] [--mode {real,demo}]

options:
  -h, --help            show this help message and exit
  --exchange {KRX,NXT,SOR}
                        국내거래소구분
  --code CODE           6자리 국내 종목코드
  --qty QTY             주문수량
  --price PRICE         주문단가
  --order-type {limit,market}
                        매매구분
  --confirm             지정하면 실제 주문을 전송합니다. 미지정 시 미전송 주문 확인을 출력합니다.
  --format {pretty,json,jsonl,yaml}
                        출력 형식
  --profile PROFILE     사용할 계좌 별칭입니다. --mode/KIWOOM_MODE가 없을 때 생략하면 현재 계좌 별칭을
                        사용합니다.
  --mode {real,demo}    계좌 별칭 대신 모드를 직접 지정합니다.

Summary:
  주식 매도주문.

Behavior:
  --confirm 없이는 실제 주문 API를 호출하지 않고 미전송 주문 확인만 출력합니다.

Examples:
  kiwoomcli domestic orders sell --code 005930 --qty 10 --order-type limit --price 70000

OpenAPI mapping:
  API ID: kt10001
  Request: POST /api/dostk/ordr
  --exchange -> dmst_stex_tp (optional, default: KRX)
  --code -> stk_cd (required)
  --qty -> ord_qty (required)
  --price -> ord_uv (optional)
  --order-type -> trde_tp (required)
      limit = 0
      market = 3
```
