[Mod] complete test of RPC lock

This commit is contained in:
vn.py 2019-09-03 10:03:46 +08:00
parent ed061f585e
commit fc22cfebfa

View File

@ -44,13 +44,13 @@ def main_terminal():
rpc_engine = main_engine.add_app(RpcServiceApp) rpc_engine = main_engine.add_app(RpcServiceApp)
setting = { setting = {
"用户名": "25500029", "用户名": "",
"密码": "20140602", "密码": "",
"经纪商代码": "6010", "经纪商代码": "9999",
"交易服务器": "180.169.75.194:41305", "交易服务器": "180.168.146.187:10101",
"行情服务器": "180.166.1.17:41313", "行情服务器": "180.168.146.187:10111",
"产品名称": "vntech_vnpy_2.0", "产品名称": "simnow_client_test",
"授权编码": "0Y1J5UIMY79BFL7S", "授权编码": "0000000000000000",
"产品信息": "" "产品信息": ""
} }
main_engine.connect(setting, "CTP") main_engine.connect(setting, "CTP")