修改tick2trade部分信息

This commit is contained in:
chenxy123 2016-12-07 22:50:55 +08:00
parent b91f0dba61
commit af985ac39a
3 changed files with 7 additions and 5 deletions

View File

@ -2,4 +2,6 @@
本文件夹下的内容主要是围绕vn.py在实际交易中的一系列具体应用包括说明文档和代码例子。 本文件夹下的内容主要是围绕vn.py在实际交易中的一系列具体应用包括说明文档和代码例子。
* performance《百倍加速Python量化策略的算法性能提升指南》 * performance[《百倍加速Python量化策略的算法性能提升指南》](http://zhuanlan.zhihu.com/p/24168485)
* tick2trade: [《vn.trader的tick-to-trade延时测试》](http://zhuanlan.zhihu.com/p/24242972)

View File

@ -1,7 +1,7 @@
{ {
"brokerID": "9999", "brokerID": "9999",
"tdAddress": "tcp://180.168.146.187:10000", "tdAddress": "tcp://180.168.146.187:10000",
"password": "19890624", "password": "simnow申请",
"mdAddress": "tcp://180.168.146.187:10010", "mdAddress": "tcp://180.168.212.228:41213",
"userID": "000300" "userID": "simnow申请"
} }

View File

@ -306,7 +306,7 @@ class MainEngine(object):
order_time = self.sendOrder(req, tick.gatewayName) order_time = self.sendOrder(req, tick.gatewayName)
print u'耗时:', (order_time - tick.tick_time)*100000/tick.frequency_time, u'' print u'耗时:', (order_time - tick.tick_time)*1000/tick.frequency_time, u''