# `kiwoomcli domestic stocks program-net-top`

```text
usage: kiwoomcli domestic stocks program-net-top [-h]
                                                 --side {net-sell,net-buy}
                                                 --basis {amount,quantity}
                                                 --market-code MARKET_CODE
                                                 --exchange {KRX,NXT,ALL}
                                                 [--pages PAGES]
                                                 [--format {pretty,json,jsonl,yaml}]
                                                 [--profile PROFILE]
                                                 [--mode {real,demo}]

options:
  -h, --help            show this help message and exit
  --side {net-sell,net-buy}
                        순매매 상위 구분
  --basis {amount,quantity}
                        금액/수량 구분
  --market-code MARKET_CODE
                        프로그램 시장코드
  --exchange {KRX,NXT,ALL}
                        거래소구분
  --pages PAGES         연속조회 페이지 수입니다 (기본 1, 0은 서버가 제공하는 모든 페이지).
  --format {pretty,json,jsonl,yaml}
                        출력 형식
  --profile PROFILE     사용할 계좌 별칭입니다. --mode/KIWOOM_MODE가 없을 때 생략하면 현재 계좌 별칭을
                        사용합니다.
  --mode {real,demo}    계좌 별칭 대신 모드를 직접 지정합니다.

Summary:
  프로그램순매수상위50요청.

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

Examples:
  kiwoomcli domestic stocks program-net-top --side net-sell --basis amount --market-code <market_code> --exchange KRX

OpenAPI mapping:
  API ID: ka90003
  Request: POST /api/dostk/stkinfo
  --side -> trde_upper_tp (required)
      net-sell = 1
      net-buy = 2
  --basis -> amt_qty_tp (required)
      amount = 1
      quantity = 2
  --market-code -> mrkt_tp (required)
  --exchange -> stex_tp (required)
      KRX = 1
      NXT = 2
      ALL = 3
```
