You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
광복절이라서 한국 증시 휴장이라서 empty dataframe이 반환 되어야 할 것 같은데
1.0.45 버전에서도
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 581, in get_market_price_change
return get_market_price_change_by_ticker(*args, **kwargs)
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 599, in get_market_price_change_by_ticker
fromdate = get_nearest_business_day_in_a_week(fromdate, prev=False)
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 66, in get_nearest_business_day_in_a_week
return krx.get_nearest_business_day_in_a_week(date, prev)
File "C:\Python38\lib\site-packages\pykrx\website\krx_init_.py", line 43, in get_nearest_business_day_in_a_week
return df.index[0].strftime("%Y%m%d")
File "C:\Python38\lib\site-packages\pandas\core\indexes\base.py", line 4604, in getitem
return getitem(key)
IndexError: index 0 is out of bounds for axis 0 with size 0
이런 오류가 발생합니다.
추가적으로 보완해야 될 것이 있을 것 같습니다.
The text was updated successfully, but these errors were encountered:
광복절이라서 한국 증시 휴장이라서 empty dataframe이 반환 되어야 할 것 같은데
1.0.45 버전에서도
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 581, in get_market_price_change
return get_market_price_change_by_ticker(*args, **kwargs)
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 599, in get_market_price_change_by_ticker
fromdate = get_nearest_business_day_in_a_week(fromdate, prev=False)
File "C:\Python38\lib\site-packages\pykrx\stock\stock_api.py", line 66, in get_nearest_business_day_in_a_week
return krx.get_nearest_business_day_in_a_week(date, prev)
File "C:\Python38\lib\site-packages\pykrx\website\krx_init_.py", line 43, in get_nearest_business_day_in_a_week
return df.index[0].strftime("%Y%m%d")
File "C:\Python38\lib\site-packages\pandas\core\indexes\base.py", line 4604, in getitem
return getitem(key)
IndexError: index 0 is out of bounds for axis 0 with size 0
이런 오류가 발생합니다.
추가적으로 보완해야 될 것이 있을 것 같습니다.
The text was updated successfully, but these errors were encountered: