-
from pykrx import stock
kospi_code = stock.get_market_ticker_list()
print(kospi_code)
하면
Exception has occurred: IndexError
index -1 is out of bounds for axis 0 with size 0
IndexError: range…
-
아래 코드 실행 시, 7/3일까지는 작동이 되었는데, 오늘은 빈값을 불러옵니다.
코드도 pykrx도 변동사항은 없는 것 같은데, 어떤 문제일까요?
-----------------------------------------------------------------------
from pykrx import stock
import pandas as…
-
-
코스피 종목 코드 kis_kospi_code_mst.py를 기준으로 코스닥 코드를 작성하고 있습니다.
"https://new.real.download.dws.co.kr/common/master/kosdaq_code.mst.zip"로 수정하여 kosdaq 종목 리스트 zip파일을 다운로드 하였구요.
종목마스터정보(코스닥).h 헤더파일을 참고하여 작성하였는…
-
I keep receiving the following error:
`Error in cal$adjust.from(new.from, cal) : attempt to apply non-function`
when using `bizdays`, in the following manner:
`bizdays::bizdays(as.Date("2019-01-0…
-
from_date = '20230501'
end_date = '20230620'
df_kospi = stock.get_index_fundamental(from_date, end_date, "1001")
df_kospi.reset_index(inplace=True)
df_kospi = df_kospi[['날짜', '종가']]
df_kosdaq =…
-
Conclusion for each approach
-
```
xkrx = xcals.get_calendar("XKRX")
now_date = datetime.datetime.today().astimezone(pytz.timezone('Asia/Seoul')) - datetime.timedelta(days=1)
now_date_str = now_date.strftime('%Y-%m-%d')
…
-
The three listings did not update data from April 2, 2019 on Yahoo.
The three lists are:
Kosdaq: '264850', '270520'
Kospi: '094800'
-
KOSPI 종목 정보 가져오는 [Sample](https://github.com/koreainvestment/open-trading-api/blob/main/stocks_info/kis_kospi_code_mst.py)을 Local PC jupyter 노트북에서 실행 시 아래와 같은 에러가 발생합니다.
작업환경 : Windows 11 / VSCod…