Update of /cvsroot/quantproject/QuantProject/b3_Data/DataProviders/Bars/Caching
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30800/b3_Data/DataProviders/Bars/Caching
Modified Files:
IBarCache.cs
Log Message:
- a new method has been added:
bool WasExchanged( string ticker , DateTime dateTime );
- comments have been improved
Index: IBarCache.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b3_Data/DataProviders/Bars/Caching/IBarCache.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IBarCache.cs 8 Nov 2008 20:20:19 -0000 1.1
--- IBarCache.cs 20 Nov 2008 20:42:23 -0000 1.2
***************
*** 30,34 ****
--- 30,49 ----
public interface IBarCache
{
+ /// <summary>
+ /// the value of the ticker at the given dateTime; a MissingBarException
+ /// is thrown if the database doesn't contain the requested bar
+ /// </summary>
+ /// <param name="ticker"></param>
+ /// <param name="dateTime"></param>
+ /// <returns></returns>
double GetMarketValue( string ticker , DateTime dateTime );
+
+ /// <summary>
+ /// true iif the ticker was exchange at the given dateTime
+ /// </summary>
+ /// <param name="ticker"></param>
+ /// <param name="dateTime"></param>
+ /// <returns></returns>
+ bool WasExchanged( string ticker , DateTime dateTime );
}
}
|