[Quantproject-developers] QuantProject/b4_Business/a3_Testing Tester.cs,1.5,1.6
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-12-05 02:49:26
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a3_Testing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20358/QuantProject/b4_Business/a3_Testing Modified Files: Tester.cs Log Message: An EndOfDayTime now is used to add the initial cash, instead of ExtendedDayTime Index: Tester.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a3_Testing/Tester.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Tester.cs 29 Nov 2004 16:37:46 -0000 1.5 --- Tester.cs 5 Dec 2004 02:49:16 -0000 1.6 *************** *** 56,60 **** this.TradingSystems = tradingSystems; this.initialCash = initialCash; ! this.Account.AddCash( new ExtendedDateTime( testWindow.StartDateTime , BarComponent.Open ) , initialCash ); } --- 56,60 ---- this.TradingSystems = tradingSystems; this.initialCash = initialCash; ! this.Account.AddCash( new EndOfDayDateTime( testWindow.StartDateTime , EndOfDaySpecificTime.MarketOpen ) , initialCash ); } *************** *** 63,67 **** { this.Account.Clear(); ! this.Account.AddCash( new ExtendedDateTime( testWindow.StartDateTime , BarComponent.Open ) , initialCash ); this.Test(); --- 63,67 ---- { this.Account.Clear(); ! this.Account.AddCash( new EndOfDayDateTime( testWindow.StartDateTime , EndOfDaySpecificTime.MarketOpen ) , initialCash ); this.Test(); |