MetaTrader 4 Fix Protocol Using Java

I have a MT4 client installation on my machine and you can successfully receive channels. However, I wrote a program using java to retrieve data using the FIX protocol. I would like to know how my java program can pull out the data that I see on my MT4 client terminal.

+4
source share
2 answers

MetaTrader for integrating any process

MT4 can communicate with both java FIX-Protocol_MEDIATOR and any other Node process included in any complex distributed heterogeneous processing infrastructure using the superior ZeroMQ broker messaging system with scalable formal messages.

Benefits

This approach saves our time, since the foundations are solid stones. This approach improves system reliability because unsurpassed and fault-tolerant high-level abstraction. Communication behaviors can be developed and distributed between many different nodes - be it java , C#/C++ , Python , PHP , Erlang and many other production-class systems.

Integration limitations

MT4 has several preset limits. Both the lack of SoftTime RealTime control in the process flow and the limited cross-thread synchronization make it a candidate for an easy thin Node general distributed solution. ZeroMQ, with its low latency and load balancing capabilities, has many advantages for an already integrated architecture.

+2
source

Believe me, when I say that Metatrader is not for a serious trader.
Bucketshops attract newcomers to the code snippets that are put together for MetaTrader.

If you need only chart data, there is no need to reinvent the wheel by simply subscribing to a shared data service.

There are many free packages for displaying chart data, jfree.org can display a wide variety of data ...

If you want to place orders through the Java interface, there are several options:

manticore trader http://developer.berlios.de/projects/manticore/

open the java trading system http://sourceforge.net/projects/ojts/

Of course, all of the above assumes that you are learning programming, and I recommend saving it because you can better spend your time exploring more direct and consistent programming ideas in the result method using the right tools.

For example: Ninjatrader is free to use and can directly connect to the exchange (several options for data). The code is dot Net and will compile, so your execution will be fantastic compared to anything interpreted.

Kinetick has data on the free end of the day.

+1
source

Source: https://habr.com/ru/post/1395173/


All Articles