One script for multiple assets?

Posted By: fran

One script for multiple assets? - 11/30/17 09:36

Hi,
I would like to trade my script in different assets at the same time with the same MT4 connection. Is that possible or do I need different Zorro instances to do it?
Posted By: Brax

Re: One script for multiple assets? - 11/30/17 12:29

Hi fran,

I am no expert in Zorro, especially in live trading but you can perfectly code a script for trading several assets at the same time. Of course that script will run with a dedicated MT4 connection.

If you search in the forum youŽll find people who have several instances running, but i think that is because they have coded separated strategies and want them to trade that way.

Just my two cents.
Posted By: fran

Re: One script for multiple assets? - 11/30/17 17:09

In that case, the run() function is the same for all trades? Is there an example of code to do that?
Posted By: Hredot

Re: One script for multiple assets? - 11/30/17 17:30

Learn about trading multiple assets in the manual:
http://zorro-project.com/manual/en/tutorial_kelly.htm
© 2024 lite-C Forums