Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,561 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using the new Simulate script #430573
09/29/13 07:31
09/29/13 07:31
Joined: Aug 2013
Posts: 124
D
DMB Offline OP
Member
DMB  Offline OP
Member
D

Joined: Aug 2013
Posts: 124
I am trying out the new Simulate script. I think it will come in handy. I have created a csv with the correct format (it is a combination of the Z12 and Z3 trades, normalised for Capital required, just for interest.)

I assume I need to place that CSV into the log directory and give it the same name as the testtrade.csv, which also is the name and location identified in the Simulate.c.

When I run it, I get this error:

Simulate compiling...........
Error in 'line 98:
'Hedging' undeclared identifier
< Hedging = 2;
>.

Indeed, it appears that Hedging is not declared in the script. But due to my noob status, I don't want to second guess the developers.

Thoughts?

Re: Using the new Simulate script [Re: DMB] #430633
09/30/13 11:04
09/30/13 11:04
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Edit simulate.c and replace "Hedging" with "Hedge". This was a leftover from a different variable name.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1