我按照脚本策略里的教程,按如下代码连接CTP,此处隐去账号ID,但是一直报错invalid port
from vnpy.app.script_trader import init_cli_trading
from vnpy.gateway.ctp import CtpGateway
engine = init_cli_trading([CtpGateway])
setting = {
"用户名": "xxxx",
"密码": "123456",
"经纪商代码": "9999",
"交易服务器":"tcp://180.168.146.187:10101",
"行情服务器":"tcp://180.168.146.187:10111",
"产品名称":"simnow_client_test",
"授权编码":"0000000000000000",
"产品信息": ""
}
engine.connect_gateway(setting,"CTP")
报错如下
Invalid portInvalid port: : No errorNo error
请问是怎么回事啊,我是在阿里云服务器上跑的,用的VSCODE