Constructor and Description |
---|
YahooFinanceStream(boolean expand,
String... tickers)
The tickers you want
|
YahooFinanceStream(String... tickers)
The tickers you want
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
static void |
main(String[] args) |
Map<String,Double> |
next() |
static List<Map<String,String>> |
querySymbols(String query)
Access to the Yahoo! stock symbol suggestion API.
|
filter, forEach, forEach, forEach, iterator, map, map, parallelForEach, parallelForEach, remove, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public YahooFinanceStream(boolean expand, String... tickers) throws MalformedURLException, IOException
expand
- whether an attempt should be made to expand the tickers using #querySymbolstickers
- IOException
MalformedURLException
public YahooFinanceStream(String... tickers) throws MalformedURLException, IOException
tickers
- IOException
MalformedURLException
public boolean hasNext()
public static List<Map<String,String>> querySymbols(String query) throws IOException
query
- IOException
public static void main(String[] args) throws IOException
args
- IOException