This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 954
api.GetSecurityQuotes 中返回的几个保留字段reversed_bytes中能不能提取出日期信息呀 #187
Comments
同求,如果没有时间,这个数据就失去了意义 |
数据没有日期,但有时间 reversed_bytes0
reversed_bytes0 ', 14999269
|
@liuyug 非常好,感谢,这个format_time是如何推断出来的,我之前一直没有看出规律 |
@liuyug 我测一测 给大哥递可乐 |
创建了相关的分支 https://github.com/rainx/pytdx/tree/feautre/add-time-column-to-get-security-quotes 如果测试没有问题就合并到主干 |
我测了下 这个time的时间戳 相较于本地时间差了20秒左右
|
|
多次获取同一个股票的实时 reverse_byte0 只出现了非常微小的变化
|
并且可以看出 怀疑active 是今天的交易的tick数?
|
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
想请问下有没有同学获取到日期信息,还是quote数据中压根就没有。
The text was updated successfully, but these errors were encountered: