[Mod]修改RtdService模块的默认端口号
This commit is contained in:
parent
ddab40cd94
commit
743ad675a9
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"repAddress": "tcp://*:88888",
|
"repAddress": "tcp://*:8888",
|
||||||
"pubAddress": "tcp://*:66666",
|
"pubAddress": "tcp://*:6666",
|
||||||
"eventType": {
|
"eventType": {
|
||||||
"eTick.": "symbol"
|
"eTick.": "symbol"
|
||||||
}
|
}
|
||||||
|
@ -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('')
|
||||||
|
Loading…
Reference in New Issue
Block a user