VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 1
声望: 0

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnstation\cli.py", line 92, in run_trader
main_engine.add_app(app)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "c:\vnstudio\lib\site-packages\vnpy\app\excel_rtd\engine.py", line 32, in init
self.server.start(REP_ADDRESS, PUB_ADDRESS)
File "c:\vnstudio\lib\site-packages\vnpy\rpc__init.py", line 107, in start
self.
socket_rep.bind(rep_address)
File "zmq\backend\cython\socket.pyx", line 550, in zmq.backend.cython.socket.Socket.bind
File "zmq\backend\cython\checkrc.pxd", line 26, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Permission denied
帮忙解决一下,谢谢

Administrator
avatar
加入于:
帖子: 4545
声望: 324

用进程管理器看下,把之前启动的其他VN TRADER进程(python.exe)给杀掉即可

Member
avatar
加入于:
帖子: 4
声望: 1

行者无疆 wrote:

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnstation\cli.py", line 92, in run_trader
main_engine.add_app(app)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "c:\vnstudio\lib\site-packages\vnpy\app\excel_rtd\engine.py", line 32, in init
self.server.start(REP_ADDRESS, PUB_ADDRESS)
File "c:\vnstudio\lib\site-packages\vnpy\rpc__init.py", line 107, in start
self.
socket_rep.bind(rep_address)
File "zmq\backend\cython\socket.pyx", line 550, in zmq.backend.cython.socket.Socket.bind
File "zmq\backend\cython\checkrc.pxd", line 26, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Permission denied
帮忙解决一下,谢谢
您好,请问该问题你解决了吗?我也出现了同样的问题

Member
avatar
加入于:
帖子: 16
声望: 3

Traceback (most recent call last):
File "d:\vnstudio\lib\site-packages\vnstation\cli.py", line 92, in run_trader
main_engine.add_app(app)
File "d:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "d:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "d:\vnstudio\lib\site-packages\vnpy\app\excel_rtd\engine.py", line 32, in init
self.server.start(REP_ADDRESS, PUB_ADDRESS)
File "d:\vnstudio\lib\site-packages\vnpy\rpc__init.py", line 108, in start
self.
socket_rep.bind(rep_address)
File "zmq\backend\cython\socket.pyx", line 550, in zmq.backend.cython.socket.Socket.bind
File "zmq\backend\cython\checkrc.pxd", line 26, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Permission denied

启动时出现同样的问题,杀掉python.exe 没有用 ,请帮忙解决下,谢谢

Administrator
avatar
加入于:
帖子: 4545
声望: 324

这个是EXCEL RTD模块用的端口被别的程序占用了,更换一个好了

Member
avatar
加入于:
帖子: 16
声望: 3

用Python的交易员 wrote:

这个是EXCEL RTD模块用的端口被别的程序占用了,更换一个好了

请问在哪里更换RTD的端口

Member
avatar
加入于:
帖子: 16
声望: 3

guan wrote:

用Python的交易员 wrote:

这个是EXCEL RTD模块用的端口被别的程序占用了,更换一个好了

请问在哪里更换RTD的端口

已经解决,修改文件
d:\vnstudio\lib\site-packages\vnpy\app\excel_rtd\engine.py
REP_ADDRESS = "tcp://*:9001"

修改后为:
REP_ADDRESS = "tcp://*:9007"

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】