[Quantproject-developers] QuantProject/b91_QuantProject BackTestForm.cs,1.1.1.1,1.2
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-11-24 20:03:27
|
Update of /cvsroot/quantproject/QuantProject/b91_QuantProject
In directory sc8-pr-cvs1:/tmp/cvs-serv4278/b91_QuantProject
Modified Files:
BackTestForm.cs
Log Message:
Some fixing have been applied for compiling
pass through, but this class is not
used anymore.
Index: BackTestForm.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b91_QuantProject/BackTestForm.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** BackTestForm.cs 13 Oct 2003 22:00:26 -0000 1.1.1.1
--- BackTestForm.cs 24 Nov 2003 20:03:23 -0000 1.2
***************
*** 29,33 ****
using QuantProject.ADT.Optimizing;
using QuantProject.Business.Financial.Accounting;
! using QuantProject.Business.Financial.Testing;
using QuantProject.Scripts;
--- 29,33 ----
using QuantProject.ADT.Optimizing;
using QuantProject.Business.Financial.Accounting;
! using QuantProject.Business.Testing;
using QuantProject.Scripts;
***************
*** 115,122 ****
tradingSystem.Parameters.Add( new Parameter( "CrossPercentage" , 0 , 5 , 1 ) );
- Account account = new Account( "account" );
- account.AddCash(
- new ExtendedDateTime( new DateTime( 1995 , 1 , 1 ) , BarComponent.Open ) , 10000 );
-
WalkForwardTester walkForwardTester = new WalkForwardTester();
walkForwardTester.StartDateTime = new DateTime( 1995 , 1 , 1 );
--- 115,118 ----
***************
*** 125,131 ****
walkForwardTester.OutOfSampleWindowNumDays = 30;
walkForwardTester.Add( tradingSystem );
! walkForwardTester.Add( account );
walkForwardTester.Test();
! walkForwardTester.GetAccount( "account" ).DrawReport();
}
}
--- 121,128 ----
walkForwardTester.OutOfSampleWindowNumDays = 30;
walkForwardTester.Add( tradingSystem );
! walkForwardTester.Account.AddCash(
! new ExtendedDateTime( new DateTime( 1995 , 1 , 1 ) , BarComponent.Open ) , 10000 );
walkForwardTester.Test();
! walkForwardTester.Account.DrawReport();
}
}
|