Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/25/26 03:42
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
Algorithmic trading course with Zorro
by Haitao_Ren. 10/25/26 03:12
Zorro tutorial ideas?
by Haitao_Ren. 10/25/26 02:47
Zorro plugin for Hyperliquid.xyz
by mayarik. 10/24/26 09:14
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (3run, TipmyPip, opm), 7,722 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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
10/22/26 10:25
10/22/26 10:25
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.

LogNumber = 1; // append '1' to all log names


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