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

时间格式 #12

Closed
dalitang opened this issue Oct 3, 2022 · 2 comments
Closed

时间格式 #12

dalitang opened this issue Oct 3, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@dalitang
Copy link

dalitang commented Oct 3, 2022

ERROR 1 2174 警告: 您提交的请求包含日期-时间属性,但未明确指定时区。请切换以使用格式为yyyymmdd-hh:mm:ss的协调世界时或使用产品的时区(如US/Eastern)。隐含时区的功能将在下一次API发布时被移除。

这个似乎是新格式,目前代码中是 yyyymmdd hh:mm:ss

@vnpy vnpy added the enhancement New feature or request label Oct 4, 2022
@dalitang
Copy link
Author

这个新格式影响到了api,但是ibapi显然没有更新

@noranhe
Copy link
Contributor

noranhe commented Oct 19, 2022

我们使用TWS离线安装程序稳定版(10.12.2v)测试过了,没有复现如上问题,可以安装TWS离线安装程序稳定版(10.12.2v)试试看。
如果需要查询现货数据,可参考#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants