ContractBean contract = new ContractBean();
contract.setSymbol(ticker);
contract.setExchange(extractExchange(security));
contract.setSecurityType(decodeSecurityType(extractSecurityType(security)));
contract.setCurrency(stockCurrency);
ContractDescBean description = new ContractDescBean();
description.setLongName(extractDescription(security));
description.setTimeZone(YAHOO_FINANCE_TIMEZONE);
contract.setContractDescription(description);
contract.setBrokerID(YAHOO_BROKER_ID);
contractList.add(contract);
}
return contractList;