[Mod]修改RtdService模块的默认端口号

This commit is contained in:
vn.py 2018-02-26 11:28:56 +08:00
parent ddab40cd94
commit 743ad675a9
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"repAddress": "tcp://*:88888", "repAddress": "tcp://*:8888",
"pubAddress": "tcp://*:66666", "pubAddress": "tcp://*:6666",
"eventType": { "eventType": {
"eTick.": "symbol" "eTick.": "symbol"
} }

View File

@ -82,8 +82,8 @@ def rtdData(name, field):
# 连接客户端 # 连接客户端
reqAddress = 'tcp://localhost:88888' reqAddress = 'tcp://localhost:8888'
subAddress = 'tcp://localhost:66666' subAddress = 'tcp://localhost:6666'
c = RtdClient(reqAddress, subAddress) c = RtdClient(reqAddress, subAddress)
c.subscribeTopic('') c.subscribeTopic('')