OpenTrading / OpenTrader

OpenTrader
GNU Lesser General Public License v3.0
64 stars 33 forks source link

Trade copier #3

Open femtotrader opened 9 years ago

femtotrader commented 9 years ago

Hello,

you might consider building a trade copier (to copy trades from a MT4 account to an other one) on top of OpenTrader

Volume scaling and trade reversal might be considered

I did some months ago this https://github.com/femtotrader/mysql-trade-replicator

Maybe you can find some code to use

Kind regards

MetaMemoryT commented 9 years ago

I would like to find the most current effort to build a trade copier on top of this software ecosystem,

I saw

https://github.com/OpenTrading/mql4zmq/blob/master/examples/mql4zmq_bridge.mq4

but I think that is just an early version of the protocol this software uses.

OpenTrading commented 9 years ago

mql4zmq_bridge is replaced by https://github.com/OpenTrading/OTMql4Zmq/blob/master/MQL4/Experts/OTMql4/OTZmqCmdEA.mq4 It's all you need to build a trade copier, and it should be easy to do.

The best way to proceed is to define exactly what you mean by TradeCopier in the wiki: https://github.com/OpenTrading/OpenTrader/wiki/TradeCopier You should be able to edit the page if you are logged in.

Then define exactly the uses cases from the end-users point of view, including addressing the question of "who you will copy to besides another Mt4", and we can brainstorm the best way to implement it together.

We can then also look at the code by femtotrader to reuse some of his work.