2

Isn't it possible to connect to various forex brokers, using Metatrader 4/5 Api?

And I'm not talking about connecting to Metatrader client application, like this nodejs plugins allows https://github.com/PenguinTraders/MT4-Node.js/tree/master.

I'm talking about native connect - directly to forex Brooker, that has Metatrader enabled, so it's possible to make trader apps/robots in any language, like nodejs and ruby, and even hosted on servers?

I mean, can't one use fireshark, to find out the Api?

PragmaticEd
  • 505
  • 1
  • 4
  • 14
  • It is possible only if you have manager or administrator access. Apart from that, there is no other official way to do that. – Uriil Jul 29 '17 at 08:31
  • What do you mean, by "manager or administrator access"? You mean login credentials of the forex Brooker? Or something else? – PragmaticEd Jul 29 '17 at 12:06
  • Yes, you have to have broken credentials, not trader – Uriil Jul 29 '17 at 12:31
  • Can you point me in the right direction, on how I can get more specific API u can use? I have no problem creating apps that connect to external api's, but I can't seem to find any resources on that.. – PragmaticEd Jul 29 '17 at 19:45
  • If you have broker license, MQ will give you access to their private portal with api documentation – Uriil Jul 30 '17 at 04:38
  • 1
    Okey, you misunderstood me.. Most brokers use Mt4. I want to create an app that uses Mt4 API.. So the Brooker thinks I'm connecting using Mt4, when in reality it's my custom app. – PragmaticEd Jul 30 '17 at 07:21
  • As I said MQ has API, but it only from brokers. There is no official way to simulate MT4 – Uriil Jul 30 '17 at 12:15

1 Answers1

2

I think https://github.com/agiliumtrade-ai/metaapi-node.js-sdk is the kind of solution you are looking for. It allows use case exactly as you have described. You can implement a trading robot in node.js which communicates to MetaApi and MetaApi routes your requests to a MetaTrader broker.

roman
  • 892
  • 9
  • 26