The resource loading... loading...

Deployment of Docker

You can view the dockers associated with the current FMZ Quant Trading Platform account deployment on the Docker page, and you can switch the list display or detailed information display, and you can query the IP address, version, compile and release time, and other related information of the docker on this page. Click Add docker button to jump to Docker Deployment Page, docker deployment is divided into two modes: 1) One-click Rent a docker VPS. 2) Add a docker manually.

Docker deployment page

One-click Rent a docker VPS

Click the One-click Rent a docker VPS tab on the Docker page and select the server to be deployed based on the configuration, server room region, and other requirements. Click “Buy it now” and enter the account password of the current FMZ Quant Trading Platform for verification, and the docker program deployment will be carried out automatically after the verification is passed. The whole deployment process takes a few minutes and the system will automatically install commonly used Python libraries. The server rented after clicking “Buy Now” has only limited system privileges and does not support remote login as it is rented through the platform on behalf of the customer. If there is a need to use some third-party Python libraries that are not pre-installed, it is recommended to deploy them manually using a private server. Server billing for servers rented through the One-click Rent a docker VPS feature is billed separately and has nothing to do with the bot billing. Clicking the “Redeploy” button will not delete the real-time logs and data files in the logs directory under the existing docker directory.

Add a docker manually

You can deploy the docker to a variety of devices, e.g., PCs, servers, Raspberry Pi, and so on. A wide range of mainstream operating systems are supported.

  • Command line version of Linux: Linux AMD64 / Linux 386 / Linux ARM64 / Linux ARMv7
  • Command line version of Mac: Mac Intel64 / Apple Silicon
  • Command line version, interface version of Windows: 64-bit / 32-bit
  • Docker image

After logging in to the device that needs to deploy the docker program, download the corresponding docker program according to the operating system of the device. The download link can be found in the content displayed after clicking the Add a docker manually tab on the Docker page. Deploying the docker program requires 2 parameters to be set:

Add a docker manually

  1. The correspondence address containing the UID of the FMZ Quant trading platform.
  2. The password for the FMZ Quant Trading Platform account corresponding to the UID.

Configure the “Communication Address” and “FMZ Quant Trading Platform Account Password” when deploying the docker:

  • Docker for Windows The Windows Interface version of the docker can fill in these two parameters directly to the corresponding input box controls on the docker’s interface.

  • Command line version of the docker For other command line versions of the docker program, there are different commands for different operating systems. Using Linux & Mac as an example, use the command: . /robot -s node.fmz.com/123456 -p 654321, the following describes each part of the command:

    . /robot means to run robot, an executable program (i.e., a docker program), where 123456 is the UID, and 654321 is the password of the FMZ Quant Trading Platform account corresponding to the UID. The parameter -s indicates the correspondence address of the UID of the FMZ Quant Trading Platform, and the value of the parameter can be populated with e.g.: node.fmz.com/123456. The parameter -p indicates the “password for the UID’s account on the FMZ Quant Trading Platform”, which can be filled with a value such as: 654321.

    Please note that the parameters here are examples, the actual parameters can be viewed after logging into FMZ.COM and clicking on the Add a docker manually tab on the Docker page. The parameter -p does not have to be explicitly written in the command to deploy the docker, you can use the . /robot -s node.fmz.com/123456 command to run it, and then you will be prompted for a password, which you can then enter manually. In addition, pay attention to issues such as permissions to execute the program, and give the docker program enough permissions to lift the running restrictions.

Strategy Library Specify the IP Address Globally