Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/05/26 10:06
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
Black Book, 4th edition
by jcl. 03/17/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (vince, TipmyPip), 4,609 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
ondrej, mredit, vestriaa, Lukudo, mldenoiser
19205 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
One script for multiple assets? #469669
11/30/17 09:36
11/30/17 09:36
Joined: Oct 2017
Posts: 25
F
fran Offline OP
Newbie
fran  Offline OP
Newbie
F

Joined: Oct 2017
Posts: 25
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?

Re: One script for multiple assets? [Re: fran] #469671
11/30/17 12:29
11/30/17 12:29
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
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.

Re: One script for multiple assets? [Re: Brax] #469674
11/30/17 17:09
11/30/17 17:09
Joined: Oct 2017
Posts: 25
F
fran Offline OP
Newbie
fran  Offline OP
Newbie
F

Joined: Oct 2017
Posts: 25
In that case, the run() function is the same for all trades? Is there an example of code to do that?

Re: One script for multiple assets? [Re: fran] #469675
11/30/17 17:30
11/30/17 17:30
Joined: Sep 2017
Posts: 235
H
Hredot Offline
Member
Hredot  Offline
Member
H

Joined: Sep 2017
Posts: 235
Learn about trading multiple assets in the manual:
http://zorro-project.com/manual/en/tutorial_kelly.htm

Last edited by Hredot; 11/30/17 17:30.

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1