Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, dr_panther, Quad), 935 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Maximum number of assets in AssetList? #473359
07/01/18 13:30
07/01/18 13:30
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
I have noticed that if my asset list has more than roughly 4000 assets, then I get error 064 saying that the assets.csv file has wrong format and the script crashes. Why this seemingly arbitrary limitation? Is there a way to run a backtest with substantially more than 4000 assets in use?

Re: Maximum number of assets in AssetList? [Re: Hredot] #473372
07/01/18 22:09
07/01/18 22:09
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
In my experience, the limit is 500 assets for M1 history, otherwise the history data does not fit anymore in memory.

Re: Maximum number of assets in AssetList? [Re: Spirit] #473375
07/02/18 01:01
07/02/18 01:01
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
I see, I am using D1 data, for which the 4000 assets do not come close to the 3GB RAM that Zorro reserves. Could easily fit 8000 such assets into memory. Considering that all of NYSE and NASDAQ amounts to about 6000-7000 assets, would be nice to be able to load all of them.

Last edited by Hredot; 07/02/18 01:02.
Re: Maximum number of assets in AssetList? [Re: Hredot] #473382
07/02/18 12:01
07/02/18 12:01
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There is a #define MAX_ASSETS at 4096, so I suppose that's the hard asset limit. I'll check if we can remove or double that limit.

Re: Maximum number of assets in AssetList? [Re: jcl] #473384
07/02/18 12:09
07/02/18 12:09
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
That would be awesome, thanks for looking into it!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1