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

단순히 stock.get_market_ohlcv 실행했는데, "None of [Index(['시가', '고가', '저가', '종가'], dtype='object')] are in the [columns]" 메세지가 나옵니다. #182

Open
ikeyada opened this issue May 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working closing-candidate

Comments

@ikeyada
Copy link

ikeyada commented May 21, 2024

import pykrx as krx
import pandas as pd

from pykrx import stock
from pykrx import bond

from datetime import date, timedelta
import datetime

stock.get_market_ohlcv("20240426", market="KOSPI")

KeyError: "None of [Index(['시가', '고가', '저가', '종가'], dtype='object')] are in the [columns]"

@mr-yoo mr-yoo self-assigned this Jul 14, 2024
@mr-yoo mr-yoo added bug Something isn't working closing-candidate labels Jul 14, 2024
@mr-yoo
Copy link
Collaborator

mr-yoo commented Jul 14, 2024

최근 KRX 웹페이지가 개편됨에 따라 스크래핑 코드에 Refer 값을 추가했습니다.

모듈 업데이트 후 동작되는 것 확인했습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working closing-candidate
Projects
None yet
Development

No branches or pull requests

2 participants