Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 945 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MT4/5 Bridge: Stability & Latency? #482545
02/21/21 23:31
02/21/21 23:31
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Hi

I'm considering a switch to Zorro, but the most suitable FX broker for our requirements only offers MT4, MT5 and CTrader.

So I'd either have to use the MT4/5 bridge, or write my own plugin to run against the CTrader Open API.

The MT bridge would be the lowest-effort solution. The CTrader API is Protobuf based and would be fast and reliable, but the developing and maintaining the plugin would be a pain.

So I have to decide if the MT bridge is "good enough". Unfortunately the Zorro manual is a bit offputting, saying: "MTR4 and MTR5 both have a heavy resource and bandwidth footprint. This can cause long response times, dependent on VPS performance and Internet connection."

We are fairly active traders and need low latency to minimise slippage. So my question is, with a properly resourced co-lo VPS, is the Metatrader bridge solution fast enough and stable enough for production use?

I'd very much appreciate feedback from anyone using this setup in production.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482568
02/27/21 11:35
02/27/21 11:35
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Bump

Is there really no-one who can help me with this?

Doing my own testing will be time-consuming and expensive, as I'd have to hire a VPS.

I really would be grateful for some feedback from anyone using the MT bridge in production.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482569
02/27/21 13:15
02/27/21 13:15
Joined: Jan 2021
Posts: 18
London
T
TraderTom Offline
Newbie
TraderTom  Offline
Newbie
T

Joined: Jan 2021
Posts: 18
London
Sadly these forum's are very very quiet.

You can get some free cloud credits for most cloud providers like GCP/AWS etc if you didn't want to hire a VPS.

Last edited by TraderTom; 02/27/21 14:34.
Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482570
02/27/21 15:55
02/27/21 15:55
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
The MT4/5 plugin is directly supported by oP Group. If you find bugs, you can direct them to oP Group support, and they will fix confirmed bugs.

Also of note: There is an CTrader plugin here [LINK].

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482573
02/28/21 15:05
02/28/21 15:05
Joined: Jul 2017
Posts: 783
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 783
A lot (if not most) of the things related to IB and MT4/5 in the manual are not (or no longer) true.

MT4/5 have low memory footprint, are not bandwith-hungry, are fast and stable.

However, MT4/5 in itself were created "for the brokers" allowing for the "last look", "spread management", etc..So, that MT4/5 side latency will depend on the broker a lot.
(as well as on proximity to the broker, quality of the network, your hardware, TCP stack tuning, etc)

Zorro will add some 30-50ms latency to a trade. How many of these are the bridge - difficult to say, i'd say very little.
C++ implementation will for sure work faster than lite-C.

MT5 is faster than MT4 and might/will have a higher tick count, but 1)broker feeds between MT4/5 can be different and 2) increased tick count might put more strain on CPU and might actually increase latency, if you are trading many instruments/systems.

Re: MT4/5 Bridge: Stability & Latency? [Re: Zheka] #482574
03/01/21 11:34
03/01/21 11:34
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Thanks Zheka - very helpful!

Have you traded the MT4/5 bridge live? Have you found it reliable?

Re: MT4/5 Bridge: Stability & Latency? [Re: AndrewAMD] #482575
03/01/21 12:25
03/01/21 12:25
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Andrew - thanks for the link to the CTrader plugin. I thinking about writing one from scratch...

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482580
03/01/21 23:31
03/01/21 23:31
Joined: Jul 2017
Posts: 783
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 783
Yes.

Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482585
03/02/21 13:22
03/02/21 13:22
Joined: Oct 2014
Posts: 42
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 42
DEVON
Ah - that CTrader plugin was to the CTrader FIX API.

CTrader also offers something they call their Open API free with every account.

This is based on Google's robust Protobuf encoding protocol. It also offers historic prices and account info.

I guess I'll start with the MT5 bridge, knowing that I can develop a more elegant plugin for CTrader if I hit problems.

Last edited by scotpip; 03/02/21 13:23.
Re: MT4/5 Bridge: Stability & Latency? [Re: scotpip] #482590
03/03/21 13:38
03/03/21 13:38
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Originally Posted by scotpip
robust
Originally Posted by scotpip
elegant
Do you roll the "R" when you say the word "robust"? grin

Anyways, OpenAPI sounds promising!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1