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
Last updated
Was this helpful?