Form Google Pub/Sub to MQL5 in miliseconds

2020.07.13 Integration

Specification

The main objective is to configure MQL5 in order to  receive push messages into the websocket from Google Pub/sub Subscriber in order to convert a maximum of 15 signals per day into orders / trades.

The first thing is to define and install the MQL5 into the VPS suggest by MQL5 https://www.metatrader5.com/en/trading-platform/vps  or I need to create a Virtual Machine in Google, Azure or AWS.

The info will come from Google Pub/Sub Subscriber  https://cloud.google.com/pubsub/docs/overview as a push message to the Mql5 WebSocket. 

In this video is a little definition / description on how the Push mechanism works on google Pub/Sub https://www.youtube.com/watch?v=k8lBOV-nRXI

Once MQL5 receive the message it has to send a confirmation message to Google Pub/Sub in order to avoid receiving the same message twice

Also is important to configure that if in the account there is not enough money to delete the trade.

Finally the info that I have into the Pub/Sub Subscriber is:

Financial Product: EUR/USD or EUR/GBP OR AUD/CAD
Price: 1,6161
Action: Buy or Sell
StopLoss
TakeProfit 
LotSize: 0,001

This info came from a Python Code so it can be change, arrange and if’s need it to add more info as a websockek password, direction, etc..

If it’s possible I will like to receive price proposals

Responded

1
Developer 1
2020.07.13
Rating
4.65
(31)
Projects
45
13%
Arbitration
24
25% / 50%
Overdue
29
64%
Loaded
2
Developer 2
2020.07.18
Rating
5
(10)
Projects
12
25%
Arbitration
3
0% / 100%
Overdue
4
33%
Working
3
Developer 3
2020.07.24
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD

Customer

Placed orders1
Arbitrage count0