Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 3,790 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error 049: Too many trades (4303)! #435427
01/08/14 06:29
01/08/14 06:29
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Error 049: Too many trades
This error happens sometimes when there is both an adviseLong and an adviseShort, and TradesPerBar has not been bumped above the default of 1. Other times, the error does not happen. And I haven't had success isolating that. It's a black box.

Anyway, I think this message could be made more informative. First, the message should be, "Too many trades of the same asset in the same bar", since that's the only reason for the message listed here http://manual.zorro-trader.com/errors.htm
Second, the number listed in parenthesis is a distraction. It's a number without a label. I think that's the total number of trades? Or the process id? I don't know what that is. Anyway, that should be a (2), in other words, TradesPerBar+1.
So something like
"Error 049: Too many trades of the same asset in the same bar (2 trades of EUR/USD in Bar 1)!"
Instead of
"Error 049: Too many trades (4303)!"
would have saved me many hours of hair-pulling. Thanks.

Last edited by GPEngine; 01/08/14 06:34. Reason: fix url
Re: Error 049: Too many trades (4303)! [Re: GPEngine] #435439
01/08/14 09:06
01/08/14 09:06
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
Good suggestion - we'll change that in "too many trades per bar". But normally all possible reasons are described for any error number in the manual, so for the sake of your hair, look there first.

Re: Error 049: Too many trades (4303)! [Re: jcl] #435504
01/08/14 15:33
01/08/14 15:33
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Great. One more thing.
In the SED UI, TradesPerBar is not highlighted. And, nothing shows up in the Command Help window when the cursor lands on TradesPerBar. That made me think it was deprecated.

Re: Error 049: Too many trades (4303)! [Re: GPEngine] #436087
01/19/14 03:15
01/19/14 03:15
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
What does the 4303 mean anyway?

I just got a Error 049: Too many trades (409200)! on a Strategy that enters 686 trades per bar (for Training purposes). But TradesPerBar is set to > 686.

What limit am I actually hitting, here?

Re: Error 049: Too many trades (4303)! [Re: GPEngine] #436112
01/20/14 08:47
01/20/14 08:47
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
Most likely a hard limit - as to my knowledge there is a 12 MB limit to the trade list, no matter how many trades you open per bar. This is probably hit by your 686 trades per bar.

There is no particular reason of that 12 MB limit that I know, so I'll check if it can be removed alltogether.


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