[Quantproject-developers] QuantProject/b3_Data/DataTables Quotes.cs,1.16,1.17
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-06-24 22:40:44
|
Update of /cvsroot/quantproject/QuantProject/b3_Data/DataTables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10881/b3_Data/DataTables Modified Files: Quotes.cs Log Message: Fixed bug in GetTickersByOpenCloseCorrelationToBenchmark method in Quotes class (for Data.dll) Index: Quotes.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b3_Data/DataTables/Quotes.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Quotes.cs 17 May 2005 23:06:00 -0000 1.16 --- Quotes.cs 24 Jun 2005 22:40:34 -0000 1.17 *************** *** 413,417 **** BasicFunctions.PearsonCorrelationCoefficient(benchmarkRatios, tickerRatios); } ! DataTable tableToReturn = ExtendedDataTable.CopyAndSort(setOfTickers,"OpenCloseCorrelationToBenchmark", orderByASC); ExtendedDataTable.DeleteRows(tableToReturn, maxNumOfReturnedTickers); return tableToReturn; --- 413,420 ---- BasicFunctions.PearsonCorrelationCoefficient(benchmarkRatios, tickerRatios); } ! DataTable tableToReturn = ExtendedDataTable.CopyAndSort(setOfTickers, ! "OpenCloseCorrelationToBenchmark > 0", ! "OpenCloseCorrelationToBenchmark", ! orderByASC); ExtendedDataTable.DeleteRows(tableToReturn, maxNumOfReturnedTickers); return tableToReturn; |