Gamestudio Links
Zorro Links
Newest Posts
Bulk-parse CSV files from whole directory
by jack_the_whack. 08/13/22 07:57
Zorro_setup.exe detected with virus
by Grant. 08/12/22 09:03
ARM support for Zorro?
by AndrewAMD. 08/11/22 19:54
DeepLearn script
by jcl. 08/10/22 12:58
New Zorro version 2.50
by hast29. 08/09/22 15:50
linux
by AndrewAMD. 08/08/22 14:23
AUM Magazine
Latest Screens
DEAD TASTE
Tactics of World War I
Hecknex World
Scheherazade's Journey
Who's Online Now
5 registered members (monarch, nerdkorea, Quad, jack_the_whack, 1 invisible), 436 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
boony, jack_the_whack, MrMan, nerdkorea, marconius
18812 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
WFOProfile Script crashes after Cycle 2 #486349
08/04/22 09:47
08/04/22 09:47
Joined: Mar 2018
Posts: 52
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 52
Hi, any help appreciated. I have tried to use the WFOProfile.c script delivered within Zorro 2.48. I have followed the article on https://financial-hacker.com/why-90-of-backtests-fail/#more-4373 and used the same trend following script trend.c. Out commented NumWFOCycles in trend.c and ran train of WFOProfile.c (both scripts in the attachment)

The script however crashed after second cycle with the mesage Error 062: Cant open WFOProfile_2.par (rt:2). Log file and a screenshot in the attachment.

I am struggling to resolve this, Any hint? Best regards ...

Attached Files
trend.c (1 downloads)
WFOProfile.c (1 downloads)
WFOProfile_test.log (0 downloads)
WFOProfile_train.log (0 downloads)
Screenshot.JPG (22 downloads)
Re: WFOProfile Script crashes after Cycle 2 [Re: hast29] #486350
08/04/22 11:02
08/04/22 11:02
Joined: Jul 2000
Posts: 27,871
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,871
Frankfurt
The error message tells that a certain .par file cannot be opened. This can be an access right conflict.

First, outcomment the NumCores line in trend.c. Maybe it is a conflict with a parallel running process.
Next, check if that file exists in the data folder. If so, delete it. Maybe it was locked by a previous process.

Then try again and post if the problem still persists.

Re: WFOProfile Script crashes after Cycle 2 [Re: hast29] #486352
08/04/22 16:21
08/04/22 16:21
Joined: Mar 2018
Posts: 52
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 52
Hi JCL,

outcommenting NumCores did the job. Thank you for your prompt support. Cheers.


Moderated by  Petra 

Gamestudio download | chip programmers | 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