diff --git a/vn.docker/server_vnpy.sh b/vn.docker/server_vnpy.sh index 6093eb37..b4a8ab99 100755 --- a/vn.docker/server_vnpy.sh +++ b/vn.docker/server_vnpy.sh @@ -3,6 +3,7 @@ cd .. docker run --name vnpy --rm \ -v `pwd`:/srv/vnpy \ + -v `pwd`/../vn.trader/VT_setting.json:/etc/vnpy/VT_setting.json \ -p 2014:2014 -p 602:602 \ vnpy:latest \ - python /srv/vnpy/vn.trader/vtServer.py + python /srv/vnpy/vn.trader/vtServer.py --VT_setting /etc/vnpy/VT_setting.json diff --git a/vn.trader/VT_setting.json b/vn.trader/VT_setting.json index c9bdcc0b..9d90a0a2 100644 --- a/vn.trader/VT_setting.json +++ b/vn.trader/VT_setting.json @@ -5,7 +5,13 @@ "mongoHost": "localhost", "mongoPort": 27017, "mongoLogging": true, + "automongodb": true, "darkStyle": true, - "language": "chinese" + "language": "chinese", + "CTP_connect": null, + "autoctp": true, + + "autoshutdown": true + } \ No newline at end of file