> For the complete documentation index, see [llms.txt](https://help.deepsearch.com/dp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.deepsearch.com/dp/api/func/company/undefined/getstockprices.md).

# GetStockPrices

### Function specification

```
GetStockPrices(entities=None, columns=None, date_from=None, date_to=None)
```

### Parameters

| Parameter           | Type                     | Description                               |
| ------------------- | ------------------------ | ----------------------------------------- |
| entities            | string or list of string | 종목코드 or 종목명                               |
| columns             | string or list of string | 어떤 정보를 조회할것인지 지정. 별도 지정이 없으면 전체 항목에 대해 조회 |
| date\_from/date\_to | Date                     | 거래일. 별도 지정이 없으면 가장 최근의 거래일                |

### Examples

```
> GetStockPrices([삼성전자, NAVER], columns=["close"])
                     
date       symbol      entity_name   close                        
2020-06-30 KRX:005930        삼성전자   53700
           KRX:035420       NAVER  265000

```
