inquire_daily_chartprice#

KISOverseasStock.inquire_daily_chartprice(fid_cond_mrkt_div_code: str, fid_input_iscd: str, fid_input_date_1: date, fid_input_date_2: date, fid_period_div_code: str, tr_cont: str = '')[source]#

(해외주식현재가) 해외주식 종목/지수/환율기간별시세(일/주/월/년)[v1_해외주식-012]

Parameters:
  • fid_cond_mrkt_div_code (str) – 시장구분코드 - “N”:해외지수 “X”:환율

  • fid_input_iscd (str) – 종목코드 (해외주식 마스터 코드 참조. 다우30, 나스닥100, S&P500 종목만 조회가능)

  • fid_input_date_1 (dtm.date) – 조회시작일자

  • fid_input_date_2 (dtm.date) – 조회종료일자

  • fid_period_div_code (str) – 기간구분코드 - “D”:일 “W”:주 “M”:월 “Y”:년

  • tr_cont (str) – 연속조회여부 - 공백: 초기조회, “N”: 연속조회

Returns:

  • rt_cd: 응답코드

  • msg_cd: 응답메시지코드

  • msg1: 응답메시지1

  • output1: 응답상세1 (dict)
    • ovrs_nmix_prdy_vrss: 전일대비

    • prdy_vrss_sign: 전일대비부호 - 1:상한 2:상승 3:보합 4:하한 5:하락

    • prdy_ctrt: 전일 대비율

    • ovrs_nmix_prdy_clpr: 전일종가

    • acml_vol: 누적거래량

    • hts_kor_isnm: HTS 한글 종목명

    • ovrs_nmix_prpr: 현재가

    • stck_shrn_iscd: 단축 종목코드

    • ovrs_prod_oprc: 시가

    • ovrs_prod_hgpr: 최고가

    • ovrs_prod_lwpr: 최저가

  • output2: 응답상세2 (list)
    • stck_bsop_date: 영업일자

    • ovrs_nmix_prpr: 현재가

    • ovrs_nmix_oprc: 시가

    • ovrs_nmix_hgpr: 최고가

    • ovrs_nmix_lwpr: 최저가

    • acml_vol: 누적 거래량

    • mod_yn: 변경 여부

Return type:

dict