zorro mt4 connection with ubuntu

Posted By: nanotir

zorro mt4 connection with ubuntu - 03/06/17 02:43

Hi

I was considering the use of zorro and mt4 at ubuntu with wine. will it be stable or should I expect more orphaned trades? what about oanda api?
Posted By: Joaquin

Re: zorro mt4 connection with ubuntu - 03/06/17 16:24

Check out http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=464463#Post464463

I have already done it, dockerized it and you can download this Docker image and try for yourself. What it is not mentioned in that thread, but it's important, is to run xhost + in order to allow X sessions coming from the Docker instance.

In the docker image you won't have MT4 installed, only Zorro 1.50, but it is pretty straightforward to install it there. I have not uploaded the image to Docker Hub with MT4 installed to let people who download it install their preferred MT4 version (also, it is "broker-sensitive"... so installing my MT4 maybe would not be fit for others)
Posted By: Joaquin

Re: zorro mt4 connection with ubuntu - 03/06/17 16:31

And to answer all your questions: It is stable, but you should be careful with the options you use to run the container: if you use --rm , every time you exit the container, the state will be reverted to its origin, so if we assume that Zorro stores the state of current opened orders in files, these files will be deleted, and next time you start the container, Zorro will not know anything about them.

Stability is as good as your Linux server. I don't recommend mixing development environments with real trading environments though.

I have also tried the oanda api in this Docker container and works fine.

I am really happy I've succeded in "dockerizing" Zorro+MT4, it runs incredibly well and it does not consume too much resources.
Posted By: nanotir

Re: zorro mt4 connection with ubuntu - 03/07/17 23:12

Thanks!
© 2024 lite-C Forums