finance.stocks
Class YahooEODQuotes

java.lang.Object
  extended by finance.stocks.YahooEODQuotes

public class YahooEODQuotes
extends java.lang.Object


Method Summary
static java.lang.String constructURL(java.lang.String symbol, java.util.Calendar start, java.util.Calendar end)
          Construct the URL necessary to retrieve all the quotes for the given symbol between the given dates from Yahoo.
static java.lang.String[] getEodCSVData(java.lang.String symbol, java.util.GregorianCalendar gc2, java.util.GregorianCalendar gc)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.text.ParseException
Throws:
java.text.ParseException

getEodCSVData

public static java.lang.String[] getEodCSVData(java.lang.String symbol,
                                               java.util.GregorianCalendar gc2,
                                               java.util.GregorianCalendar gc)

constructURL

public static java.lang.String constructURL(java.lang.String symbol,
                                            java.util.Calendar start,
                                            java.util.Calendar end)
Construct the URL necessary to retrieve all the quotes for the given symbol between the given dates from Yahoo.

Parameters:
symbol - the symbol to retrieve
start - the start date to retrieve
end - the end date to retrieve
Returns:
URL string