[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a1_Instruments Instrument.cs,1.1.1.1
Brought to you by:
glauco_1
|
From: <mi...@us...> - 2003-12-17 19:34:59
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a1_Instruments
In directory sc8-pr-cvs1:/tmp/cvs-serv24844/b4_Business/a1_Financial/a1_Instruments
Modified Files:
Instrument.cs
Log Message:
Removed file Stat.cs. The same functions are now in the new file BasicFunctions.cs under the Statistics folder. Added new method to Instrument class and to the History class. Fixed some bugs
Index: Instrument.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a1_Instruments/Instrument.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Instrument.cs 13 Oct 2003 21:58:21 -0000 1.1.1.1
--- Instrument.cs 17 Dec 2003 19:34:55 -0000 1.2
***************
*** 58,61 ****
--- 58,68 ----
return history.GetNextDay( dateTime );
}
+ //millo
+ public DateTime GetMarketDay( DateTime initialDateTime, int numberOfDaysAhead )
+ {
+ History history = DataProvider.GetOpenHistory( this.Key );
+ return history.GetDay(initialDateTime, numberOfDaysAhead );
+ }
+ //millo
}
}
|