|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.quote.InsightTraderQuoteFilter
public class InsightTraderQuoteFilter
Provides a filter to parse the Insight Trader quote format. This format uses 2 digit years and prices in cents, volume is divided by 100. The first column is the symbol, then the date, open, high, low, close & volume. Exampe:
XXX 07/15/99 173 182 171 181 36489
| Constructor Summary | |
|---|---|
InsightTraderQuoteFilter()
Creates an instance of the filter. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Return the name of the filter. |
EODQuote |
toEODQuote(java.lang.String quoteLine)
Parse the given text string and returns the stock quote or null if it did not contain a valid quote. |
java.lang.String |
toString(EODQuote quote)
Convert the given stock quote to a string line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InsightTraderQuoteFilter()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface EODQuoteFilter
public EODQuote toEODQuote(java.lang.String quoteLine)
throws QuoteFormatException
toEODQuote in interface EODQuoteFilterquoteLine - a single line of text containing a quote
QuoteFormatException - if the quote could not be parsedpublic java.lang.String toString(EODQuote quote)
toString in interface EODQuoteFilterquote - a stock quote
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||