org.encog.ml.data.market.loader
Class YahooFinanceLoader

java.lang.Object
  extended by 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

Constructor Summary
YahooFinanceLoader()
           
 
Method Summary
 Collection<LoadedMarketData> load(TickerSymbol ticker, Set<MarketDataType> dataNeeded, Date from, Date to)
          Load the specified financial data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YahooFinanceLoader

public YahooFinanceLoader()
Method Detail

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.