|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfinance.eod.EODQuotes
public class EODQuotes
Constructor Summary | |
---|---|
EODQuotes()
|
|
EODQuotes(EODQuote[] e)
|
|
EODQuotes(java.lang.String[] s)
|
Method Summary | |
---|---|
void |
add(EODQuote vr)
|
double[] |
getClosePrices()
|
double |
getCoefficientOfVariation()
|
java.util.Date[] |
getDates()
|
double |
getEma(int period,
double sc)
|
static java.lang.String |
getFormat(double n)
|
EODQuote |
getHighestClosingPriceQuote()
Search the list of quotes and return the EODQuote with the highest closing price. |
EODQuote |
getHighestPriceQuote()
|
double[] |
getHighPrices()
|
EODQuote |
getLowestClosingPriceQuote()
Search the list of quotes and return the EODQuote with the lowest closing price. |
EODQuote |
getLowestPriceQuote()
|
double[] |
getLowPrices()
|
static EODQuote |
getNextDayQuote(java.lang.String symbol,
java.util.Date startDate)
Return the quote for the next valid trading day. |
double[] |
getOpenPrices()
|
EODQuote |
getQuote(java.util.Date date)
|
EODQuote |
getQuote(int i)
|
EODQuotes |
getQuotes(EODQuoteFilter qf)
|
EODQuote[] |
getRecords()
|
EODQuote[] |
getRecords(java.util.Date start,
java.util.Date end)
Get the records between start and end, exclusive |
double |
getRsi(int period)
|
int |
getSize()
|
double[] |
getSmaClose(int window)
|
static double[] |
getSmaWindow(double[] in,
int windowIncrement,
int windowSize)
|
double |
getStandardDeviation()
|
Trades |
getTrades(java.lang.String symbol,
int shares,
EODParmetricQuoteFilter buyFilter,
EODParmetricQuoteFilter sellFilter)
|
Trades |
getTrades(java.lang.String symbol,
int shares,
EODQuoteFilter buyFilter,
EODQuoteFilter sellFilter)
|
double[] |
getVolumes()
|
static void |
main(java.lang.String[] args)
|
void |
printSma(int period)
|
EODQuotes |
reverseRecords()
|
void |
sortByDateAscending()
Sorts from earliest date to latest date. |
void |
sortByDateDescending()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EODQuotes()
public EODQuotes(EODQuote[] e)
public EODQuotes(java.lang.String[] s) throws java.text.ParseException
java.text.ParseException
Method Detail |
---|
public int getSize()
public void add(EODQuote vr)
public EODQuotes reverseRecords()
public EODQuote[] getRecords()
public EODQuote[] getRecords(java.util.Date start, java.util.Date end)
start
- end
-
public EODQuote getQuote(int i)
public static EODQuote getNextDayQuote(java.lang.String symbol, java.util.Date startDate) throws java.text.ParseException, java.io.IOException
EODQuotes.getNextDayQuote(DateUtils.getDate("04/03/2007"));
startDate
-
java.text.ParseException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public double[] getSmaClose(int window)
public double getCoefficientOfVariation()
public static double[] getSmaWindow(double[] in, int windowIncrement, int windowSize)
public void printSma(int period)
public double getRsi(int period)
public double getEma(int period, double sc)
public java.util.Date[] getDates()
public double[] getClosePrices()
public EODQuote getLowestPriceQuote()
public EODQuote getHighestPriceQuote()
public EODQuotes getQuotes(EODQuoteFilter qf)
public Trades getTrades(java.lang.String symbol, int shares, EODQuoteFilter buyFilter, EODQuoteFilter sellFilter)
public Trades getTrades(java.lang.String symbol, int shares, EODParmetricQuoteFilter buyFilter, EODParmetricQuoteFilter sellFilter)
public EODQuote getLowestClosingPriceQuote()
public EODQuote getHighestClosingPriceQuote()
public double[] getLowPrices()
public double[] getHighPrices()
public double[] getVolumes()
public double[] getOpenPrices()
public static java.lang.String getFormat(double n)
public void sortByDateAscending()
public double getStandardDeviation()
public EODQuote getQuote(java.util.Date date)
public void sortByDateDescending()
public static void main(java.lang.String[] args) throws java.text.ParseException, java.io.IOException
java.text.ParseException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |