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

如何获取美股跟港股的最近交易日的交易数据 #146

Open
penghaozhou opened this issue Sep 17, 2023 · 1 comment
Open

如何获取美股跟港股的最近交易日的交易数据 #146

penghaozhou opened this issue Sep 17, 2023 · 1 comment

Comments

@penghaozhou
Copy link

penghaozhou commented Sep 17, 2023

你好,请教下ef.stock.get_today_bill跟get_quote_history_1_minute这两个函数无法获取港股跟美股的信息,请问是配置是需要改动吗

@allen-li1231
Copy link
Contributor

你好,请教下ef.stock.get_today_bill跟get_quote_history_1_minute这两个函数无法获取港股跟美股的信息,请问是配置是需要改动吗

理论上是可以的,这样写能正常返回数据:

ef.stock.get_quote_history("AAPL", beg="20200101", end="20230101", klt=1)

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