@SuppressWarnings("deprecation")
	private void collectFeeds(long time) throws ParseException{
		/* aggregate data feeds into current */
		for(String type : type_names){
			Dictionary<String,Dictionary<String, String>> temp = //dict of Name->data 
					new Hashtable<String,Dictionary<String, String>>();
			for(String name : feed_names_per.get(type)){
				if(all_feeds.get(type).get(name).peekTime()<time){
					if(type.equalsIgnoreCase("PRICE")){
						ArrayList<Dictionary<String,String>> temp_arr = all_feeds.get(type).get(name).pop(time);
						temp.put(name, extractAllPrice(temp_arr));
					}
					//TODO add other types here
				}
			}
			//System.out.println("temp " + temp);
			current.put(type, temp);
			//System.out.println("current " + current);
		}

		
		/* add overnight rate at 5pm */
		Date date = new Date(time);
		if(date.getDay()!=Calendar.SATURDAY && date.getDay()!=Calendar.SUNDAY && date.getHours()==17 && date.getMinutes()==0){
			current.put("ONIR", interest_rates);
			System.out.println("Interest rates put");
		}
	}