From 743ad675a986cad70d8614d679724d64c3dfbc62 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 26 Feb 2018 11:28:56 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E4=BF=AE=E6=94=B9RtdService=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=9A=84=E9=BB=98=E8=AE=A4=E7=AB=AF=E5=8F=A3=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/app/rtdService/RTD_setting.json | 4 ++-- vnpy/trader/app/rtdService/rtdClient.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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('')