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

对部分股票调日线数据时报错 #72

Closed
JackTheGrey opened this issue Jun 11, 2024 · 1 comment
Closed

对部分股票调日线数据时报错 #72

JackTheGrey opened this issue Jun 11, 2024 · 1 comment
Labels
question Further information is requested

Comments

@JackTheGrey
Copy link

对002824、002838-002860等股票调日线数据时出现ValueError

报错代码:
import adata s_rixian = adata.stock.market.get_market(stock_code='002860', k_type=1, start_date='2017-01-01') s_rixian

报错详情如下:
1e7cc9d3f43bd6a51e642afe23f6d6c

疑似是在计算change_pct时的数据格式问题

@1nchaos
Copy link
Owner

1nchaos commented Jun 17, 2024

你好,你的环境依赖版本?应该是pandas版本问题

@1nchaos 1nchaos added the question Further information is requested label Jun 17, 2024
@1nchaos 1nchaos closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants