diff --git a/vnpy/trader/app/rtdService/RTD_setting.json b/vnpy/trader/app/rtdService/RTD_setting.json index 0388abb3..04d2838d 100644 --- a/vnpy/trader/app/rtdService/RTD_setting.json +++ b/vnpy/trader/app/rtdService/RTD_setting.json @@ -1,6 +1,6 @@ { - "repAddress": "tcp://*:88888", - "pubAddress": "tcp://*:66666", + "repAddress": "tcp://*:8888", + "pubAddress": "tcp://*:6666", "eventType": { "eTick.": "symbol" } diff --git a/vnpy/trader/app/rtdService/rtdClient.py b/vnpy/trader/app/rtdService/rtdClient.py index b20dfb31..30689191 100644 --- a/vnpy/trader/app/rtdService/rtdClient.py +++ b/vnpy/trader/app/rtdService/rtdClient.py @@ -82,8 +82,8 @@ def rtdData(name, field): # 连接客户端 -reqAddress = 'tcp://localhost:88888' -subAddress = 'tcp://localhost:66666' +reqAddress = 'tcp://localhost:8888' +subAddress = 'tcp://localhost:6666' c = RtdClient(reqAddress, subAddress) c.subscribeTopic('')