Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol not found or invalid periods 발생 합니다. #168

Open
dohyah opened this issue Nov 6, 2022 · 1 comment
Open

symbol not found or invalid periods 발생 합니다. #168

dohyah opened this issue Nov 6, 2022 · 1 comment

Comments

@dohyah
Copy link

dohyah commented Nov 6, 2022

다음을 수행하면 에러가 발생 합니다.
실행:
df = fdr.DataReader('KR1YT=RR') # 1년만기 한국국채 수익률

결과:
HTTP Error 404: Not Found - symbol "KR1YT=RR"not found or invalid periods

몇몇 symbol에서 발생합니다.

@jellygit
Copy link

심볼에 '.', ' ' 등이 있는 NYSE 심볼 등을 DataReader 시도시,

%2E %20 으로 replace 해서 실행해도 동일합니다.

치환 했을 때

HTTP Error 404: Not Found - symbol "MBC%20WI"not found or invalid periods

원본 심볼

URL can't contain control characters. '/v7/finance/download/MBC WI?period1=315500400&period2=1676733049&interval=1d&events=history' (found at least ' ') - symbol "MBC WI"not found or invalid periods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants