Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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