Acquire digital currency strategy guide of FMex on FMZQuant
Tags: fmzquant, strategy, cryptocurrency, fmex
Published: 2024-05-14 07:06:35

Run the quantitative robot on the FMZ Quant Trading platform, following the following steps:

### 1. Sign up (FMZ.COM)
If you have already registered for FMZ Quant, you can log in directly and ignore this step.

Sign in: https://www.fmz.com

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zffdnz3ptqktphukzdtj.png)

Click Sign up and note that the email address is the only credential to retrieve your account when registering.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rpenmdkei4aoo4mc93eb.jpg)

Once you have registered, you can login to the FMZ Quant Trading platform.

### 2. Get strategy
The following interface is displayed after login:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0qc1v7qxry5cfcv85cwh.png)

Click on the Square, jump to the strategy square page, search for the keyword "FMex", click on the strategy name, and enter the strategy copy page.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e6s1kevs8pmmz2vcu8wl.png)

Strategy copy page:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6qww3jqmypf2z3ati30w.png)

After jumping to the strategy backtest page, click Save to save the complete strategy to your FMZ account strategy library.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ygv9mdztjd0iwb47i3fw.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/24r5up1pj1c734egrd09.png)

You can view it in the "Strategy":

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f4n8dm36vmqgprzexs0l.png)

Once the strategy is ready, continue with the following steps.

### 3. Configure Exchange API KEY
Login to the FMex Exchange website: https://fmex.com , you can log in directly with your FCoin account authorization.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8v6zc83jy856puz4qze9.png)

After logging in, click on "User Center"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7hpeetd85upjonuxyfcm.png)

Create API KEY

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ykyb9xp5j55nrmlmoskr.png)

Set it according to your own needs.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8vubribkzuvxcwe54hcd.png)

If you have not set "verification", you need to set the verification of your account first. If your account is already bound with Google Authenticator, you can verify it here directly.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/thw1w7qg97m9tl6d0aym.png)

After the verification, the created API KEY will be displayed:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/veqo27xnsusqkaof3k2w.png)

Go back to "Dashboard" of FMZ Quant Trading platform, click "Platform", and click "Add platform".

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b9d2s6vtzfmj9t6xg1dx.png)

Fill in the API KEY (That is: Access key and secret key)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0wqyn9nwcmy14y8f68rc.png)

After it is added, it will appear in the "Platform".

### 4. Deploy docker
Docker deployment tutorial: https://www.fmz.com/bbs-topic/9090#3.Deploy Dockers
It is also possible to use the one-click deployment provided by the FMZ Quant:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bp4vkrtdc7ri2vl87rgz.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbbuu60v5ab03nxdggww.png)

Choose according to your own needs, for example, choose AliCloud in Hong Kong as the server for the docker to run on.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/25xkjlzvm3e3i3gwu57d.png)

After clicking "Rent Now", the deployment of the docker will be automated.

For the following demo of running a bot, I used a docker deployed on a windows server.

### 5. Running the robot
With:

"Strategy" : i.e. the trading logic to be run.
"Docker": the software on which the strategy code will run, the docker is the carrier of the robot.
"Exchange configuration": which accounts to operate, how to authorize, with the API KEY, you have access.
Then you can run the robot:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5l33w3vvdkeheyuay6tl.png)

Configure the robot's settings, parameters:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1wbxqyxunrocnegfuj47.png)

Then the robot will run.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wj42lzl8o1sg4zsh9hk3.png)

From: https://blog.mathquant.com/2022/12/27/acquire-digital-currency-strategy-guide-of-fmex-on-fmz-quant.html