diff --git a/.gitignore b/.gitignore index 12d7cda6..f042da2e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,9 +27,7 @@ Release/ # 本地持久化文件 *.vn -# word文档 -*.doc -*.docx + # 其他文件 *.dump diff --git a/FAQ/vn.py FAQ 20150526.docx b/FAQ/vn.py FAQ 20150526.docx new file mode 100644 index 00000000..3e682ed2 Binary files /dev/null and b/FAQ/vn.py FAQ 20150526.docx differ diff --git a/FAQ/vn.py FAQ 20150527.docx b/FAQ/vn.py FAQ 20150527.docx new file mode 100644 index 00000000..24986bbd Binary files /dev/null and b/FAQ/vn.py FAQ 20150527.docx differ diff --git a/FAQ/vn.py FAQ 20150608.docx b/FAQ/vn.py FAQ 20150608.docx new file mode 100644 index 00000000..98bfec6e Binary files /dev/null and b/FAQ/vn.py FAQ 20150608.docx differ diff --git a/FAQ/vn.py FAQ 20151213.docx b/FAQ/vn.py FAQ 20151213.docx new file mode 100644 index 00000000..8ef5e947 Binary files /dev/null and b/FAQ/vn.py FAQ 20151213.docx differ diff --git a/vn.shzd/docs/上海直达软件外部连接DLL使用指南VC.docx b/vn.shzd/docs/上海直达软件外部连接DLL使用指南VC.docx new file mode 100644 index 00000000..f09200f3 Binary files /dev/null and b/vn.shzd/docs/上海直达软件外部连接DLL使用指南VC.docx differ diff --git a/vn.shzd/test/test.py b/vn.shzd/test/test.py index 25646048..ef798b56 100644 --- a/vn.shzd/test/test.py +++ b/vn.shzd/test/test.py @@ -61,13 +61,20 @@ if __name__ == '__main__': 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()