@Deprecated public class YahooDownload extends java.lang.Object implements MarketLoader, QuantTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INDEX_DJIA
Deprecated.
The Dow Jones Industrial Average.
|
static java.lang.String |
INDEX_NASDAQ
Deprecated.
The NASDAQ.
|
static java.lang.String |
INDEX_SP500
Deprecated.
The S&P 500.
|
| Constructor and Description |
|---|
YahooDownload()
Deprecated.
Construct the object with default precision.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecision()
Deprecated.
|
void |
loadAllData(java.lang.String ticker,
java.io.File output,
CSVFormat outputFormat,
java.util.Date from,
java.util.Date to)
Deprecated.
Load all data.
|
void |
requestStop()
Deprecated.
Request to stop.
|
void |
setPercision(int thePrecision)
Deprecated.
|
boolean |
shouldStop()
Deprecated.
|
public static final java.lang.String INDEX_DJIA
public static final java.lang.String INDEX_SP500
public static final java.lang.String INDEX_NASDAQ
public YahooDownload()
public final int getPrecision()
public final void loadAllData(java.lang.String ticker,
java.io.File output,
CSVFormat outputFormat,
java.util.Date from,
java.util.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