Venice 0.7beta

org.mov.quote
Class YahooEODQuoteImport

java.lang.Object
  extended by org.mov.quote.YahooEODQuoteImport

public class YahooEODQuoteImport
extends java.lang.Object

Import end-of-day quotes from Yahoo into Venice.

Author:
Andrew Leppard
See Also:
FileEODQuoteImport, ImportQuoteModule

Method Summary
static java.util.List importSymbol(Report report, Symbol symbol, TradingDate startDate, TradingDate endDate)
          Retrieve quotes from Yahoo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

importSymbol

public static java.util.List importSymbol(Report report,
                                          Symbol symbol,
                                          TradingDate startDate,
                                          TradingDate endDate)
                                   throws ImportExportException
Retrieve quotes from Yahoo. Will fire multiple request if the specified period is above the maximum number of quotes yahoo supports.

Parameters:
report - report to log warnings and errors
symbol - symbol to import
startDate - start of date range to import
endDate - end of date range to import
Returns:
list of quotes
Throws:
ImportExportException - if there was an error retrieving the quotes

Venice 0.7beta