Class YahooSession.Fetcher
java.lang.Object
org.ojalgo.data.domain.finance.series.YahooSession.Fetcher
- All Implemented Interfaces:
DataFetcher
- Enclosing class:
YahooSession
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CalendarDateUnit
private final ServiceClient.Session
private final String
-
Constructor Summary
ConstructorsConstructorDescriptionFetcher
(ServiceClient.Session session, String symbol, CalendarDateUnit resolution) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ojalgo.data.domain.finance.series.DataFetcher
getReader
-
Field Details
-
myResolution
-
mySession
-
mySymbol
-
-
Constructor Details
-
Fetcher
Fetcher(ServiceClient.Session session, String symbol, CalendarDateUnit resolution)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceDataFetcher
-
getResolution
- Specified by:
getResolution
in interfaceDataFetcher
- Returns:
- Typically DAY(ly), WEEK(ly) or MONTH(ly)
-
getSymbol
- Specified by:
getSymbol
in interfaceDataFetcher
- Returns:
- Data identifier
-