Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

get_transaction_data(1,code,0,30)沪市场的分笔数据字段num=0,无实际数据;而深市有num值 #182

Open
Carltiger opened this issue Sep 7, 2018 · 2 comments

Comments

@Carltiger
Copy link

from pytdx.hq import TdxHq_API
api = TdxHq_API()
with api.connect('14.17.75.11', 7709):
data=[]
for i in range(10):
data+=api.get_transaction_data(1,'600815',0,30) num一直等于0
#data+=api.get_transaction_data(0,'000022',0,30) num有值
print(api.to_df(data))

@yutiansut
Copy link
Collaborator

是的 上海的历史就是这样 实时的是有的

@kerwinyc
Copy link

kerwinyc commented Jan 2, 2019

这个Num 的数据的意思是啥,看半天没有看懂,请高手指点

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants