Skip to content

StockListing('KOSDAQ') error #268

Open

Description

@jediroh

list_stocks = fdr.StockListing('KOSDAQ')
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\jedir.conda\envs\py31x_32b\lib\site-packages\FinanceDataReader\data.py", line 160, in StockListing
return KrxMarcapListing(market).read()
File "C:\Users\jedir.conda\envs\py31x_32b\lib\site-packages\FinanceDataReader\krx\listing.py", line 43, in read
j = json.loads(html_text)
File "C:\Users\jedir.conda\envs\py31x_32b\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\jedir.conda\envs\py31x_32b\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\jedir.conda\envs\py31x_32b\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Activity

  1. FinanceData commented on Mar 11, 2026

    @FinanceData
    Owner

    한국거래소(KRX)가 인증(로그인)을 해야 데이터를 조회할 수 있도록 정책이 변경되었습니다.
    이에 다음과 같이 대응하였습니다.

    TLTR; 다음과 같이 FinanceDataReader 업데이트하시면 됩니다.

    pip install -U finance-datareader
    

    더 자세한 내용이 궁금하시면,
    https://github.com/FinanceData/FinanceDataReader/wiki/Release-Note-0.9.110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions