Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by jcl. 10/22/26 10:17
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (JeyKey II, 1 invisible), 3,432 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Missing PnL files in zOpen child processes #489710
10/19/26 11:11
10/19/26 11:11
Joined: Mar 2023
Posts: 1
Almere Netherlands
D
DonQuijote Offline OP
Guest
DonQuijote  Offline OP
Guest
D

Joined: Mar 2023
Posts: 1
Almere Netherlands

I'm using Zorro S 2.62.1 with a master script launching two backtests via zOpen() (Core 2 and 3).

Both child processes have LOGFILE enabled and a nonzero LogNumber. Reports and trade CSVs are generated correctly, but the native _pnl.csv and _pnl.dbl files are missing.

Running the exact same script directly (Core 1), even with zInit(), generates both PnL files correctly.

Is this expected behavior for zOpen() child processes, or is there a way to enable native PnL export?

Re: Missing PnL files in zOpen child processes [Re: DonQuijote] #489720
54 minutes ago
54 minutes ago
Joined: Jul 2000
Posts: 28,142
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,142
Frankfurt
There ís no difference between a master or child process regarding exported files, but make sure that they have different names. Either use different named scripts, or set the name with the LogNumber or RootName variables.


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