Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,492 guests, and 4 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
can't open file.fac #469283
11/10/17 09:09
11/10/17 09:09
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline OP
Newbie
Cheulmen  Offline OP
Newbie
C

Joined: Nov 2017
Posts: 34
I have a couple of problems:

1.- I changed the name of the workshop45, and then when I try to test it an error message saying: "Can't open workshop4_other.EURUSD.fac rt.2" appears. That file name doesn't appears anywhere in the workshop, and I don't understand why Zorro is searching for that file. What's that file?, how can I create it or whatever?

2.- Also, I'm trying to set the Capital variable in that same workshop, using just in the first line of run():

Capital= 1000;

But it doesn't seems to do nothing, and in the execution test it still says Capital 60$. What should I do to set the Capital for backtesting?

Last edited by Cheulmen; 11/10/17 09:10.
Re: can't open file.fac [Re: Cheulmen] #469285
11/10/17 10:12
11/10/17 10:12
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
If you want to generate a .fac file, you must click the [Train] button. But read before about what training does and what for it is used. It's covered in workshop 5 and 6. In workshop 6 you can also see how the Capital parameter is used. If you encounter questions, just ask here. But wildly changing names and parameters will not work in a programming language.

Re: can't open file.fac [Re: jcl] #469287
11/10/17 10:32
11/10/17 10:32
Joined: Nov 2017
Posts: 34
C
Cheulmen Offline OP
Newbie
Cheulmen  Offline OP
Newbie
C

Joined: Nov 2017
Posts: 34
Oh, so .fac files are generated while training, ok, understood!

Regarding Capital variable, you're right, I jumped directly trying to change it, my bad! I'll study workshop6 and then lets see. As a side note, I'm an experienced C programmer, but a beginner in algorithmic trading. Sometimes I think that I know more than I really know and I try to walk over importante steps... This is a lesson to learn for me (again); I have to read everything before ask!

Thanks for your help and for the prompt response laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1