-
Notifications
You must be signed in to change notification settings - Fork 375
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
국고채수익율 (KR1YT=RR, KR10YT=RR, ...)을 가져오지 못합니다 #201
Comments
현재는 채권 수익률은 yahoo finance에서 데이터를 가져오고 있으며, 한국 국채 수익률 데이터는 제공하고 있지 못하고 있습니다. 조만간 한국거래소(KRX)의 채권수익률 데이터를 지원할 예정이며, 업데이트가 이루어지면 답글을 하도록 하겠습니다. |
Investing 모듈을 직접 불러와서 짜는 방식으로 우회하실 수 있습니다.
|
다음과 같이 "INVESTING:" 을 명시하여 사용해보세요. In [32]: fdr.DataReader('INVESTING:KR10YT=RR')
Out[32]:
Close Open High Low Volume Change
Date
2000-10-26 8.300 8.300 8.300 8.300 0.0 -0.0060
2000-10-27 8.240 8.240 8.240 8.240 0.0 -0.0072
2000-10-28 8.240 8.240 8.240 8.240 0.0 0.0000
2000-10-30 8.220 8.220 8.220 8.220 0.0 -0.0024
2000-11-01 8.150 8.150 8.150 8.150 0.0 -0.0085
... ... ... ... ... ... ...
2020-05-11 1.461 1.433 1.461 1.433 0.0 0.0253
2020-05-12 1.422 1.460 1.460 1.416 0.0 -0.0267
2020-05-13 1.392 1.404 1.412 1.376 0.0 -0.0211
2020-05-14 1.382 1.384 1.404 1.367 0.0 -0.0072
2020-05-15 1.384 1.394 1.397 1.377 0.0 0.0014
[4999 rows x 6 columns]
In [33]: fdr.DataReader('INVESTING:KR1YT=RR')
Out[33]:
Close Open High Low Volume Change
Date
1995-05-03 14.550 14.550 14.550 14.550 0.0 0.0069
1995-05-04 14.550 14.550 14.550 14.550 0.0 0.0000
1995-05-06 14.500 14.500 14.500 14.500 0.0 -0.0034
1995-05-08 14.500 14.500 14.500 14.500 0.0 0.0000
1995-05-09 14.500 14.500 14.500 14.500 0.0 0.0000
... ... ... ... ... ... ...
2016-12-08 1.538 1.535 1.538 1.535 0.0 -0.0077
2016-12-10 1.581 1.581 1.581 1.581 0.0 0.0280
2016-12-12 1.578 1.578 1.578 1.578 0.0 -0.0019
2016-12-13 1.567 1.567 1.567 1.567 0.0 -0.0070
2016-12-14 1.545 1.545 1.545 1.545 0.0 -0.0140
[4999 rows x 6 columns]
In [34]: PS. |
국고채수익율을 가져오지 못합니다
(KR1YT=RR, KR10YT=RR, ...)
investing.com => yahoo finance 로 대체된 이후 위 티커는 값을 못가져오는 것 같은데.. 방법이 없을까요??
The text was updated successfully, but these errors were encountered: