Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (EternallyCurious, RealSerious3D), 779 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
asset list file #485649
04/09/22 10:37
04/09/22 10:37
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline OP
Junior Member
aelagha  Offline OP
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
Hi there,

Zorro's help states that if assetList() is not called in the script, then the default asset list given in Zorro.ini is used. However, Zorro.ini does not have a field/line to specify an assetList. I tried adding a line with AssetList = "myassetlist.csv" and restarted Zorro but that did not work? I also noticed z.ini in the Strategy folder has AssetList = ... but I believe that applies only to the Z systems.

I know I can set assetList() in the script, and it works, but want to know if it is possible to set it outside a script, i.e. Zorro.ini.

Thanks,
-Alaa

Re: asset list file [Re: aelagha] #485650
04/09/22 10:53
04/09/22 10:53
Joined: Aug 2017
Posts: 294
Netherlands
G
Grant Offline
Member
Grant  Offline
Member
G

Joined: Aug 2017
Posts: 294
Netherlands
zorro.ini has nothing to do with the asset list. You should only include your custom list in your script, like 'assetList("History\\myassetlist.csv");'

Re: asset list file [Re: aelagha] #485652
04/09/22 16:33
04/09/22 16:33
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
You can set default asset lists in the Accounts file.

Re: asset list file [Re: aelagha] #485653
04/09/22 19:09
04/09/22 19:09
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline OP
Junior Member
aelagha  Offline OP
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
Thanks. That is what I thought too, but see assetList() help.
https://zorro-project.com/manual/toc.php


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1