|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.app.quant.loader.yahoo.YahooDownload
public class YahooDownload
Download financial data from Yahoo.
| Field Summary | |
|---|---|
static String |
INDEX_DJIA
The Dow Jones Industrial Average. |
static String |
INDEX_NASDAQ
The NASDAQ. |
static String |
INDEX_SP500
The S&P 500. |
| Constructor Summary | |
|---|---|
YahooDownload()
Construct the object with default precision. |
|
| Method Summary | |
|---|---|
int |
getPrecision()
|
void |
loadAllData(String ticker,
File output,
CSVFormat outputFormat,
Date from,
Date to)
Load all data. |
void |
requestStop()
Request to stop. |
void |
setPercision(int thePrecision)
|
boolean |
shouldStop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INDEX_DJIA
public static final String INDEX_SP500
public static final String INDEX_NASDAQ
| Constructor Detail |
|---|
public YahooDownload()
| Method Detail |
|---|
public final int getPrecision()
public final void loadAllData(String ticker,
File output,
CSVFormat outputFormat,
Date from,
Date to)
ticker - The ticker.output - The output file.outputFormat - The format of the output file.from - Starting date.to - Ending date.public final void requestStop()
requestStop in interface QuantTaskpublic final void setPercision(int thePrecision)
thePrecision - the precision to setpublic final boolean shouldStop()
shouldStop in interface QuantTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||