Gamestudio Links
Zorro Links
Newest Posts
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, alx), 2,083 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 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: 318
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 318
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: 787
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 787
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 | 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