[Quantproject-developers] QuantProject/b4_Business/a07_DataProviders HistoricalBarProvider.cs, 1.2,
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-11-20 20:49:02
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a07_DataProviders In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31544/b4_Business/a07_DataProviders Modified Files: HistoricalBarProvider.cs Log Message: - marked as Serializable - it now implements the method public bool WasExchanged(string ticker, DateTime dateTime) Index: HistoricalBarProvider.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a07_DataProviders/HistoricalBarProvider.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** HistoricalBarProvider.cs 18 Nov 2008 23:01:28 -0000 1.2 --- HistoricalBarProvider.cs 20 Nov 2008 20:48:50 -0000 1.3 *************** *** 31,34 **** --- 31,35 ---- /// Returns historical bars /// </summary> + [Serializable] public class HistoricalBarProvider : HistoricalMarketValueProvider { *************** *** 65,68 **** --- 66,76 ---- return "barProvider"; } + + public override bool WasExchanged(string ticker, DateTime dateTime) + { + bool wasExchanged = + this.historicalBarProvider.WasExchanged( ticker , dateTime ); + return wasExchanged; + } } } |