Skip to content

Commit

Permalink
增加docx同步
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxy123 committed Oct 13, 2016
1 parent 8a744fb commit 6ed2a4e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ Release/
# 本地持久化文件
*.vn

# word文档
*.doc
*.docx


# 其他文件
*.dump
Expand Down
Binary file added FAQ/vn.py FAQ 20150526.docx
Binary file not shown.
Binary file added FAQ/vn.py FAQ 20150527.docx
Binary file not shown.
Binary file added FAQ/vn.py FAQ 20150608.docx
Binary file not shown.
Binary file added FAQ/vn.py FAQ 20151213.docx
Binary file not shown.
Binary file not shown.
15 changes: 11 additions & 4 deletions vn.shzd/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,20 @@ def onReceiveTradeInfo(self, data):
api.shzdSendInfoToTrade(data)

# 订阅行情
#sleep(1)
#data = {}
#data['msgtype'] = 'MA'
#data['11'] = '00010337'
#data['201'] = '+'
#data['307'] = "CME,6J1609"
#api.shzdSendInfoToMarket(data)

# 查询合约
sleep(1)
data = {}
data['msgtype'] = 'MA'
data['msgtype'] = 'HY'
data['11'] = '00010337'
data['201'] = '+'
data['307'] = "CME,6J1609"
api.shzdSendInfoToMarket(data)
api.shzdSendInfoToMarket(data)

raw_input()

Expand Down

0 comments on commit 6ed2a4e

Please sign in to comment.