[Quantproject-developers] QuantProject/b3_Data DataProvider.cs,1.3,1.4
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-03-28 20:13:11
|
Update of /cvsroot/quantproject/QuantProject/b3_Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24948/b3_Data Modified Files: DataProvider.cs Log Message: The static method GetTickerQuotes has been added Index: DataProvider.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b3_Data/DataProvider.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DataProvider.cs 21 Mar 2004 16:13:58 -0000 1.3 --- DataProvider.cs 28 Mar 2004 20:01:45 -0000 1.4 *************** *** 23,29 **** --- 23,31 ---- using System; using System.Collections; + using System.Data; using QuantProject.ADT; using QuantProject.ADT.Histories; using QuantProject.DataAccess; + using QuantProject.DataAccess.Tables; namespace QuantProject.Data *************** *** 133,136 **** --- 135,148 ---- ).IndexOfKeyOrPrevious( extendedDateTime.DateTime ) ) ); } + + /// <summary> + /// returns the quotes DataTable for the given ticker + /// </summary> + /// <param name="instrumentKey">ticker whose quotes are to be returned</param> + /// <returns></returns> + public static DataTable GetTickerQuotes( string instrumentKey ) + { + return Quotes.GetTickerQuotes( instrumentKey ); + } } } |