public abstract class DataSource<DP extends DatePrice> extends Object implements BasicParser<DP>
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG |
Modifier | Constructor and Description |
---|---|
protected |
DataSource(String symbol,
CalendarDateUnit resolution) |
Modifier and Type | Method and Description |
---|---|
protected String |
addQueryParameter(String key,
String value) |
boolean |
equals(Object obj) |
List<DP> |
getHistoricalPrices() |
List<DP> |
getHistoricalPrices(Reader reader) |
CalendarDateSeries<Double> |
getPriceSeries() |
CalendarDateSeries<Double> |
getPriceSeries(Reader reader) |
CalendarDateUnit |
getResolution() |
String |
getSymbol() |
TypeCache<? extends List<DP>> |
getSymbolCache(long purgeIntervalMeassure,
CalendarDateUnit purgeIntervalUnit) |
int |
hashCode() |
protected void |
setHost(String host) |
protected void |
setPath(String path) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
parse, parse, parse
protected static final boolean DEBUG
protected DataSource(String symbol, CalendarDateUnit resolution)
public CalendarDateSeries<Double> getPriceSeries()
public CalendarDateSeries<Double> getPriceSeries(Reader reader)
public CalendarDateUnit getResolution()
public String getSymbol()
public TypeCache<? extends List<DP>> getSymbolCache(long purgeIntervalMeassure, CalendarDateUnit purgeIntervalUnit)
protected void setHost(String host)
protected void setPath(String path)
Copyright © 2017 Optimatika. All rights reserved.