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

获取000300.SH沪深300—5min行情时出现的成交量单位突变造成当日2个数量级误差的问题 #1772

Open
2R0NE opened this issue Mar 25, 2025 · 0 comments

Comments

@2R0NE
Copy link

2R0NE commented Mar 25, 2025

vp_start_time = '2024-08-15 09:00:00' # 示例起始时间
vp_end_time = '2025-03-07 19:00:00' # 示例结束时间

tu_df = pro.stk_mins(ts_code='000300.SH', freq='5min', start_date=vp_start_time, end_date=vp_end_time)
tu_df.to_csv('D:\Tu_stock_data.csv', index=False) #写入 CSV 文件

根据查看CSV文档数据发现,其至少在
2024/09/30
2024/10/30
2024/12/20
2025/01/03
2025/01/24
2025/01/27
2025/03/07
中出现单位为‘’手‘’的单位突变,其余为‘’股‘’。

ID:774537

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

1 participant