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

多个股票报错 #1722

Open
Dengnj opened this issue Oct 23, 2023 · 1 comment
Open

多个股票报错 #1722

Dengnj opened this issue Oct 23, 2023 · 1 comment

Comments

@Dengnj
Copy link

Dengnj commented Oct 23, 2023

#多个股票
df = pro.daily(ts_code='000001.SZ,600000.SH', start_date='20180701', end_date='20180718')

ts_code 有5000多只股票时报错

@mujiannan
Copy link

不要一次拼接太多ts_code,这接口不是你这么用的。
获取全量历史数据,你应该使用单个trade_date,把其余任何参数都留空,逐日获取每天的全量数据。

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