[Quantproject-developers] QuantProject/b3_Data/DataTables Quotes.cs, 1.39, 1.40
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2011-01-16 18:28:26
|
Update of /cvsroot/quantproject/QuantProject/b3_Data/DataTables In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5482/DataTables Modified Files: Quotes.cs Log Message: Added GetDoubleArrayOfAdjustedCloseQuotes method Index: Quotes.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b3_Data/DataTables/Quotes.cs,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** Quotes.cs 29 Mar 2009 18:35:36 -0000 1.39 --- Quotes.cs 16 Jan 2011 18:28:18 -0000 1.40 *************** *** 671,674 **** --- 671,682 ---- return ExtendedDataTable.GetArrayOfFloatFromColumn(tickerQuotes,"quAdjustedClose"); } + public static double[] GetDoubleArrayOfAdjustedCloseQuotes(string ticker, + DateTime firstQuoteDate, + DateTime lastQuoteDate) + { + Quotes tickerQuotes = new Quotes(ticker, firstQuoteDate, lastQuoteDate); + return ExtendedDataTable.GetArrayOfDoubleFromColumn(tickerQuotes,"quAdjustedClose"); + } + #region GetAdjustedCloseHistory private static History getAdjustedCloseHistory( Quotes tickerQuotes ) |