Publish MT4 events i.e. trade open/close as webhook to URL

2019.10.02 Experts Integration

Job finished

Execution time 33 minutes
Feedback from customer
Really nice to work with, very informative. Project was completed very quickly with great communication and amazing attention to detail. Thanks!
Feedback from employee
Chay is great customer with bright ideas and detailed requirement, working with him was easy and straight for me. thanks.

Specification

Hi,


I'm looking for a tool to use with MT4 terminal that will take events as a trade being placed or a trade being closed and publish these events as a webhook to a desired URL. 


I.e on a trade open, the tool will send the event as given below to the URL "https://example-url.com/webhook".


The desired payload to be published on a trade open event:

{
  "event": {
    "type": "trade_open",
    "trade": {
      "order_id": "1214412",
      "open_time": "2019-10-01 12:00:00",
      "symbol": "EURUSD",
      "type": "sell",
      "lots": "0.02",
      "open_price": "1.12020",
      "stop_loss": null,
      "take_profit": null,
      "close_price": null,
      "close_time": null,
      "commission": null,
      "swap": null,
      "profit": null,
    },
    "account": {
      "number": "accountnumber",
      "currency": "GBP",
      "balance": "1000",
      "equity": "1000"
    }
  }
}

The desired payload to be published upon a trade being closed:

{
  "event": {
    "type": "trade_close",
    "trade": {
      "order_id": "1214412",
      "open_time": "2019-10-01 12:00:00",
      "symbol": "EURUSD",
      "type": "sell",
      "lots": "0.02",
      "open_price": "1.12020",
      "stop_loss": "1.12020",
      "take_profit": "1.11500",
      "close_price": "1.11500",
      "close_time": "2019-10-01 15:00:00",
      "commission": "0.30",
      "swap": "0.10",
      "profit": "12.40",
    },
    "account": {
      "number": "accountnumber",
      "currency": "GBP",
      "balance": "1012",
      "equity": "1012"
    }
  }
}


No other functionality is desired other than to emit these open/close events.

With thanks,

Responded

1
Developer 1
2019.10.02
Rating
4.9
(709)
Projects
1107
66%
Arbitration
106
29% / 42%
Overdue
248
22%
Loaded
2
Developer 2
2019.10.02
Rating
4.97
(545)
Projects
1119
66%
Arbitration
81
25% / 49%
Overdue
396
35%
Working
3
Developer 3
2019.10.02
Rating
4.96
(112)
Projects
135
23%
Arbitration
21
19% / 29%
Overdue
46
34%
Loaded
4
Developer 4
2019.10.02
Rating
5
(10)
Projects
12
25%
Arbitration
3
0% / 100%
Overdue
4
33%
Free
5
Developer 5
2019.10.03
Rating
4.94
(62)
Projects
83
35%
Arbitration
10
40% / 30%
Overdue
6
7%
Free

Project information

Budget
50+ USD
For the developer
45 USD