PureBytes Links
Trading Reference Links
|
I was able to do something in TS 4.0 that I don't seem to
be able to do in TS2000i. Can someone tell me if this is a
bug in 2000i or if I am doing something wrong?
I want to export system performance results for each of 500
stocks to a file by running the Workspace Assistant. I
have enclosed the code that I am using to test this
concept. This code works just fine to export the system
results when testing just one stock and one system.
However, when I run that same system over a directory
of "many" stocks with the Workspace Assistant, there are
files of performance results for every stock but only a
small % of the total trades that should have been reported
are there. What happened to the other trades that are
shown when doing the test manually without Workspace
Assistant? If the code works correctly for one stock
without Workspace Assistant and correctly for each stock
for a small % of the trades when using Workspace Assistant,
I am assuming that the code is correct. What am I
missing? BTW, I ran the tests in slow mode as well as
maximum speed.
{Test code to export system performance results in WA.
Don't forget to create the C:\systests\results\TestWA
directory if you test this code.}
If C crosses above Average(C,50) then buy;
If C crosses below Average(C,50) then sell;
value1 = PerfSumExport("c:\systests\results\", "TestWA")
Thanks!
Russ
|