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

bond 가 작동이 안되는걸까요? 도움 부탁 드립니다 #208

Open
jaelee659 opened this issue Aug 23, 2024 · 1 comment
Open

Comments

@jaelee659
Copy link

from pykrx import stock
from pykrx import bond

df = bond.get_otc_treasury_yields("20190208")
print(df)
Traceback (most recent call last):

Input In [32] in <cell line: 4>
df = bond.get_otc_treasury_yields("20190208")

File ~\anaconda3\lib\site-packages\pykrx\bond\bond.py:63 in get_otc_treasury_yields
df = krx.bond.get_otc_treasury_yields_by_ticker(args[0])

AttributeError: module 'pykrx.website.krx' has no attribute 'bond'

@liante0904
Copy link
Contributor

from pykrx import stock from pykrx import bond

df = bond.get_otc_treasury_yields("20190208") print(df) Traceback (most recent call last):

Input In [32] in <cell line: 4> df = bond.get_otc_treasury_yields("20190208")

File ~\anaconda3\lib\site-packages\pykrx\bond\bond.py:63 in get_otc_treasury_yields df = krx.bond.get_otc_treasury_yields_by_ticker(args[0])

AttributeError: module 'pykrx.website.krx' has no attribute 'bond'

image

잘됩니다.

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