finance.stocks
Class YahooEODQuotes
java.lang.Object
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 |
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 retrievestart
- the start date to retrieveend
- the end date to retrieve
- Returns:
- URL string