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

请问如何获得过去某一天中的盘中价格。 #2

Open
Huang9299 opened this issue Jul 31, 2021 · 4 comments
Open

请问如何获得过去某一天中的盘中价格。 #2

Huang9299 opened this issue Jul 31, 2021 · 4 comments

Comments

@Huang9299
Copy link

image
我用图中的code想要获得倒数第二天交易日的盘中价格(即11:30am的价格),但是只能得到最后一个交易日的盘中价格。请问我要怎么写code呢?

@mpquant
Copy link
Owner

mpquant commented Aug 1, 2021

倒数第二日,可以获取,接口一次最多返回3000条,5分钟K线够最近60天的了,不过你需要自己改改程序

@Huang9299
Copy link
Author

我的目的是可以调取已有数据中的任意一天的盘中价格,如果我理解你的意思正确的话,目前我需要改code,就算改了也只能调取最后60个交易日的数据,无法调取超过60天之前的数据。

@Huang9299
Copy link
Author

还有想请问以下你有sina finance api documentations吗? 我没google到。

@mpquant
Copy link
Owner

mpquant commented Aug 1, 2021

"需要改code,就算改了也只能调取最后60个交易日的数据,无法调取超过60天之前的数据" 是的,另外不会有公开的sina finance api documentations,try to guess

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