# `kiwoomcli domestic elws conditions`

```text
usage: kiwoomcli domestic elws conditions [-h] --issuer-code ISSUER_CODE
                                          --underlying-code UNDERLYING_CODE
                                          --right-type {all,call,put,dc,dp,ex,early-call,early-put}
                                          --lp-code LP_CODE
                                          --sort {none,rise-rate,rise-price,fall-rate,fall-price,volume,amount,days-left}
                                          [--pages PAGES]
                                          [--format {pretty,json,jsonl,yaml}]
                                          [--profile PROFILE]
                                          [--mode {real,demo}]

options:
  -h, --help            show this help message and exit
  --issuer-code ISSUER_CODE
                        발행사코드
  --underlying-code UNDERLYING_CODE
                        기초자산코드
  --right-type {all,call,put,dc,dp,ex,early-call,early-put}
                        권리구분
  --lp-code LP_CODE     LP코드
  --sort {none,rise-rate,rise-price,fall-rate,fall-price,volume,amount,days-left}
                        정렬구분
  --pages PAGES         연속조회 페이지 수입니다 (기본 1, 0은 서버가 제공하는 모든 페이지).
  --format {pretty,json,jsonl,yaml}
                        출력 형식
  --profile PROFILE     사용할 계좌 별칭입니다. --mode/KIWOOM_MODE가 없을 때 생략하면 현재 계좌 별칭을
                        사용합니다.
  --mode {real,demo}    계좌 별칭 대신 모드를 직접 지정합니다.

Summary:
  ELW조건검색요청.

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

Examples:
  kiwoomcli domestic elws conditions --issuer-code <issuer_code> --underlying-code <underlying_code> --right-type all --lp-code <lp_code> --sort none

OpenAPI mapping:
  API ID: ka30005
  Request: POST /api/dostk/elw
  --issuer-code -> isscomp_cd (required)
  --underlying-code -> bsis_aset_cd (required)
  --right-type -> rght_tp (required)
      all = 0
      call = 1
      put = 2
      dc = 3
      dp = 4
      ex = 5
      early-call = 6
      early-put = 7
  --lp-code -> lpcd (required)
  --sort -> sort_tp (required)
      none = 0
      rise-rate = 1
      rise-price = 2
      fall-rate = 3
      fall-price = 4
      volume = 5
      amount = 6
      days-left = 7
```
