class YahooLookup implements LookupProvider {

	@Override
	public List<LookupInfo> search(String symbolOrName) throws IOException {
		YahooLookupModel result = rt.getForObject(format(url, symbolOrName), YahooLookupModel.class);

		return result.getItems().stream()
		.map(r -> new LookupInfo(r.getSymbol(), r.getName(), r.getExchDisp(), r.getTypeDisp(), getProviderCode()))
		.collect(Collectors.toList());
	}

}