|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.data.market.loader.LoadedMarketData
public class LoadedMarketData
This class contains market data that was loaded for a specific ticker symbol and a specific date. This data is usually loaded from external sources.
| Constructor Summary | |
|---|---|
LoadedMarketData(java.util.Date when,
TickerSymbol ticker)
Construct one sample of market data. |
|
| Method Summary | |
|---|---|
double |
getData(MarketDataType type)
Get one type of market data from this date. |
TickerSymbol |
getTicker()
|
java.util.Date |
getWhen()
|
void |
setData(MarketDataType type,
double data)
Set financial data for this date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadedMarketData(java.util.Date when,
TickerSymbol ticker)
when - When was this sample taken.ticker - What is the ticker symbol for this data.| Method Detail |
|---|
public double getData(MarketDataType type)
type - The type of data needed.
public TickerSymbol getTicker()
public java.util.Date getWhen()
public void setData(MarketDataType type,
double data)
type - The type of data being set.data - The value of the data being set.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||