Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
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