3
Follow
1508
Followers
升级步骤
- 登陆到服务器托管者所在目录(如果没有更改过,一般是SSH登陆后默认目录)执行
ls查看文件

可看到logs robot robot_linux_amd64.tar.gz,其中logs为日志文件夹,robot为托管者执行程序,robot_linux_amd64.tar.gz为原始压缩包。 - 执行
rm -rf robot*将同时删除旧的robot程序和压缩文件包,保留日志 - 执行
wget https://www.fmz.com/dist/robot_linux_amd64.tar.gz下载新的托管者压缩包 - 执行
tar -xzvf robot_linux_amd64.tar.gz解压缩 - 执行
nohup ./robot -s node.fmz.com/xxxxxx -p yourFMZpassword &后台运行,node.fmz.com/xxxxxx具体在 https://www.fmz.com/m/add-node 找到。
优点
这样升级的好处是日志得以保留,并且旧托管者运行的机器人也不会停止(已经加载到内存中运行)。想要升级某个机器人的托管者,只需要停止机器人,在参数界面更换托管者(最新的托管者id最大)并重启。
如果旧的托管者不再运行机器人了,在 https://www.fmz.com/m/nodes 页面直接删除即可
Related Recommendations
2.2 How to configure the FMZ Quant trading system2.1 Introduction to the quantitative trading toolFMZ intermediate tutorial1.4 What are the elements of a complete strategy?1.3 What are needed for quantitative trading?1.2 Why choose quantitative trading1.1 What is quantitative trading?Quantitative trading quick startFMZ beginer tutorialImplementing MACD in Python
Comment
All comments (3)
- 1

