org.encog.ml.data.market.loader
Class YahooFinanceLoader
java.lang.Object
org.encog.ml.data.market.loader.YahooFinanceLoader
- All Implemented Interfaces:
- MarketLoader
public class YahooFinanceLoader
- extends Object
- implements MarketLoader
This class loads financial data from Yahoo. One caution on Yahoo data.
- Author:
- jheaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YahooFinanceLoader
public YahooFinanceLoader()
load
public Collection<LoadedMarketData> load(TickerSymbol ticker,
Set<MarketDataType> dataNeeded,
Date from,
Date to)
- Load the specified financial data.
- Specified by:
load in interface MarketLoader
- Parameters:
ticker - The ticker symbol to load.dataNeeded - The financial data needed.from - The beginning date to load data from.to - The ending date to load data to.
- Returns:
- A collection of LoadedMarketData objects that represent the data
loaded.
Copyright © 2014. All Rights Reserved.