Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/03/26 16:57
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
1 registered members (TipmyPip), 3,483 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
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: 315
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 315
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