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

股票历史分钟K线数据获取错误 #51

Closed
Dysonsun opened this issue May 18, 2022 · 1 comment
Closed

股票历史分钟K线数据获取错误 #51

Dysonsun opened this issue May 18, 2022 · 1 comment

Comments

@Dysonsun
Copy link

我使用下面这行代码去获取603266这只股票在2022年4月19号的分钟k线数据。

ef.stock.get_quote_history(‘603266’, 20220419, 20220419, 1)

结果返回了今天的分钟k线数据。

     股票名称    股票代码                日期     开盘     收盘     最高     最低    成交量         成交额    振幅   涨跌幅   涨跌额   换手率
0    天龙股份  603266  2022-05-18 09:31  16.79  16.30  16.79  16.30  15657  26045530.0  2.91 -3.15 -0.53  0.79
1    天龙股份  603266  2022-05-18 09:32  16.30  16.37  16.37  16.16   8354  13571944.0  1.29  0.43  0.07  0.42
2    天龙股份  603266  2022-05-18 09:33  16.46  16.58  16.74  16.46   4596   7627996.0  1.71  1.28  0.21  0.23
3    天龙股份  603266  2022-05-18 09:34  16.58  16.48  16.68  16.48   4460   7403235.0  1.21 -0.60 -0.10  0.22
4    天龙股份  603266  2022-05-18 09:35  16.45  16.38  16.45  16.28   4518   7380003.0  1.03 -0.61 -0.10  0.23
..    ...     ...               ...    ...    ...    ...    ...    ...         ...   ...   ...   ...   ...
115  天龙股份  603266  2022-05-18 11:26  16.90  16.92  16.92  16.90    118    199490.0  0.12  0.12  0.02  0.01
116  天龙股份  603266  2022-05-18 11:27  16.91  16.90  16.91  16.90    191    322853.0  0.06 -0.12 -0.02  0.01
117  天龙股份  603266  2022-05-18 11:28  16.89  16.89  16.90  16.88    276    466180.0  0.12 -0.06 -0.01  0.01
118  天龙股份  603266  2022-05-18 11:29  16.89  16.88  16.89  16.88    306    516720.0  0.06 -0.06 -0.01  0.02
119  天龙股份  603266  2022-05-18 11:30  16.88  16.89  16.89  16.88    336    567283.0  0.06  0.06  0.01  0.02

希望大佬帮忙解答。

@Dysonsun
Copy link
Author

issues#35解决

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